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

Unified Diff: tools/telemetry/telemetry/core/chrome/android_platform_backend.py

Issue 12432006: [telemetry] Fix Android surface statistics collector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a typo while we're at it. Created 7 years, 9 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 | « tools/telemetry/telemetry/core/chrome/android_browser_finder.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 20ede1463d078ce166f8463e096beff2cfdd28fc..01e78b565103c94db07555e6da8df652813e0b02 100644
--- a/tools/telemetry/telemetry/core/chrome/android_platform_backend.py
+++ b/tools/telemetry/telemetry/core/chrome/android_platform_backend.py
@@ -24,11 +24,9 @@ except Exception:
class AndroidPlatformBackend(platform_backend.PlatformBackend):
- def __init__(self, adb, window_package, window_activity, no_performance_mode):
+ def __init__(self, adb, no_performance_mode):
super(AndroidPlatformBackend, self).__init__()
self._adb = adb
- self._window_package = window_package
- self._window_activity = window_activity
self._surface_stats_collector = None
self._perf_tests_setup = perf_tests_helper.PerfTestSetup(self._adb)
self._thermal_throttle = thermal_throttle.ThermalThrottle(self._adb)
@@ -42,8 +40,7 @@ class AndroidPlatformBackend(platform_backend.PlatformBackend):
def StartRawDisplayFrameRateMeasurement(self, trace_tag):
assert not self._surface_stats_collector
self._surface_stats_collector = \
- surface_stats_collector.SurfaceStatsCollector(
- self._adb, self._window_package, self._window_activity, trace_tag)
+ surface_stats_collector.SurfaceStatsCollector(self._adb, trace_tag)
self._surface_stats_collector.__enter__()
def StopRawDisplayFrameRateMeasurement(self):
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/android_browser_finder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698