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

Side by Side Diff: build/android/pylib/android_commands.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 unified diff | Download patch
« no previous file with comments | « build/android/provision_devices.py ('k') | build/android/screenshot.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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Provides an interface to communicate with the device via the adb command. 5 """Provides an interface to communicate with the device via the adb command.
6 6
7 Assumes adb binary is currently on system path. 7 Assumes adb binary is currently on system path.
8
9 Note that this module is deprecated.
8 """ 10 """
11 # TODO(jbudorick): Delete this file once no clients use it.
12
9 # pylint: skip-file 13 # pylint: skip-file
10 14
11 import collections 15 import collections
12 import datetime 16 import datetime
13 import inspect 17 import inspect
14 import logging 18 import logging
15 import os 19 import os
16 import random 20 import random
17 import re 21 import re
18 import shlex 22 import shlex
(...skipping 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 """ 1967 """
1964 def __init__(self, output): 1968 def __init__(self, output):
1965 self._output = output 1969 self._output = output
1966 1970
1967 def write(self, data): 1971 def write(self, data):
1968 data = data.replace('\r\r\n', '\n') 1972 data = data.replace('\r\r\n', '\n')
1969 self._output.write(data) 1973 self._output.write(data)
1970 1974
1971 def flush(self): 1975 def flush(self):
1972 self._output.flush() 1976 self._output.flush()
OLDNEW
« no previous file with comments | « build/android/provision_devices.py ('k') | build/android/screenshot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698