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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.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: tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py
index 995401dd7d8d3c9ba6badbbbd55e10049aba3b4e..95794c511661c8337c411bf1a1cd896976bd4612 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py
@@ -61,6 +61,5 @@ class AndroidTraceviewProfiler(profiler.Profiler):
return output_files
def _FileSize(self, file_name):
- f = self._browser_backend.adb.device().old_interface.ListPathContents(
- file_name)
+ f = self._browser_backend.adb.device().Ls(file_name)
return f.get(os.path.basename(file_name), (0, ))[0]

Powered by Google App Engine
This is Rietveld 408576698