Home
last modified time | relevance | path

Searched refs:NOT_AVAILABLE (Results 1 – 13 of 13) 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.java79 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
86 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
92 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
109 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
128 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
DDeviceManager.java645 managedDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in freeDevice()
671 if (TestDeviceState.NOT_AVAILABLE.equals(managedDevice.getDeviceState())) { in getEventFromFree()
699 if (!device.getDeviceState().equals(TestDeviceState.NOT_AVAILABLE)) { in launchEmulator()
702 device.getDeviceState(), TestDeviceState.NOT_AVAILABLE)); in launchEmulator()
1186 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/
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.java589 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetIDevice()
677 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_disconnected()
693 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testSetState_offline()
958 .andReturn(TestDeviceState.NOT_AVAILABLE).times(2); in testFreeDevice_tcpDevice()
961 mMockTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
975 assertTrue(tcp.getDeviceState() == TestDeviceState.NOT_AVAILABLE); in testFreeDevice_tcpDevice()
989 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
1032 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unavailable()
1053 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
1097 device.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testFreeDevice_unknown()
[all …]
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()
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()
DManagedDeviceListTest.java140 mockDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
DNativeDeviceTest.java2247 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testGetSimState_unavailableDevice()
2250 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testGetSimState_unavailableDevice()
2259 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testGetSimOperator_unavailableDevice()
2262 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testGetSimOperator_unavailableDevice()
DTestDeviceTest.java969 mMockStateMonitor.setState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
995 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
1003 mTestDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testExecuteFastbootCommand_state()
1004 assertEquals(TestDeviceState.NOT_AVAILABLE, mTestDevice.getDeviceState()); in testExecuteFastbootCommand_state()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java794 mMockManager.setNumDevicesCustom(1, TestDeviceState.NOT_AVAILABLE, IDevice.class); in testDeviceReleased_unavailable()
814 mMockManager.setNumDevicesCustom(2, TestDeviceState.NOT_AVAILABLE, IDevice.class); in testDeviceReleased_unavailableMulti()
832 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleased()
850 mMockManager.setNumDevicesStub(2, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleasedMulti()
869 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, stub); in testStubDevice_NotReleased()