Searched refs:deviceList (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 320 final List<DeviceDescriptor> deviceList = new ArrayList<>(); 321 deviceList.add(createDevice("product1", "variant1", DeviceAllocationState.Available)); 322 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Available)); 323 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Allocated)); 324 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Available)); 325 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Allocated)); 326 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Unavailable)); 327 when(mMockDeviceManager.listAllDevices()).thenReturn(deviceList); 342 final List<DeviceDescriptor> deviceList = new ArrayList<>(); 343 deviceList.add(createDevice("product1", "variant1", DeviceAllocationState.Available)); [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/util/clockwork/ |
D | ClockworkUtils.java | 36 Map<ITestDevice, IBuildInfo> deviceInfos, List<ITestDevice> deviceList) { in setUpMultiDevice() argument 47 deviceList.add(entry.getKey()); in setUpMultiDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 231 String deviceList = ""; in writeResults() local 233 deviceList = String.join(",", holder.context.getSerials()); in writeResults() 239 deviceList = String.join(",", subSet); in writeResults() 241 serializer.attribute(NS, DEVICES_ATTR, deviceList); in writeResults() 521 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); in parseResults() local 524 for (String device : deviceList.split(",")) { in parseResults()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceManager.java | 1220 List<DeviceDescriptor> deviceList = listAllDevices(); in displayDevicesInfo() local 1221 sortDeviceList(deviceList); in displayDevicesInfo() 1222 addDevicesInfo(displayRows, deviceList, includeStub); in displayDevicesInfo() 1230 static List<DeviceDescriptor> sortDeviceList(List<DeviceDescriptor> deviceList) { in sortDeviceList() argument 1246 Collections.sort(deviceList, c); in sortDeviceList() 1247 return deviceList; in sortDeviceList()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 796 List<DeviceDescriptor> deviceList = in testSortDeviceList() local 798 List<DeviceDescriptor> sortedList = DeviceManager.sortDeviceList(deviceList); in testSortDeviceList()
|