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

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

Issue 643973002: Add multi-architecture support in telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add full multi-arch support. Created 6 years, 2 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 fccdd619d02322e10763424405f78aa477e82c6a..5a27e8ba0cbe57f9d19c411a8c888170be4a8752 100644
--- a/build/android/pylib/device/device_utils.py
+++ b/build/android/pylib/device/device_utils.py
@@ -733,6 +733,11 @@ class DeviceUtils(object):
"""
self.old_interface.system_properties[property_name] = value
+ def GetABI(self):
+ """Gets the device main ABI.
+ """
+ return self.GetProp('ro.product.cpu.abi')
pasko 2014/10/14 14:15:42 sounds good enough for now :)
+
@decorators.WithTimeoutAndRetriesFromInstance()
def GetPids(self, process_name, timeout=None, retries=None):
"""Returns the PIDs of processes with the given name.
@@ -869,4 +874,3 @@ class DeviceUtils(object):
return parallelizer_type([
d if isinstance(d, DeviceUtils) else DeviceUtils(d)
for d in devices])
-

Powered by Google App Engine
This is Rietveld 408576698