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

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

Issue 25727009: Revert 226762 "Android perf tests: kill adbd on the device after..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | trunk/src/build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/build/android/pylib/android_commands.py
===================================================================
--- trunk/src/build/android/pylib/android_commands.py (revision 226979)
+++ trunk/src/build/android/pylib/android_commands.py (working copy)
@@ -459,14 +459,6 @@
if out.strip() != 'remount succeeded':
raise errors.MsgException('Remount failed: %s' % out)
- def KillAdbdDevice(self):
- logging.info('Killing adbd on the device...')
- adb_pids = self.ExtractPid('adbd')
- if adb_pids:
- self.RunShellCommandWithSU('kill %s' % ' '.join(adb_pids))
- logging.info('Waiting for device to settle...')
- time.sleep(5)
-
def RestartAdbServer(self):
"""Restart the adb server."""
ret = self.KillAdbServer()
« no previous file with comments | « no previous file | trunk/src/build/android/pylib/perf/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698