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

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

Issue 386053002: [Android] Switch to DeviceUtils versions of GetPid, TakeScreenshot, and GetIoStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again 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/android_platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
index 01b293077df2496c3255049eaa6cc843c03ef5de..0537b4287a51b252b6ee6659bb3815803bcc1f7a 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py
@@ -200,7 +200,7 @@ class AndroidPlatformBackend(
def IsApplicationRunning(self, application):
if application in _HOST_APPLICATIONS:
return platform.GetHostPlatform().IsApplicationRunning(application)
- return len(self._device.old_interface.ExtractPid(application)) > 0
+ return len(self._device.GetPids(application)) > 0
def CanLaunchApplication(self, application):
if application in _HOST_APPLICATIONS:
« no previous file with comments | « tools/android/adb_profile_chrome/perf_controller.py ('k') | tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698