Searched refs:NOT_AVAILABLE (Results 1 – 13 of 13) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDeviceState.java | 30 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()
|
D | ManagedTestDeviceFactory.java | 79 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()
|
D | DeviceManager.java | 645 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()
|
D | ManagedDeviceList.java | 141 d.setDeviceState(TestDeviceState.NOT_AVAILABLE);
|
D | NativeDeviceStateMonitor.java | 142 boolean result = waitForDeviceState(TestDeviceState.NOT_AVAILABLE, waitTime); in waitForDeviceNotAvailable()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | WaitDeviceRecoveryTest.java | 69 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()
|
D | DeviceManagerTest.java | 589 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 …]
|
D | BackgroundDeviceActionTest.java | 100 mDeviceState = TestDeviceState.NOT_AVAILABLE; in testBackgroundAction_shellException() 113 assertEquals(TestDeviceState.NOT_AVAILABLE, mDeviceState); in testBackgroundAction_shellException() 147 mDeviceState = TestDeviceState.NOT_AVAILABLE; in testwaitForDeviceRecovery_blockOffline()
|
D | DeviceStateMonitorTest.java | 69 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()
|
D | ManagedDeviceListTest.java | 140 mockDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
|
D | NativeDeviceTest.java | 2247 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()
|
D | TestDeviceTest.java | 969 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/ |
D | CommandSchedulerTest.java | 794 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()
|