/tools/test/mobly_extensions/scripts/ |
D | local_mobly_runner.py | 302 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/ |
D | device_update.py | 32 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/ |
D | FastbootHelper.java | 134 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()
|
D | DeviceSelectionOptions.java | 463 Collection<String> serials = getSerials(device); in matches() local 469 if (!serials.isEmpty() && in matches() 470 !serials.contains(device.getSerialNumber())) { in matches()
|
D | ManagedDeviceList.java | 199 public void updateFastbootStates(Set<String> serials, boolean isFastbootD) { 209 if (serials.contains(serial)) {
|
/tools/asuite/atest/test_runners/ |
D | mobly_test_runner.py | 408 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/ |
D | adb_tools.py | 177 serials = [] 184 serials.append(serial_state[0]) 185 return serials
|
D | adb_tools_test.py | 118 serials = adb_tools.AdbTools.GetDeviceSerials() 119 self.assertEqual(serials, ["127.0.0.1:48451", "emulator-5554"])
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | native_android_device.py | 46 def get_instances(serials, ): argument 57 for s in serials:
|
D | android_device.py | 207 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/ |
D | ats-local-runner | 91 -s=*|--serials=*) SERIALS="${1#*=}";;
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationContext.java | 358 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/ |
D | IInvocationContext.java | 200 public void addSerialsFromShard(Integer index, List<String> serials); in addSerialsFromShard() argument
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 558 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/ |
D | UiConductorTest.java | 430 String serials = in buildCommand() local 432 command.add(serials); in buildCommand()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1323 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()
|