Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DFastbootHelperTest.java68 Collection<String> deviceSerials = in testParseDevicesOnFastboot() local
74 assertEquals(2, deviceSerials.size()); in testParseDevicesOnFastboot()
75 assertTrue(deviceSerials.contains("04035EEB0B01F01C")); in testParseDevicesOnFastboot()
76 assertTrue(deviceSerials.contains("HT99PP800024")); in testParseDevicesOnFastboot()
82 Collection<String> deviceSerials = in testParseDevicesOnFastbootD() local
88 assertEquals(1, deviceSerials.size()); in testParseDevicesOnFastbootD()
89 assertTrue(deviceSerials.contains("HT99PP800024")); in testParseDevicesOnFastbootD()
95 Collection<String> deviceSerials = in testParseDevicesOnFastboot_hyphen() local
97 assertEquals(1, deviceSerials.size()); in testParseDevicesOnFastboot_hyphen()
98 assertTrue(deviceSerials.contains("Foo-Bar123")); in testParseDevicesOnFastboot_hyphen()
[all …]
/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.java163 public Builder setDeviceSerials(final Set<String> deviceSerials) { in setDeviceSerials() argument
164 mDeviceSerials = deviceSerials; in setDeviceSerials()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java123 private static final Set<String> deviceSerials = field in ClusterCommandSchedulerTest
129 && ClusterCommandSchedulerTest.deviceSerials.equals(event.getDeviceSerials()) in eventMatches()
805 Set<String> deviceSerials = new HashSet<>();
806 deviceSerials.add(DEVICE_SERIAL);
807 deviceSerials.add("s2");
809 && deviceSerials.equals(event.getDeviceSerials());