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

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

Issue 1291793007: GN(android): Add scripts & runtime logic for installing _managed apks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-managed-install
Patch Set: review comments Created 5 years, 4 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
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 976399cfa35fa1222f4243b0076870b5ffc4585a..235245ddd33e0e581784e629a4ad2a2f2dd96fc5 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -1869,7 +1869,7 @@ class DeviceUtils(object):
return parallelizer.SyncParallelizer(devices)
@classmethod
- def HealthyDevices(cls):
+ def HealthyDevices(cls, **kwargs):
blacklist = device_blacklist.ReadBlacklist()
def blacklisted(adb):
if adb.GetDeviceSerial() in blacklist:
@@ -1877,7 +1877,7 @@ class DeviceUtils(object):
return True
return False
- return [cls(adb) for adb in adb_wrapper.AdbWrapper.Devices()
+ return [cls(adb, **kwargs) for adb in adb_wrapper.AdbWrapper.Devices()
if not blacklisted(adb)]
@decorators.WithTimeoutAndRetriesFromInstance()

Powered by Google App Engine
This is Rietveld 408576698