DescriptionAdd option to output device status data in format for dashboard and cleanup.
Adds an option to print the device status information (i.e. online devices, offline devices and device battery levels). Example output:
<*>RESULT OnlineDevices: OnlineDevices= 2
RESULT OfflineDevices: OfflineDevice= 0
RESULT DeviceBattery: 0149CC380F016011= 99
RESULT DeviceBattery: 014E378305007013= 60
Cleanup uses AndroidCommands for calling adb shell commands rather than its own GetCmdOutput function.
BUG=254014
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212052
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressed frankf's reviews. #
Total comments: 7
Patch Set 3 : Added Shutdown to android_commands.py #Patch Set 4 : Added functions for querying device info to android_commands.py #
Total comments: 5
Patch Set 5 : Moved setup wizard status to android_commands.py. #Patch Set 6 : Fixed nit. #Patch Set 7 : Make dashboard printing block optional part of device_status_check step. #Messages
Total messages: 12 (0 generated)
|