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

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: Missed a file 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
« no previous file with comments | « no previous file | tools/profile_chrome/perf_controller.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 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):
jbudorick 2014/10/14 14:51:52 Public functions in DeviceUtils should expose time
Fabrice (no longer in Chrome) 2014/10/14 16:26:03 Done.
+ """Gets the device main ABI.
+ """
jbudorick 2014/10/14 14:51:52 nit: document Returns: & Raises: (should be the sa
Fabrice (no longer in Chrome) 2014/10/14 16:26:03 Done.
+ return self.GetProp('ro.product.cpu.abi')
+
@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])
-
« no previous file with comments | « no previous file | tools/profile_chrome/perf_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698