Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 9 of 9) 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:
232 def _resolve_serial(self, device, serial): argument
244 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
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1860 …,fake_T8370HFyR-2DFAwGfbMwCg@fakeemail.com,Default to file rerun and not serial for LibcoreTest too
6506 …system/core,fake_OKEOmRoUT-C4584Jo8JASQ@fakeemail.com,adb: fix host-side serial number parsing for…
6775 …75,platform/system/core,fake_OKEOmRoUT-C4584Jo8JASQ@fakeemail.com,adb: relax serial matching rules.
8445 …/tools/test/connectivity,fake_SwcY0CeOTXi7suhMGW_cvg@fakeemail.com,Added serial to SL4A error repo…
8466 …rm/tools/test/connectivity,fake_6aRNTluaSTu9at5rSHu1XA@fakeemail.com,Add serial number in QXDM and…
8561 …ools/test/connectivity,fake_liojgHQ-QviSBBlnuORq8Q@fakeemail.com,Use AndroidDevice serial attribute
8824 …le the case that the attached phone doesn't have a SIM card. Correct the serial number print error.
8910 …orm/tools/test/connectivity,fake_MmCW21pPRb6xRo4EO9G_NA@fakeemail.com,Fix undefined serial in error
14950 …ocal.m4 into here, so aclocal.m4 can be rebuilt from sources. Set macro serial to 1, and use thir…
25724 …fake_6syBLNfMTiO0Pz2BOovJlA@fakeemail.com,Allow comparison against multi serial nums for A/B packa…
[all …]