| Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py
|
| ===================================================================
|
| --- tools/telemetry/telemetry/core/platform/android_platform_backend.py (revision 222891)
|
| +++ tools/telemetry/telemetry/core/platform/android_platform_backend.py (working copy)
|
| @@ -11,7 +11,8 @@
|
|
|
| # Get build/android scripts into our path.
|
| util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'android')
|
| -from pylib import perf_tests_helper # pylint: disable=F0401
|
| +util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'build', 'util', 'lib')
|
| +from common import perf_tests_results_helper # pylint: disable=F0401
|
| from pylib import thermal_throttle # pylint: disable=F0401
|
|
|
| try:
|
| @@ -25,7 +26,7 @@
|
| super(AndroidPlatformBackend, self).__init__()
|
| self._adb = adb
|
| self._surface_stats_collector = None
|
| - self._perf_tests_setup = perf_tests_helper.PerfControl(self._adb)
|
| + self._perf_tests_setup = perf_tests_results_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 = []
|
| @@ -139,7 +140,7 @@
|
| return False
|
|
|
| def FlushEntireSystemCache(self):
|
| - cache_control = perf_tests_helper.CacheControl(self._adb)
|
| + cache_control = perf_tests_results_helper.CacheControl(self._adb)
|
| cache_control.DropRamCaches()
|
|
|
| def FlushSystemCacheForDirectory(self, directory, ignoring=None):
|
|
|