Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors.py16 def __init__(self, message, device_serial=None): argument
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, argument
42 super(_BaseCommandFailedError, self).__init__(message, device_serial)
48 def __init__(self, args, output, status=None, device_serial=None, argument
52 device_serial=device_serial)
58 def __init__(self, args, output, status=None, device_serial=None, argument
62 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.py714 device_serial=self.adb.GetDeviceSerial())
855 device_serial=self.adb.GetDeviceSerial())
863 device_serial=self.adb.GetDeviceSerial())
/external/chromium-trace/catapult/systrace/systrace/
Dutil.py29 def add_adb_serial(adb_command, device_serial): argument
30 if device_serial is not None:
31 adb_command.insert(1, device_serial)
35 def construct_adb_shell_command(shell_args, device_serial): argument
37 add_adb_serial(adb_command, device_serial)
41 def run_adb_shell(shell_args, device_serial): argument
52 adb_command = construct_adb_shell_command(shell_args, device_serial)
90 options.device_serial)
Dsystrace-legacy.py99 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/
Dadb_wrapper.py80 def __init__(self, device_serial): argument
86 if not device_serial:
88 self._device_serial = str(device_serial)
95 def _BuildAdbCmd(cls, args, device_serial, cpu_affinity=None): argument
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, argument
114 cls._BuildAdbCmd(args, device_serial, cpu_affinity=cpu_affinity),
124 args, output, status, device_serial)
147 device_serial=self._device_serial,
[all …]
Dgce_adb_wrapper.py29 def __init__(self, device_serial): argument
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)
Dfastboot.py30 def __init__(self, device_serial, default_timeout=_DEFAULT_TIMEOUT, argument
37 if not device_serial:
39 self._device_serial = str(device_serial)
/external/chromium-trace/catapult/systrace/systrace/agents/
Datrace_agent.py86 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): argument
490 device_serial)
/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py39 device_serial = lsusb.get_lsusb_serial(device_info)
40 if device_serial == serial:
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_device_unittest.py31 def _GetMockDeviceUtils(self, device_serial, is_online=True): argument
32 device = device_utils.DeviceUtils(device_serial)