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

Side by Side Diff: mojo/devtools/common/pylib/android.py

Issue 1100903003: Move android.py to devtools. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « mojo/devtools/common/pylib/__init__.py ('k') | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import atexit 5 import atexit
6 import datetime 6 import datetime
7 import email.utils 7 import email.utils
8 import hashlib 8 import hashlib
9 import itertools 9 import itertools
10 import json 10 import json
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 383
384 Returns the process responsible for reading the logs. 384 Returns the process responsible for reading the logs.
385 """ 385 """
386 logcat = subprocess.Popen([self.adb_path, 386 logcat = subprocess.Popen([self.adb_path,
387 'logcat', 387 'logcat',
388 '-s', 388 '-s',
389 ' '.join(LOGCAT_TAGS)], 389 ' '.join(LOGCAT_TAGS)],
390 stdout=sys.stdout) 390 stdout=sys.stdout)
391 atexit.register(_ExitIfNeeded, logcat) 391 atexit.register(_ExitIfNeeded, logcat)
392 return logcat 392 return logcat
OLDNEW
« no previous file with comments | « mojo/devtools/common/pylib/__init__.py ('k') | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698