Home
last modified time | relevance | path

Searched refs:Available (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DDeviceAllocationEventHandler.java54 return DeviceAllocationState.Available; in handleDeviceEvent()
56 return DeviceAllocationState.Available; in handleDeviceEvent()
84 return DeviceAllocationState.Available; in handleDeviceEvent()
90 return DeviceAllocationState.Available; in handleDeviceEvent()
125 return DeviceAllocationState.Available; in handleDeviceEvent()
149 return DeviceAllocationState.Available; in handleDeviceEvent()
151 return DeviceAllocationState.Available; in handleDeviceEvent()
179 return DeviceAllocationState.Available; in handleDeviceEvent()
DDeviceAllocationState.java27 Available(new AvailableHandler()), enumConstant
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterHostUtilTest.java103 DeviceAllocationState.Available, in testGetDefaultRunTarget()
120 DeviceAllocationState.Available, in testGetDefaultRunTargetWithSameProductAndProductVariant()
137 DeviceAllocationState.Available, in testSimpleConstantRunTargetMatchPattern()
154 DeviceAllocationState.Available, in testDeviceTagRunTargetMatchPattern_simple()
173 DeviceAllocationState.Available, in testDeviceTagRunTargetMatchPattern_missingSerial()
191 DeviceAllocationState.Available, in testInvalidRunTargetMetachPattern()
216 DeviceAllocationState.Available, in testSupportedRunTargetMatchPattern()
241 DeviceAllocationState.Available, in testSupportedRunTargetMatchPattern_unknownProperty()
264 DeviceAllocationState.Available, in testSupportedRunTargetMatchPattern_productAndStub()
276 DeviceAllocationState.Available, in testSupportedRunTargetMatchPattern_productAndStub()
[all …]
DClusterCommandSchedulerTest.java321 deviceList.add(createDevice("product1", "variant1", DeviceAllocationState.Available));
322 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Available));
324 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Available));
343 deviceList.add(createDevice("product1", "variant1", DeviceAllocationState.Available));
344 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Available));
346 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Available));
367 "127.0.0.1:101", "product1", "variant1", DeviceAllocationState.Available));
370 "127.0.0.1:102", "product1", "variant1", DeviceAllocationState.Available));
372 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Available));
425 createDevice("s1", "product1", "variant1", DeviceAllocationState.Available);
[all …]
DClusterDeviceMonitorTest.java89 DeviceAllocationState.Available, in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java88 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Available); in testRecoverDevice_offline()
105 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Available); in testRecoverDevice_fastboot()
118 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Available); in testRecoverDevice_run()
DUsbResetRunConfigRecoveryTest.java66 doReturn(DeviceAllocationState.Available).when(mockDevice).getAllocationState(); in testShouldSkip_available()
DUsbResetMultiDeviceRecoveryTest.java98 when(mDevice.getAllocationState()).thenReturn(DeviceAllocationState.Available); in testRecover_available()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java301 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_match_temporary()
335 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_stubEmulator()
373 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testFreeDevice_emulator()
383 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testFreeDevice_emulator()
412 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testAllocateDevice_nullDevice()
464 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in testFreeDevice()
497 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Available); in testSetIDevice()
793 DeviceDescriptor availDevice1 = createDeviceDesc("aaa", DeviceAllocationState.Available); in testSortDeviceList()
794 DeviceDescriptor availDevice2 = createDeviceDesc("bbb", DeviceAllocationState.Available); in testSortDeviceList()
849 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Available, true)); in setCheckAvailableDeviceExpectations()
[all …]
DMockDeviceManager.java212 DeviceAllocationState.Available, in allocateDevice()
226 DeviceAllocationState.Available); in freeDevice()
359 DeviceAllocationState.Available, in getDeviceDescriptor()
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java85 descriptors.add(createDescriptor("serial1", DeviceAllocationState.Available)); in testGetDevicesStatus()
134 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Available)) in testReserveAndRelease_freeDevice()
182 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Available)) in testReserveAndRelease_notFreeDevice()
243 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Available)); in testReserve_cancelledBeforeReserved()
260 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Available)); in testReserve_cancelledAfterReserved()
/tools/dexter/testdata/expected/
Dmethod_handles.method_handle_extract_one_asm4 Available experiments:
Dmethod_handles.method_handle_extract_two_asm4 Available experiments:
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DUsbResetRunConfigRecovery.java40 if (!res && DeviceAllocationState.Available.equals(device.getAllocationState())) { in shouldSkip()
DUsbResetMultiDeviceRecovery.java125 && !DeviceAllocationState.Available.equals(state); in shouldReset()
/tools/test/graphicsbenchmark/
DREADME16 Available options include:
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DInstrumentationPreparerTest.java119 DeviceAllocationState.Available, in testRun_testFailed()
DDeviceFlashPreparerTest.java234 DeviceAllocationState.Available, in testSetup_buildError()
DGsiDeviceFlashPreparerTest.java78 DeviceAllocationState.Available, in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/
DLabResourceDeviceMonitorTest.java65 DeviceAllocationState.Available,
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS37 Available cmds:
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java272 case Available: in allocationStateToReservation()
/tools/repohooks/tools/
Dpylintrc113 # Set the output format. Available formats are text, parseable, colorized, msvs
181 # Spelling dictionary name. Available dictionaries: none. To make it working
/tools/acloud/
DREADME.md38 Available commands:
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java466 if (r.stateChanged && r.allocationState == DeviceAllocationState.Available) { in checkAndAddAvailableDevice()
810 if (!device.getAllocationState().equals(DeviceAllocationState.Available)) { in executeCmdOnAvailableDevice()

12