/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 79 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()
|
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/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 | 146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations() 183 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 362 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/ |
D | FreeDeviceState.java | 21 AVAILABLE, enumConstant
|
/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/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 562 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/ |
D | CompanionDeviceTracker.java | 86 FreeDeviceState deviceState = FreeDeviceState.AVAILABLE; in freeCompanionDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 87 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | DeviceFlashPreparer.java | 242 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/src/com/android/tradefed/device/cloud/ |
D | NestedRemoteDevice.java | 163 setRecoveryMode(RecoveryMode.AVAILABLE); in reInitDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ITestDevice.java | 47 AVAILABLE enumConstant
|
D | DeviceManager.java | 636 deviceState = FreeDeviceState.AVAILABLE; in freeDevice() 666 case AVAILABLE: in getEventFromFree()
|
D | NativeDevice.java | 209 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/ |
D | FastbootTest.java | 206 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 354 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()
|
D | TestDeviceTest.java | 471 testDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRecoverDevice_ThrowException()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 824 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testRun_partialRun() 826 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRun_partialRun()
|