/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 79 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()
|
D | RemoteManagerTest.java | 229 .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/ |
D | CommandSchedulerTest.java | 357 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/ |
D | DefaultTestsZipInstallerTest.java | 105 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()
|
D | DeviceFlashPreparerTest.java | 155 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations() 211 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
|
D | GkiDeviceFlashPreparerTest.java | 126 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 805 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/ |
D | DeviceManagerTest.java | 362 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/ |
D | RemoteManager.java | 381 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in processFree() 471 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in freeAllDevices()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 665 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/ |
D | DeviceManager.java | 687 deviceState = FreeDeviceState.AVAILABLE; in freeDevice() 719 case AVAILABLE: in getEventFromFree()
|
D | NativeDevice.java | 206 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/ |
D | FreeDeviceState.java | 21 AVAILABLE, enumConstant
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 88 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceUpdateTargetPreparer.java | 102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | GkiDeviceFlashPreparer.java | 102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | GsiDeviceFlashPreparer.java | 121 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | DeviceFlashPreparer.java | 263 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | GetLastCommandResultOp.java | 82 FreeDeviceState state = FreeDeviceState.AVAILABLE; in unpackResponseFromJson()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 992 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/ |
D | NestedRemoteDevice.java | 162 setRecoveryMode(RecoveryMode.AVAILABLE); in reInitDevice()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 209 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | ITestDevice.java | 47 AVAILABLE enumConstant
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 238 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp() 2146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setEarlyDeviceReleaseExpectation()
|