Searched refs:NOT_AVAILABLE (Results 1 – 14 of 14) 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 | 71 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice() 87 testDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in createDevice()
|
D | DeviceManager.java | 555 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()
|
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 | 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 | 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 | 514 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 …]
|
D | ManagedDeviceListTest.java | 140 mockDevice.setDeviceState(TestDeviceState.NOT_AVAILABLE); in testUpdateFastbootState_gone()
|
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 | TestDeviceTest.java | 951 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/ |
D | SdkAvdPreparerTest.java | 114 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/ |
D | CommandSchedulerTest.java | 776 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/ |
D | SdkAvdPreparer.java | 188 if (!device.getDeviceState().equals(TestDeviceState.NOT_AVAILABLE)) { in launchEmulatorForAvd()
|