Searched refs:AVAILABLE (Results 1 – 16 of 16) sorted by relevance
/tools/tradefederation/core/remote/src/com/android/tradefed/device/ |
D | FreeDeviceState.java | 21 AVAILABLE, enumConstant
|
/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() 150 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData() 180 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/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/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 | 238 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/command/ |
D | CommandSchedulerTest.java | 344 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand() 505 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configSerial() 533 mMockManager.freeDevice(dev, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial() 534 mMockManager.freeDevice(expectedDevice, FreeDeviceState.AVAILABLE); in testRun_configExcludeSerial() 885 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState() 1132 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
|
/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/device/ |
D | ITestDevice.java | 47 AVAILABLE enumConstant
|
D | DeviceManager.java | 546 deviceState = FreeDeviceState.AVAILABLE; in freeDevice() 576 case AVAILABLE: in getEventFromFree()
|
D | NativeDevice.java | 195 private RecoveryMode mRecoveryMode = RecoveryMode.AVAILABLE; 1895 if (mRecoveryMode.equals(RecoveryMode.AVAILABLE)) { in recoverDevice() 1905 mRecoveryMode = RecoveryMode.AVAILABLE; in recoverDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 476 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testFreeDevice() 493 manager.freeDevice(testDevice, FreeDeviceState.AVAILABLE); in testFreeDevice_noop()
|
D | TestDeviceTest.java | 452 testDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRecoverDevice_ThrowException()
|