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

Unified Diff: tools/telemetry/telemetry/internal/app/android_app.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/internal/app/android_app.py
diff --git a/tools/telemetry/telemetry/internal/app/android_app.py b/tools/telemetry/telemetry/internal/app/android_app.py
deleted file mode 100644
index 0cee256fff90ee5314ed74929c2549b91b2b403f..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/app/android_app.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from telemetry.internal import app
-
-
-class AndroidApp(app.App):
- """A running android app instance that can be controlled in a limited way.
-
- Be sure to clean up after yourself by calling Close() when you are done with
- the app. Or better yet:
- with possible_android_app.Create(options) as android_app:
- ... do all your operations on android_app here
- """
- def __init__(self, app_backend, platform_backend):
- super(AndroidApp, self).__init__(app_backend=app_backend,
- platform_backend=platform_backend)
- self._app_backend.Start()
-
- @property
- def ui(self):
- """Returns an AppUi object to interact with the app's UI.
-
- See devil.android.app_ui for the documentation of the API provided.
- """
- return self._app_backend.GetAppUi()
-
- def Close(self):
- self._app_backend.Close()
-
- def GetProcesses(self):
- """Returns the current set of processes belonging to this app."""
- return self._app_backend.GetProcesses()
-
- def GetProcess(self, subprocess_name):
- """Returns the process with the specified subprocess name."""
- return self._app_backend.GetProcess(subprocess_name)
-
- def GetWebViews(self):
- """Returns the set of all WebViews belonging to all processes of the app."""
- return self._app_backend.GetWebViews()
« no previous file with comments | « tools/telemetry/telemetry/internal/app/__init__.py ('k') | tools/telemetry/telemetry/internal/app/android_app_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698