Home
last modified time | relevance | path

Searched refs:NOT_AVAILABLE (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDeviceState.java30 NOT_AVAILABLE; enumConstant
52 return TestDeviceState.NOT_AVAILABLE; in getStateByDdms()
59 return TestDeviceState.NOT_AVAILABLE; in getStateByDdms()
63 return TestDeviceState.NOT_AVAILABLE; in getStateByDdms()
67 return TestDeviceState.NOT_AVAILABLE; in getStateByDdms()
DManagedTestDeviceFactory.java71 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
87 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
DDeviceManager.java555 managedDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in freeDevice()
581 if (TestDeviceState.NOT_AVAILABLE.equals(managedDevice.getDeviceState())) { in getEventFromFree()
609 if (!device.getDeviceState().equals(TestDeviceState.NOT_AVAILABLE)) { in launchEmulator()
612 device.getDeviceState(), TestDeviceState.NOT_AVAILABLE)); in launchEmulator()
1111 d.setDeviceState(TestDeviceState.NOT_AVAILABLE); in deviceDisconnected()
DManagedDeviceList.java141 d.setDeviceState(TestDeviceState.NOT_AVAILABLE);
DNativeDeviceStateMonitor.java142 boolean result = waitForDeviceState(TestDeviceState.NOT_AVAILABLE, waitTime); in waitForDeviceNotAvailable()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DBackgroundDeviceActionTest.java100 mDeviceState = TestDeviceState.NOT_AVAILABLE; in testBackgroundAction_shellException()
113 assertEquals(TestDeviceState.NOT_AVAILABLE, mDeviceState); in testBackgroundAction_shellException()
147 mDeviceState = TestDeviceState.NOT_AVAILABLE; in testwaitForDeviceRecovery_blockOffline()
DWaitDeviceRecoveryTest.java69 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testRecoverDevice_success()
88 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testRecoverDevice_unavailable()
183 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testRecoverDeviceBootloader_unavailable()
228 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testRecoverDeviceBootloader_unavailable_online()
250 EasyMock.expect(mMockMonitor.getDeviceState()).andStubReturn(TestDeviceState.NOT_AVAILABLE); in testRecoverDeviceBootloader_unavailable_failure()
DDeviceManagerTest.java514 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetIDevice()
606 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_disconnected()
623 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_offline()
894 .andReturn(TestDeviceState.NOT_AVAILABLE).times(2); in testFreeDevice_tcpDevice()
897 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
910 assertTrue(tcp.getDeviceState() == TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
923 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
966 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
986 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
1030 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
[all …]
DManagedDeviceListTest.java140 mockDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
DDeviceStateMonitorTest.java69 mMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testWaitForDeviceOnline()
88 mMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testWaitForDeviceOnline_timeout()
121 mMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testWaitForDeviceOffline_alreadyOffline()
137 mMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testWaitForDeviceOffline()
DTestDeviceTest.java951 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
977 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
985 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
986 assertEquals(TestDeviceState.NOT_AVAILABLE, mTestDevice.getDeviceState()); in testExecuteFastbootCommand_state()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DSdkAvdPreparerTest.java114 EasyMock.expect(mMockDevice.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testSetUp()
141 EasyMock.expect(mMockDevice.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testSetUp_noAvdName()
176 EasyMock.expect(mMockDevice.getDeviceState()).andReturn(TestDeviceState.NOT_AVAILABLE); in testSetUp_failedBoot()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java776 mMockManager.setNumDevicesCustom(1, TestDeviceState.NOT_AVAILABLE, IDevice.class); in testDeviceReleased_unavailable()
795 mMockManager.setNumDevicesCustom(2, TestDeviceState.NOT_AVAILABLE, IDevice.class); in testDeviceReleased_unavailableMulti()
814 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleased()
833 mMockManager.setNumDevicesStub(2, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleasedMulti()
853 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, stub); in testStubDevice_NotReleased()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java188 if (!device.getDeviceState().equals(TestDeviceState.NOT_AVAILABLE)) { in launchEmulatorForAvd()