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

Unified Diff: build/android/pylib/perf/perf_control.py

Issue 371813005: [Android] Switch to DeviceUtils versions of Ls, SetJavaAsserts, GetProp, and SetProp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/perf/perf_control.py
diff --git a/build/android/pylib/perf/perf_control.py b/build/android/pylib/perf/perf_control.py
index 03c20bdc696dc06addaf268f520e20347eafa64d..73cb2aa320aa84c4577a3ffc53d7e35d21a640bc 100644
--- a/build/android/pylib/perf/perf_control.py
+++ b/build/android/pylib/perf/perf_control.py
@@ -46,7 +46,7 @@ class PerfControl(object):
def SetDefaultPerfMode(self):
"""Sets the performance mode for the device to its default mode."""
- product_model = self._device.old_interface.GetProductModel()
+ product_model = self._device.GetProp('ro.product.model')
governor_mode = {
'GT-I9300': 'pegasusq',
'Galaxy Nexus': 'interactive',
« no previous file with comments | « build/android/pylib/instrumentation/test_runner.py ('k') | tools/android/adb_profile_chrome/chrome_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698