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

Unified Diff: build/android/pylib/android_commands.py

Issue 62953024: [Telemetry] Refactor common Android cleanup functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + deflake RestartAdbdOnDevice 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
« no previous file with comments | « no previous file | build/android/pylib/perf/setup.py » ('j') | build/android/pylib/perf/setup.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/android_commands.py
diff --git a/build/android/pylib/android_commands.py b/build/android/pylib/android_commands.py
index 6f9b99cc2405f9eab6760fe5d71d4fa5c5a9196c..75940800d49ddcefa042a4fbd05243ae504c5e75 100644
--- a/build/android/pylib/android_commands.py
+++ b/build/android/pylib/android_commands.py
@@ -465,6 +465,7 @@ class AndroidCommands(object):
def RestartAdbdOnDevice(self):
logging.info('Killing adbd on the device...')
+ self._adb.SendCommand('wait-for-device')
tonyg 2013/11/25 15:46:33 While I love the fix, it seems misplaced to me. T
Primiano Tucci (use gerrit) 2013/11/25 17:26:51 Right, I should have added more context, my bad. T
bulach 2013/11/27 12:10:53 I agree this is misplaced and StartAdbServer's pgr
Primiano Tucci (use gerrit) 2013/11/27 15:14:41 Oh right, I got lost in the many layers. makes per
adb_pids = self.KillAll('adbd', signal=signal.SIGTERM, with_su=True)
assert adb_pids, 'Unable to obtain adbd pid'
logging.info('Waiting for device to settle...')
« no previous file with comments | « no previous file | build/android/pylib/perf/setup.py » ('j') | build/android/pylib/perf/setup.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698