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

Unified Diff: tools/cygprofile/profile_android_startup.py

Issue 1132993004: [Android] Remove more references to and uses of AndroidCommands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « tools/android/mempressure.py ('k') | tools/profile_chrome/controllers_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cygprofile/profile_android_startup.py
diff --git a/tools/cygprofile/profile_android_startup.py b/tools/cygprofile/profile_android_startup.py
index 9287cea89c8322532218c794840f938d1013732b..79f54615e31e39e5fcd3392d23d7f1a3f6faeb9b 100644
--- a/tools/cygprofile/profile_android_startup.py
+++ b/tools/cygprofile/profile_android_startup.py
@@ -18,7 +18,6 @@ import tempfile
import time
sys.path.append(os.path.join(sys.path[0], '..', '..', 'build', 'android'))
-from pylib import android_commands
from pylib import constants
from pylib import flag_changer
from pylib import forwarder
@@ -201,8 +200,8 @@ class AndroidProfileTool(object):
def __init__(self, output_directory):
- devices = android_commands.GetAttachedDevices()
- self._device = device_utils.DeviceUtils(devices[0])
+ devices = device_utils.DeviceUtils.HealthyDevices()
+ self._device = devices[0]
self._cygprofile_tests = os.path.join(
output_directory, 'cygprofile_unittests')
self._host_cyglog_dir = os.path.join(
« no previous file with comments | « tools/android/mempressure.py ('k') | tools/profile_chrome/controllers_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698