HomeSort by relevance Sort by last modified time
    Searched refs:device_serial (Results 1 - 15 of 15) sorted by null

  /external/chromium-trace/catapult/devil/devil/android/
device_errors.py 16 def __init__(self, message, device_serial=None):
17 if device_serial is not None:
18 message = '(device: %s) %s' % (device_serial, message)
19 self.device_serial = device_serial
26 def __init__(self, args, output, status=None, device_serial=None,
42 super(_BaseCommandFailedError, self).__init__(message, device_serial)
48 def __init__(self, args, output, status=None, device_serial=None,
52 device_serial=device_serial)
    [all...]
forwarder.py 88 device_serial = str(device)
91 '--serial-id=' + device_serial,
124 serial_with_port = (device_serial, device_port)
157 for (device_serial, device_port) in port_map.keys():
158 if adb_serial == device_serial:
288 device_serial = str(device)
289 if device_serial in self._initialized_devices:
306 self._initialized_devices.add(device_serial)
install_commands.py 37 device_serial=device.adb.GetDeviceSerial())
logcat_monitor.py 86 device_serial=str(self._adb))
135 device_serial=str(self._adb))
device_utils.py 714 device_serial=self.adb.GetDeviceSerial())
855 device_serial=self.adb.GetDeviceSerial())
863 device_serial=self.adb.GetDeviceSerial())
    [all...]
  /external/chromium-trace/catapult/systrace/systrace/
util.py 29 def add_adb_serial(adb_command, device_serial):
30 if device_serial is not None:
31 adb_command.insert(1, device_serial)
35 def construct_adb_shell_command(shell_args, device_serial):
37 add_adb_serial(adb_command, device_serial)
41 def run_adb_shell(shell_args, device_serial):
46 device_serial: if not empty, will add the appropriate command-line
52 adb_command = construct_adb_shell_command(shell_args, device_serial)
84 parser.add_option('-e', '--serial', dest='device_serial', type='string')
90 options.device_serial)
    [all...]
systrace-legacy.py 81 parser.add_option('-e', '--serial', dest='device_serial', type='string',
99 add_adb_serial(atrace_args, options.device_serial)
110 add_adb_serial(atrace_args, options.device_serial)
  /external/chromium-trace/catapult/devil/devil/android/sdk/
gce_adb_wrapper.py 29 def __init__(self, device_serial):
30 super(GceAdbWrapper, self).__init__(device_serial)
79 device_serial=str(self))
104 device_serial=str(self))
112 device_serial=str(self))
141 cmd, output, device_serial=self._device_serial)
adb_wrapper.py 80 def __init__(self, device_serial):
84 device_serial: The device serial number as a string.
86 if not device_serial:
88 self._device_serial = str(device_serial)
95 def _BuildAdbCmd(cls, args, device_serial, cpu_affinity=None):
101 if device_serial is not None:
102 cmd.extend(['-s', device_serial])
109 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None,
114 cls._BuildAdbCmd(args, device_serial, cpu_affinity=cpu_affinity),
124 args, output, status, device_serial)
    [all...]
fastboot.py 30 def __init__(self, device_serial, default_timeout=_DEFAULT_TIMEOUT,
35 device_serial: The device serial number as a string.
37 if not device_serial:
39 self._device_serial = str(device_serial)
  /system/tools/aidl/tests/
integration-test.py 60 def __init__(self, device_serial=None, verbose=None):
64 device_serial: options string serial number of attached device.
67 self._device_serial = device_serial
128 device_serial=None, verbose=False):
137 device_serial: Optional string containing the serial number of the
143 host = AdbHost(device_serial=device_serial, verbose=verbose)
201 device_serial=args.serial, verbose=args.verbose)
  /external/chromium-trace/catapult/devil/devil/utils/
reset_usb.py 39 device_serial = lsusb.get_lsusb_serial(device_info)
40 if device_serial == serial:
  /system/extras/pagecache/
pagecache.py 175 def add_adb_serial(adb_command, device_serial):
176 if device_serial is not None:
177 adb_command.insert(1, device_serial)
181 def construct_adb_shell_command(shell_args, device_serial):
183 AdbUtils.add_adb_serial(adb_command, device_serial)
187 def run_adb_shell(shell_args, device_serial):
192 device_serial: if not empty, will add the appropriate command-line
198 adb_command = AdbUtils.construct_adb_shell_command(shell_args, device_serial)
360 parser.add_option('-s', '--serial', dest='device_serial', type='string',
377 options.device_serial)
    [all...]
  /external/chromium-trace/catapult/systrace/systrace/agents/
atrace_agent.py 86 self._categories = get_default_categories(self._options.device_serial)
109 LIST_CATEGORIES_ARGS, self._options.device_serial)
157 atrace_args, self._options.device_serial)
297 ps_dump = do_preprocess_adb_cmd('ps -t', self._options.device_serial)
306 self._options.device_serial)
334 self._options.device_serial)
415 self._options.device_serial)
424 self._options.device_serial)
488 def get_default_categories(device_serial):
490 device_serial)
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
android_device_unittest.py 31 def _GetMockDeviceUtils(self, device_serial, is_online=True):
32 device = device_utils.DeviceUtils(device_serial)

Completed in 572 milliseconds