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

Unified Diff: build/android/surface_stats.py

Issue 221823011: [Android] Change object types from AndroidCommands to DeviceUtils in build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « build/android/screenshot.py ('k') | build/android/tombstones.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/surface_stats.py
diff --git a/build/android/surface_stats.py b/build/android/surface_stats.py
index 1fe121e368d7ccd880cd456579b599270cb1f70e..74bfdcee4934ab3a4e76e1273c8aa8ef59ec8bb8 100755
--- a/build/android/surface_stats.py
+++ b/build/android/surface_stats.py
@@ -13,7 +13,7 @@ import optparse
import sys
import time
-from pylib import android_commands
+from pylib.device import device_utils
from pylib.perf import surface_stats_collector
from pylib.utils import run_tests_helper
@@ -98,8 +98,8 @@ def main(argv):
options, _ = parser.parse_args(argv)
run_tests_helper.SetLogLevel(options.verbose_count)
- adb = android_commands.AndroidCommands(options.device)
- collector = surface_stats_collector.SurfaceStatsCollector(adb)
+ device = device_utils.DeviceUtils(options.device)
+ collector = surface_stats_collector.SurfaceStatsCollector(device)
collector.DisableWarningAboutEmptyData()
fields = options.fields.split(',')
« no previous file with comments | « build/android/screenshot.py ('k') | build/android/tombstones.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698