Home
last modified time | relevance | path

Searched refs:numDevices (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockDeviceManager.java55 public MockDeviceManager(int numDevices) { in MockDeviceManager() argument
56 setNumDevices(numDevices); in MockDeviceManager()
59 public void setNumDevices(int numDevices) { in setNumDevices() argument
60 setNumDevicesInternal(numDevices, true); in setNumDevices()
63 public void setNumDevicesUnresponsive(int numDevices) { in setNumDevicesUnresponsive() argument
64 setNumDevicesInternal(numDevices, false); in setNumDevicesUnresponsive()
67 private void setNumDevicesInternal(int numDevices, boolean responsive) { in setNumDevicesInternal() argument
69 mTotalDevices = numDevices; in setNumDevicesInternal()
70 for (int i = 0; i < numDevices; i++) { in setNumDevicesInternal()
84 public void setNumDevicesCustomRealNoRecovery(int numDevices, Class<IDevice> idevicetype) { in setNumDevicesCustomRealNoRecovery() argument
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1057 private ClusterCommand createMockManagedCommand(int numDevices) {
1058 return createMockManagedCommand(numDevices, null, null);
1062 int numDevices, Integer shardCount, Integer shardIndex) {
1073 for (int i = 0; i < numDevices; i++) {