Home
last modified time | relevance | path

Searched refs:AVAILABLE (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java79 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateFree()
138 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateClose()
162 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateFreeAll()
255 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testExecCommand()
281 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testConsecutiveExecCommand()
412 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_noActiveCommand()
437 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_executing()
469 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_notAvail()
DRemoteManagerTest.java229 .freeDevice(Mockito.eq(stub), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree()
252 .freeDevice(Mockito.any(), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree_wildcard()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstallerTest.java105 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testCantTouchFilesystem()
136 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()
149 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()
179 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData_retry()
DDeviceFlashPreparerTest.java146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
183 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java362 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand()
522 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configSerial()
551 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
552 mMockManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
900 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState()
1156 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DFreeDeviceState.java21 AVAILABLE, enumConstant
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java381 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in processFree()
471 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in freeAllDevices()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java562 deviceStates.put(device, FreeDeviceState.AVAILABLE); in run()
630 deviceStates.put(device, FreeDeviceState.AVAILABLE); in run()
639 device.setRecoveryMode(RecoveryMode.AVAILABLE); in run()
1466 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
1468 deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java87 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DDeviceFlashPreparer.java242 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java82 FreeDeviceState state = FreeDeviceState.AVAILABLE; in unpackResponseFromJson()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java163 setRecoveryMode(RecoveryMode.AVAILABLE); in reInitDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java47 AVAILABLE enumConstant
DDeviceManager.java636 deviceState = FreeDeviceState.AVAILABLE; in freeDevice()
666 case AVAILABLE: in getEventFromFree()
DNativeDevice.java209 private RecoveryMode mRecoveryMode = RecoveryMode.AVAILABLE;
2080 if (mRecoveryMode.equals(RecoveryMode.AVAILABLE)) { in recoverDevice()
2090 mRecoveryMode = RecoveryMode.AVAILABLE; in recoverDevice()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java206 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java354 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
549 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice()
567 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop()
DTestDeviceTest.java471 testDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRecoverDevice_ThrowException()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java824 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testRun_partialRun()
826 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRun_partialRun()