Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java79 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateFree()
137 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateClose()
161 EasyMock.eq(FreeDeviceState.AVAILABLE)); in testAllocateFreeAll()
254 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testExecCommand()
280 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testConsecutiveExecCommand()
411 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_noActiveCommand()
436 mMockDeviceManager.freeDevice(EasyMock.eq(device), EasyMock.eq(FreeDeviceState.AVAILABLE)); in testGetLastCommandResult_executing()
468 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/command/
DCommandSchedulerTest.java357 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand()
494 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configSerial()
523 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
524 mMockManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial()
786 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly()
839 deviceStates.put(device, FreeDeviceState.AVAILABLE); in testDeviceReleasedEarly_conflict()
979 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState()
1270 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
/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.java155 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
211 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
DGkiDeviceFlashPreparerTest.java126 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java805 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
812 deviceStates.put(device, FreeDeviceState.AVAILABLE); in createReleaseMap()
827 device.setRecoveryMode(RecoveryMode.AVAILABLE); in createReleaseMap()
1611 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
1613 deviceState = FreeDeviceState.AVAILABLE; in allocateDevices()
1654 getDeviceManager().freeDevice(device, FreeDeviceState.AVAILABLE); in startInvocation()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java362 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
551 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice()
569 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop()
/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/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java665 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
741 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
796 releaseMap.put(mockTestDevice, FreeDeviceState.AVAILABLE);
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java687 deviceState = FreeDeviceState.AVAILABLE; in freeDevice()
719 case AVAILABLE: in getEventFromFree()
DNativeDevice.java206 private RecoveryMode mRecoveryMode = RecoveryMode.AVAILABLE;
2177 if (mRecoveryMode.equals(RecoveryMode.AVAILABLE)) { in recoverDevice()
2187 mRecoveryMode = RecoveryMode.AVAILABLE; in recoverDevice()
/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DFreeDeviceState.java21 AVAILABLE, enumConstant
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java88 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceUpdateTargetPreparer.java102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DGkiDeviceFlashPreparer.java102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DGsiDeviceFlashPreparer.java121 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DDeviceFlashPreparer.java263 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/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java992 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testRun_partialRun()
994 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRun_partialRun()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java162 setRecoveryMode(RecoveryMode.AVAILABLE); in reInitDevice()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java209 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java47 AVAILABLE enumConstant
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java238 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
2146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setEarlyDeviceReleaseExpectation()

12