Index: tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
diff --git a/tools/telemetry/telemetry/core/chrome/android_platform_backend.py b/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
index 549b47622f0aba88475ac431a37553b220b66aed..83d45db49031d5e209e4eefe6b1f647ec3ba6d67 100644 |
--- a/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
+++ b/tools/telemetry/telemetry/core/chrome/android_platform_backend.py |
@@ -29,7 +29,7 @@ class AndroidPlatformBackend(platform_backend.PlatformBackend): |
super(AndroidPlatformBackend, self).__init__() |
self._adb = adb |
self._surface_stats_collector = None |
- self._perf_tests_setup = perf_tests_helper.PerfTestSetup(self._adb) |
+ self._perf_tests_setup = perf_tests_helper.PerfControl(self._adb) |
self._thermal_throttle = thermal_throttle.ThermalThrottle(self._adb) |
self._no_performance_mode = no_performance_mode |
self._raw_display_frame_rate_measurements = [] |
@@ -63,9 +63,9 @@ class AndroidPlatformBackend(platform_backend.PlatformBackend): |
if self._no_performance_mode: |
return |
if enabled: |
- self._perf_tests_setup.SetUp() |
+ self._perf_tests_setup.SetHighPerfMode() |
else: |
- self._perf_tests_setup.TearDown() |
+ self._perf_tests_setup.SetDefaultPerfMode() |
def CanMonitorThermalThrottling(self): |
return True |