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

Unified Diff: tools/telemetry/telemetry/core/android_app.py

Issue 776883004: Basic android app implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More review comments. Created 6 years 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 | « no previous file | tools/telemetry/telemetry/core/backends/android_app_backend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/android_app.py
diff --git a/tools/telemetry/telemetry/core/android_app.py b/tools/telemetry/telemetry/core/android_app.py
index b4d6a27656e3550dccd40133c032d981e3874c0a..eb00fdd6c57e937125f6e4605dd0c2b5dcd675fe 100644
--- a/tools/telemetry/telemetry/core/android_app.py
+++ b/tools/telemetry/telemetry/core/android_app.py
@@ -13,8 +13,10 @@ class AndroidApp(app.App):
with possible_android_app.Create(options) as android_app:
... do all your operations on android_app here
"""
- def __init__(self, backend, platform_backend):
- super(AndroidApp, self).__init__(app_backend=backend,
+ def __init__(self, app_backend, platform_backend):
+ super(AndroidApp, self).__init__(app_backend=app_backend,
platform_backend=platform_backend)
+ self._app_backend.Start()
+
def Close(self):
- raise NotImplementedError()
+ self._app_backend.Close()
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/android_app_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698