Home
last modified time | relevance | path

Searched refs:deviceList (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceUtilStatsMonitorLoadTest.java66 List<DeviceDescriptor> deviceList = new ArrayList<>(NUM_DEVICES); in testManyRecords() local
69 deviceList.add(device); in testManyRecords()
71 EasyMock.expect(mMockDeviceManager.listAllDevices()).andStubReturn(deviceList); in testManyRecords()
DDeviceUtilStatsMonitorTest.java146 List<DeviceDescriptor> deviceList = new ArrayList<>(states.length); in buildDeviceList() local
149 deviceList.add(device); in buildDeviceList()
151 return deviceList; in buildDeviceList()
DDeviceManagerTest.java796 List<DeviceDescriptor> deviceList = ArrayUtil.list(availDevice1, availDevice2, in testSortDeviceList() local
798 List<DeviceDescriptor> sortedList = DeviceManager.sortDeviceList(deviceList); in testSortDeviceList()
/tools/tradefederation/core/src/com/android/tradefed/util/clockwork/
DClockworkUtils.java36 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/
DXmlSuiteResultFormatter.java202 String deviceList = ""; in writeResults() local
204 deviceList = Joiner.on(",").join(holder.context.getSerials()); in writeResults()
207 deviceList += Joiner.on(",").join(list); in writeResults()
210 serializer.attribute(NS, DEVICES_ATTR, deviceList); in writeResults()
415 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); in parseResults() local
418 for (String device : deviceList.split(",")) { in parseResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java196 List<DeviceDescriptor> deviceList = in testListDevices() local
198 deviceList.add( in testListDevices()
209 deviceList.add( in testListDevices()
220 EasyMock.expect(mMockDeviceManager.listAllDevices()).andReturn(deviceList); in testListDevices()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java945 List<DeviceDescriptor> deviceList = listAllDevices(); in displayDevicesInfo() local
946 sortDeviceList(deviceList); in displayDevicesInfo()
947 addDevicesInfo(displayRows, deviceList); in displayDevicesInfo()
955 static List<DeviceDescriptor> sortDeviceList(List<DeviceDescriptor> deviceList) { in sortDeviceList() argument
971 Collections.sort(deviceList, c); in sortDeviceList()
972 return deviceList; in sortDeviceList()