Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors.py17 def __init__(self, message, device_serial=None): argument
18 device_leader = '(device: %s)' % device_serial
19 if device_serial is not None and not message.startswith(device_leader):
21 self.device_serial = device_serial
26 and self.device_serial == other.device_serial)
35 def __init__(self, args, output, status=None, device_serial=None, argument
51 super(_BaseCommandFailedError, self).__init__(message, device_serial)
71 self.args, self.output, self.status, self.device_serial, self.message)
78 def __init__(self, args, output, status=None, device_serial=None, argument
82 device_serial=device_serial)
[all …]
Dforwarder.py132 device_serial = str(device)
135 '--serial-id=' + device_serial,
178 serial_with_port = (device_serial, device_port)
230 device_serial = device_serial_and_port[0]
231 if device_serial == device.serial:
373 device_serial = str(device)
374 if device_serial in self._initialized_devices:
398 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.py89 device_serial=str(self._adb))
138 device_serial=str(self._adb))
Dinstall_commands.py37 device_serial=device.adb.GetDeviceSerial())
Ddevice_utils.py835 device_serial=self.serial)
998 device_serial=self.serial)
1006 device_serial=self.serial)
2222 device_serial=str(self))
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_errors.py17 def __init__(self, message, device_serial=None): argument
18 if device_serial is not None:
19 message = '(device: %s) %s' % (device_serial, message)
20 self.device_serial = device_serial
27 def __init__(self, args, output, status=None, device_serial=None, argument
43 super(_BaseCommandFailedError, self).__init__(message, device_serial)
49 def __init__(self, args, output, status=None, device_serial=None, argument
53 device_serial=device_serial)
59 def __init__(self, args, output, status=None, device_serial=None, argument
63 device_serial=device_serial)
[all …]
Dforwarder.py88 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)
Dlogcat_monitor.py86 device_serial=str(self._adb))
135 device_serial=str(self._adb))
Dinstall_commands.py37 device_serial=device.adb.GetDeviceSerial())
Ddevice_utils.py768 device_serial=self.adb.GetDeviceSerial())
915 device_serial=self.adb.GetDeviceSerial())
923 device_serial=self.adb.GetDeviceSerial())
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dadb_wrapper.py102 def __init__(self, device_serial): argument
108 if not device_serial:
110 self._device_serial = str(device_serial)
209 def _BuildAdbCmd(cls, args, device_serial, cpu_affinity=None): argument
215 if device_serial is not None:
216 cmd.extend(['-s', device_serial])
223 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
228 cls._BuildAdbCmd(args, device_serial, cpu_affinity=cpu_affinity),
238 args, output, status, device_serial)
261 device_serial=self._device_serial,
[all …]
Dgce_adb_wrapper.py24 def __init__(self, device_serial): argument
25 super(GceAdbWrapper, self).__init__(device_serial)
88 device_serial=str(self))
111 device_serial=str(self))
119 device_serial=str(self))
147 cmd, output, device_serial=self._device_serial)
Dfastboot.py30 def __init__(self, device_serial, default_timeout=_DEFAULT_TIMEOUT, argument
37 if not device_serial:
39 self._device_serial = str(device_serial)
Dadb_wrapper_devicetest.py52 serial = self._adb.device_serial # pylint: disable=protected-access
/external/chromium-trace/catapult/systrace/systrace/
Dutil.py33 def add_adb_serial(adb_command, device_serial): argument
48 if device_serial is not None:
49 adb_command.insert(1, device_serial)
53 def construct_adb_shell_command(shell_args, device_serial): argument
62 add_adb_serial(adb_command, device_serial)
88 def run_adb_shell(shell_args, device_serial): argument
99 adb_command = construct_adb_shell_command(shell_args, device_serial)
118 options.device_serial)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py118 def __init__(self, device_serial): argument
124 if not device_serial:
126 self._device_serial = str(device_serial)
229 def _BuildAdbCmd(cls, args, device_serial, cpu_affinity=None): argument
235 if device_serial is not None:
236 cmd.extend(['-s', device_serial])
243 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
248 cls._BuildAdbCmd(args, device_serial, cpu_affinity=cpu_affinity),
258 args, output, status, device_serial)
281 device_serial=self._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)
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.py12 def __init__(self, device_serial=None, echo=False): argument
14 if device_serial:
15 self.__invocation.extend(['-s', device_serial])
D_adb_path.py12 def init(device_serial): argument
14 __ADB = Adb(device_serial)
Dskpbench.py68 _path.init(FLAGS.device_serial)
112 if FLAGS.device_serial is None:
115 ARGV[:0] = ['adb', '-s', FLAGS.device_serial, 'shell']
281 adb = Adb(FLAGS.device_serial, echo=(FLAGS.verbosity >= 5))
/external/libmojo/third_party/catapult/devil/devil/utils/
Dreset_usb.py39 device_serial = lsusb.get_lsusb_serial(device_info)
40 if device_serial == 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/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_device_unittest.py32 def _GetMockDeviceUtils(self, device_serial): argument
33 device = device_utils.DeviceUtils(device_serial)

12