Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1189)

Unified Diff: build/android/pylib/device/device_utils.py

Issue 1211323004: [Telemetry] Remove adb_commands usage from android_device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/platform/android_device.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device/device_utils.py
diff --git a/build/android/pylib/device/device_utils.py b/build/android/pylib/device/device_utils.py
index 3a6563e8442e7783751d3f52f6a2cdd19661afe5..bf7bc5a70ac7c25abaf0043df0838707b21f3583 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -1744,3 +1744,7 @@ class DeviceUtils(object):
return [cls(adb) for adb in adb_wrapper.AdbWrapper.Devices()
if not blacklisted(adb)]
+
+ @classmethod
+ def GetAttachedDevices(cls):
jbudorick 2015/06/29 17:56:23 I would prefer to not add this here. Generally, cl
nednguyen 2015/06/29 17:59:12 Ok. But I am curious about this black listing stra
jbudorick 2015/06/29 18:03:45 ...? We don't have a hard-coded list of device ID
nednguyen 2015/06/29 18:14:54 By hard coded, I mean the path to json file bad_de
jbudorick 2015/06/29 18:27:44 Oh, yeah. That part is hard-coded, but I don't thi
nednguyen 2015/06/29 18:42:05 Done.
+ return [cls(adb) for adb in adb_wrapper.AdbWrapper.Devices()]
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/platform/android_device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698