Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 8 of 8) sorted by relevance

/development/tools/privapp_permissions/
Dprivapp_permissions.py79 def __init__(self, path, serial=None): argument
81 self.serial = serial
108 command = '%s -s %s %s' % (self.path, self.serial, cmdline)
139 serial=None, apks=None): argument
145 use_device = use_device or serial or \
148 self.adb.serial = self._resolve_serial(use_device, serial)
150 if self.adb.serial:
154 if self.adb.serial is None and not self._is_android_env:
223 def _resolve_serial(self, device, serial): argument
235 if serial:
[all …]
/development/python-packages/adb/
Ddevice.py29 def __init__(self, serial): argument
30 self.serial = serial
32 'No device with serial {}'.format(serial))
66 serial, _ = re.split(r'\s+', line, maxsplit=1)
67 devices.append(serial)
78 def _get_device_by_serial(serial, product=None, adb_path='adb'): argument
80 if device == serial:
81 return AndroidDevice(serial, product, adb_path)
82 raise DeviceNotFoundError(serial)
85 def get_device(serial=None, product=None, adb_path='adb'): argument
[all …]
Dtest.py39 self.assertEqual(device.serial, 'foo')
46 self.assertEqual(device.serial, 'foo')
53 self.assertEqual(device.serial, 'foo')
67 self.assertEqual(device.serial, 'foo')
/development/tools/hosttestlib/src/com/android/hosttest/
DDeviceConnector.java74 public NewDeviceListener(String serial) { in NewDeviceListener() argument
75 mSerial = serial; in NewDeviceListener()
/development/testrunner/
Dadb_interface.py50 def SetTargetSerial(self, serial): argument
52 self._target_arg = "-s %s" % serial
Druntest.py217 elif self._options.serial is not None:
218 self._adb.SetTargetSerial(self._options.serial)
/development/python-packages/gdbrunner/
D__init__.py75 result.device = adb.get_device(result.serial, adb_path=adb_path)
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt871 sequence - n. serial arrangement in which things follow in logical order or a recurrent pattern