Home
last modified time | relevance | path

Searched refs:serials (Results 1 – 16 of 16) sorted by relevance

/tools/test/mobly_extensions/scripts/
Dlocal_mobly_runner.py302 serials: Optional[List[str]] = None,
313 if not serials:
319 serials = _parse_adb_devices(adb_devices_out)
321 for serial in serials:
328 def _generate_mobly_config(serials: Optional[List[str]] = None) -> str:
344 'AndroidDevice': serials if serials else '*',
409 serials = args.serials.split(',') if args.serials else None
416 _install_apks(test_apks, serials)
427 config = args.config or _generate_mobly_config(serials)
/tools/asuite/atest/
Ddevice_update.py32 def update(self, serials: List[str] = None):
49 def update(self, serials: List[str] = None) -> None:
63 def update(self, serials: List[str] = None) -> None:
69 if serials:
70 if len(serials) > 1:
79 update_cmd.extend(['--serial', serials[0]])
/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java134 public Map<String, Boolean> getBootloaderAndFastbootdTcpDevices(Map<String, String> serials) { in getBootloaderAndFastbootdTcpDevices() argument
138 for (Entry<String, String> entry : serials.entrySet()) { in getBootloaderAndFastbootdTcpDevices()
168 Set<String> serials = new HashSet<String>(); in parseDevices() local
177 serials.add(fastbootMatcher.group(1)); in parseDevices()
179 return serials; in parseDevices()
DDeviceSelectionOptions.java463 Collection<String> serials = getSerials(device); in matches() local
469 if (!serials.isEmpty() && in matches()
470 !serials.contains(device.getSerialNumber())) { in matches()
DManagedDeviceList.java199 public void updateFastbootStates(Set<String> serials, boolean isFastbootD) {
209 if (serials.contains(serial)) {
/tools/asuite/atest/test_runners/
Dmobly_test_runner.py408 serials = atest_configs.GLOBAL_ARGS.serial or self._get_cvd_serials()
410 self._install_apks(test_files.test_apks, serials)
412 mobly_args, serials, test_files
532 serials: List[str],
568 CONFIG_KEY_ANDROID_DEVICE: serials if serials else '*',
650 def _install_apks(self, apks: List[str], serials: List[str]) -> None:
662 serials = serials or atest_utils.get_adb_devices()
664 for serial in serials:
/tools/acloud/internal/lib/
Dadb_tools.py177 serials = []
184 serials.append(serial_state[0])
185 return serials
Dadb_tools_test.py118 serials = adb_tools.AdbTools.GetDeviceSerials()
119 self.assertEqual(serials, ["127.0.0.1:48451", "emulator-5554"])
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative_android_device.py46 def get_instances(serials, ): argument
57 for s in serials:
Dandroid_device.py207 def get_instances(serials): argument
217 for s in serials:
353 serials = [ad.serial for ad in filtered]
354 raise ValueError("More than one device matched: %s" % serials)
/tools/deviceinfra/prebuilts/
Dats-local-runner91 -s=*|--serials=*) SERIALS="${1#*=}";;
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java358 public void addSerialsFromShard(Integer index, List<String> serials) { in addSerialsFromShard() argument
363 mShardSerials.put(index, serials); in addSerialsFromShard()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java200 public void addSerialsFromShard(Integer index, List<String> serials); in addSerialsFromShard() argument
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java558 List<String> serials = ArrayUtil.list("deviceSerial0", "deviceSerial1", "deviceSerial2");
561 cmd0.setTargetDeviceSerials(serials);
564 cmd1.setTargetDeviceSerials(serials);
1114 Collection<String> serials = deviceConfig.getDeviceRequirements().getSerials(null);
1115 assertTrue(serials.size() == 1 && serials.contains(serial));
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java430 String serials = in buildCommand() local
432 command.add(serials); in buildCommand()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java1323 List<String> serials = new ArrayList<String>(); in testCreateConfigurationFromArgs_old_config_with_deviceHolder() local
1324 serials.add("test"); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1325 assertEquals(serials, config.getDeviceRequirements().getSerials(null)); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1327 serials, in testCreateConfigurationFromArgs_old_config_with_deviceHolder()