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

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

Issue 510943002: [Telemetry] Implement CanLaunchApplication and InstallApplication for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@platform
Patch Set: Fix unittest Created 6 years, 4 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
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9cc9d25282dc7d77af0a5201b08cb7235c687fe0..5c722bd39761d84950119502fcd13fea52cf1c57 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -70,22 +70,6 @@ class AdbCommands(object):
'forward %s %s' % (local, remote))
assert ret == ''
- def Install(self, apk_path):
- """Installs specified package if necessary.
-
- Args:
- apk_path: Path to .apk file to install.
- """
-
- if (os.path.exists(os.path.join(
- constants.GetOutDirectory('Release'), 'md5sum_bin_host'))):
- constants.SetBuildType('Release')
- elif (os.path.exists(os.path.join(
- constants.GetOutDirectory('Debug'), 'md5sum_bin_host'))):
- constants.SetBuildType('Debug')
-
- self._device.Install(apk_path)
-
def IsUserBuild(self):
return self._device.GetProp('ro.build.type') == 'user'
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698