Index: build/android/pylib/remote/device/remote_device_environment.py |
diff --git a/build/android/pylib/remote/device/remote_device_environment.py b/build/android/pylib/remote/device/remote_device_environment.py |
index 3b0c029c089e761896584322eefbfd0f4d8164f9..8875096c13633e46bac7d36e74b764d948447e3f 100644 |
--- a/build/android/pylib/remote/device/remote_device_environment.py |
+++ b/build/android/pylib/remote/device/remote_device_environment.py |
@@ -286,12 +286,22 @@ class RemoteDeviceEnvironment(environment.Environment): |
return 0 |
logging.critical('Available %s Devices:', self._device_type) |
- logging.critical(' %s %s %s', 'OS'.ljust(7), |
- 'Device Name'.ljust(20), '# Available') |
+ logging.critical( |
+ ' %s %s %s %s %s', |
+ 'OS'.ljust(10), |
+ 'Device Name'.ljust(30), |
+ 'Available'.ljust(10), |
+ 'Busy'.ljust(10), |
+ 'All'.ljust(10)) |
devices = (d for d in device_list if d['os_name'] == self._device_type) |
for d in sorted(devices, compare_devices): |
- logging.critical(' %s %s %s', d['os_version'].ljust(7), |
- d['name'].ljust(20), d['available_devices_count']) |
+ logging.critical( |
+ ' %s %s %s %s %s', |
+ d['os_version'].ljust(10), |
+ d['name'].ljust(30), |
+ str(d['available_devices_count']).ljust(10), |
+ str(d['busy_devices_count']).ljust(10), |
+ str(d['all_devices_count']).ljust(10)) |
def _GetDeviceList(self): |
with appurify_sanitized.SanitizeLogging(self._verbose_count, |