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

Unified Diff: tools/telemetry/telemetry/core/backends/adb_commands.py

Issue 94683002: [Telemetry] Refactor common Android test harness functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 1 month 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/backends/adb_commands.py
diff --git a/tools/telemetry/telemetry/core/backends/adb_commands.py b/tools/telemetry/telemetry/core/backends/adb_commands.py
index 4dc52abf161b432d407b447e9c47dda50e0db6af..9d067cafef786d6ed56802813966af7c56c53e1f 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -23,7 +23,8 @@ try:
from pylib import constants # pylint: disable=F0401
from pylib import forwarder # pylint: disable=F0401
from pylib import ports # pylint: disable=F0401
- from pylib.utils import apk_helper # #pylint: disable=F0401
+ from pylib.utils import apk_helper # pylint: disable=F0401
+ from pylib.utils import test_environment # pylint: disable=F0401
except Exception:
android_commands = None
@@ -40,6 +41,10 @@ def GetAttachedDevices():
return android_commands.GetAttachedDevices()
+def CleanupLeftoverProcesses():
+ test_environment.CleanupLeftoverProcesses()
+
+
def AllocateTestServerPort():
return ports.AllocateTestServerPort()

Powered by Google App Engine
This is Rietveld 408576698