Home
last modified time | relevance | path

Searched refs:deviceSerials (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DFastbootHelperTest.java54 Collection<String> deviceSerials = in testParseDevicesOnFastboot() local
60 assertEquals(2, deviceSerials.size()); in testParseDevicesOnFastboot()
61 assertTrue(deviceSerials.contains("04035EEB0B01F01C")); in testParseDevicesOnFastboot()
62 assertTrue(deviceSerials.contains("HT99PP800024")); in testParseDevicesOnFastboot()
68 Collection<String> deviceSerials = in testParseDevicesOnFastbootD() local
74 assertEquals(1, deviceSerials.size()); in testParseDevicesOnFastbootD()
75 assertTrue(deviceSerials.contains("HT99PP800024")); in testParseDevicesOnFastbootD()
81 Collection<String> deviceSerials = in testParseDevicesOnFastboot_hyphen() local
83 assertEquals(1, deviceSerials.size()); in testParseDevicesOnFastboot_hyphen()
84 assertTrue(deviceSerials.contains("Foo-Bar123")); in testParseDevicesOnFastboot_hyphen()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java586 ClusterCommandEvent.Type type, Set<String> deviceSerials) {
597 && deviceSerials.equals(actual.getDeviceSerials())
612 Set<String> deviceSerials = new HashSet<String>();
613 deviceSerials.add(DEVICE_SERIAL);
614 return checkClusterCommandEvent(type, deviceSerials);
819 Set<String> deviceSerials = new HashSet<>();
820 deviceSerials.add(DEVICE_SERIAL);
821 deviceSerials.add("s2");
824 ClusterCommandEvent.Type.InvocationInitiated, deviceSerials));
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecovery.java73 Set<String> deviceSerials = usb.getSerialNumbers(/* AOAv2-compatible */ true); in recoverDevices() local
80 deviceSerials.addAll(fastbootSerials); in recoverDevices()
85 deviceSerials.remove(device.getSerialNumber()); in recoverDevices()
90 for (String serial : deviceSerials) { in recoverDevices()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommand.java226 final List<String> deviceSerials = new ArrayList<>(); in fromJson() local
228 deviceSerials.add(jsonDeviceSerials.getString(j)); in fromJson()
230 command.setTargetDeviceSerials(deviceSerials); in fromJson()
DClusterCommandEvent.java158 public Builder setDeviceSerials(final Set<String> deviceSerials) { in setDeviceSerials() argument
159 mDeviceSerials = deviceSerials; in setDeviceSerials()