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

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

Issue 292313015: [Android] Switch to DeviceUtils versions of Reboot and Install. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 6 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 | « build/android/update_verification.py ('k') | no next file » | 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 1790b8f85c710292fae209a975658e4e5a56daea..ffa307ef35f6741386d1e69ac2a5e1d97e3d87d2 100644
--- a/tools/telemetry/telemetry/core/backends/adb_commands.py
+++ b/tools/telemetry/telemetry/core/backends/adb_commands.py
@@ -26,7 +26,6 @@ try:
except Exception:
ports = None
from pylib.device import device_utils # pylint: disable=F0401
-from pylib.utils import apk_helper # pylint: disable=F0401
def IsAndroidSupported():
@@ -85,9 +84,7 @@ class AdbCommands(object):
constants.GetOutDirectory('Debug'), 'md5sum_bin_host'))):
constants.SetBuildType('Debug')
- apk_package_name = apk_helper.GetPackageName(apk_path)
- return self._device.old_interface.ManagedInstall(
- apk_path, package_name=apk_package_name)
+ self._device.Install(apk_path)
def IsUserBuild(self):
return self._device.old_interface.GetBuildType() == 'user'
« no previous file with comments | « build/android/update_verification.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698