Home
last modified time | relevance | path

Searched refs:device_serial (Results 1 – 21 of 21) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors.py33 def __init__(self, message, device_serial=None): argument
34 device_leader = '(device: %s)' % device_serial
35 if device_serial is not None and not message.startswith(device_leader):
37 self.device_serial = device_serial
42 and self.device_serial == other.device_serial)
51 def __init__(self, args, output, status=None, device_serial=None, argument
67 super(_BaseCommandFailedError, self).__init__(message, device_serial)
86 self.args, self.output, self.status, self.device_serial, self.message)
93 def __init__(self, args, output, status=None, device_serial=None, argument
97 device_serial=device_serial)
[all …]
Dforwarder.py139 device_serial = str(device)
142 '--serial-id=' + device_serial,
186 serial_with_port = (device_serial, device_port)
238 device_serial = device_serial_and_port[0]
239 if device_serial == device.serial:
384 device_serial = str(device)
385 if device_serial in self._initialized_devices:
409 self._initialized_devices.add(device_serial)
Ddevice_errors_test.py23 device_serial='0123456789abcdef')
28 'foo', 'erroneous foo output', '1', device_serial='0123456789abcdef')
53 status=':(', device_serial='0123456789abcdef')
Dlogcat_monitor.py93 device_serial=str(self._adb))
142 device_serial=str(self._adb))
Dinstall_commands.py37 device_serial=device.adb.GetDeviceSerial())
Ddevice_utils.py1018 device_serial=self.serial)
1185 device_serial=self.serial)
1193 device_serial=self.serial)
2580 device_serial=str(self))
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py137 def __init__(self, device_serial): argument
143 if not device_serial:
145 self._device_serial = str(device_serial)
250 def _BuildAdbCmd(cls, args, device_serial, cpu_affinity=None): argument
256 if device_serial is not None:
257 cmd.extend(['-s', device_serial])
264 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
272 cls._BuildAdbCmd(args, device_serial, cpu_affinity=cpu_affinity),
288 not_found_m.group('serial') == device_serial)):
289 raise device_errors.DeviceUnreachableError(device_serial)
[all …]
Dgce_adb_wrapper.py26 def __init__(self, device_serial): argument
27 super(GceAdbWrapper, self).__init__(device_serial)
90 device_serial=str(self))
113 device_serial=str(self))
121 device_serial=str(self))
149 cmd, output, device_serial=self._device_serial)
Dadb_wrapper_test.py22 self.device_serial = 'ABC12345678'
23 self.adb = adb_wrapper.AdbWrapper(self.device_serial)
64 1, "error: device '%s' not found" % self.device_serial)
Dfastboot.py28 def __init__(self, device_serial, default_timeout=_DEFAULT_TIMEOUT, argument
35 if not device_serial:
37 self._device_serial = str(device_serial)
/external/skia/tools/skpbench/
D_adb.py13 def __init__(self, device_serial=None, adb_binary=None, echo=False): argument
15 if device_serial:
16 self.__invocation.extend(['-s', device_serial])
D_adb_path.py12 def init(device_serial, adb_binary): argument
14 __ADB = Adb(device_serial, adb_binary)
Dskpbench.py89 _path.init(FLAGS.device_serial, FLAGS.adb_binary)
151 if FLAGS.device_serial is None:
154 ARGV[:0] = [FLAGS.adb_binary, '-s', FLAGS.device_serial, 'shell']
328 adb = Adb(FLAGS.device_serial, FLAGS.adb_binary,
/external/skqp/tools/skpbench/
D_adb.py13 def __init__(self, device_serial=None, adb_binary=None, echo=False): argument
15 if device_serial:
16 self.__invocation.extend(['-s', device_serial])
D_adb_path.py12 def init(device_serial, adb_binary): argument
14 __ADB = Adb(device_serial, adb_binary)
Dskpbench.py89 _path.init(FLAGS.device_serial, FLAGS.adb_binary)
151 if FLAGS.device_serial is None:
154 ARGV[:0] = [FLAGS.adb_binary, '-s', FLAGS.device_serial, 'shell']
328 adb = Adb(FLAGS.device_serial, FLAGS.adb_binary,
/external/chromium-trace/catapult/systrace/systrace/
Dutil.py33 def run_adb_shell(shell_args, device_serial): argument
46 device = device_utils.DeviceUtils.HealthyDevices(device_arg=device_serial)[0]
72 options.device_serial)
/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py47 device_serial = lsusb.get_lsusb_serial(device_info)
48 if device_serial == serial:
/external/toolchain-utils/binary_search_tool/android/
DREADME.android33 $ NUM_JOBS=10 ANDROID_SERIAL=<device_serial> \
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py502 'Failed to set date & time.', device_serial=str(device))
/external/chromium-trace/catapult/devil/docs/
Dadb_wrapper.md350 device_serial: The device serial number as a string.