/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | WaitDeviceRecoveryTest.java | 83 EasyMock.expect(mMockMonitor.waitForDeviceAvailable(EasyMock.anyLong())).andReturn( in testRecoverDevice_success() 122 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(mMockDevice); in testRecoverDevice_unavailable_recovers() 143 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(null); in testRecoverDevice_unavailable_recovery() 147 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(mMockDevice); in testRecoverDevice_unavailable_recovery() 168 EasyMock.expect(mMockMonitor.waitForDeviceAvailable()).andReturn(null); in testRecoverDevice_unavailable_recovery_fail() 224 EasyMock.expect(mMockMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testRecoverDevice_unresponsive() 256 EasyMock.expect(mMockMonitor.waitForDeviceAvailable(EasyMock.anyLong())).andReturn( in testRecoverDevice_fastboot()
|
D | TestDeviceTest.java | 1154 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testUnencryptDevice_erase() 2161 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())).andReturn( in setRebootExpectations() 2183 … EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())).andReturn(null); in testRebootRecovers() 2878 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemount_verityUnsupported() 2892 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemountVendor_verityUnsupported() 2908 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemount_veritySupportedV1() 2924 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemountVendor_veritySupportedV1() 2940 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemount_veritySupportedV2() 2957 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemountVendor_veritySupportedV2() 2973 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable()).andReturn(mMockIDevice); in testRemount_veritySupportedNonNumerical() [all …]
|
D | DeviceStateMonitorTest.java | 720 assertEquals(mMockDevice, mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_NOT_REACHED_MS)); in testWaitForDeviceAvailable() 737 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_NOT_REACHED_MS)); in testWaitForDeviceAvailable_notOnline() 759 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_notBootComplete() 784 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_pmNotResponsive() 813 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_notMounted()
|
D | TestDeviceFuncTest.java | 90 mTestDevice.waitForDeviceAvailable(); in setUp() 686 mTestDevice.waitForDeviceAvailable(); in testClearErrorDialogs_crash() 716 mTestDevice.waitForDeviceAvailable(); in testDisableKeyguard()
|
D | DeviceManagerFuncTest.java | 56 mUsbDevice.waitForDeviceAvailable(30 * 1000); in testReconnectDeviceToTcp_backUsb() 91 mUsbDevice.waitForDeviceAvailable(); in testReconnectDeviceToTcp_reboot()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
D | RustBinaryTestTest.java | 324 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageAllProcesses() 325 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageAllProcesses() 326 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageAllProcesses() 425 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageSpecificProcesses() 426 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageSpecificProcesses() 427 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageSpecificProcesses()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 910 if (mStateMonitor.waitForDeviceAvailable(5 * 1000) == null) { in runInstrumentationTests() 3025 if (mStateMonitor.waitForDeviceAvailable(mOptions.getRebootTimeout()) != null) { in reboot() 3050 if (mStateMonitor.waitForDeviceAvailable(mOptions.getRebootTimeout()) != null) { in rebootUserspace() 3433 waitForDeviceAvailable(ENCRYPTION_WIPE_TIMEOUT_MIN * 60 * 1000); in unencryptDevice() 3554 waitForDeviceAvailable(); in unlockDevice() 3623 public void waitForDeviceAvailable(long waitTime) throws DeviceNotAvailableException { in waitForDeviceAvailable() method in NativeDevice 3624 if (mStateMonitor.waitForDeviceAvailable(waitTime) == null) { in waitForDeviceAvailable() 3633 public void waitForDeviceAvailable() throws DeviceNotAvailableException { in waitForDeviceAvailable() method in NativeDevice 3634 if (mStateMonitor.waitForDeviceAvailable() == null) { in waitForDeviceAvailable() 4221 waitForDeviceAvailable(); in remountSystemWritable() [all …]
|
D | WaitDeviceRecovery.java | 162 if (monitor.waitForDeviceAvailable(mWaitTime) == null) { in recoverDevice() 229 if (monitor.waitForDeviceAvailable(mWaitTime) != null) { in handleDeviceUnresponsive() 544 } else if (monitor.waitForDeviceAvailable() != null) { in waitForDevice()
|
D | NativeDeviceStateMonitor.java | 209 public IDevice waitForDeviceAvailable(final long waitTime) { in waitForDeviceAvailable() method in NativeDeviceStateMonitor 241 public IDevice waitForDeviceAvailable() { in waitForDeviceAvailable() method in NativeDeviceStateMonitor 242 return waitForDeviceAvailable(mDefaultAvailableTimeout); in waitForDeviceAvailable()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDeviceTest.java | 281 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testPreInvocationSetup() 310 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testPreInvocationSetup_fails() 528 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testDeviceNotStoreShutdownState() 632 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testDevice_skipTearDown() 718 EasyMock.expect(mMockStateMonitor.waitForDeviceAvailable(EasyMock.anyLong())) in testDeviceBoot_offline()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RestartSystemServerTargetPreparerTest.java | 54 mMockDevice.waitForDeviceAvailable(); in testSetUp_bootComplete() 72 mMockDevice.waitForDeviceAvailable(); in testSetUp_bootNotComplete() 93 mMockDevice.waitForDeviceAvailable(); in testTearDown_restart()
|
D | DeviceFlashPreparerTest.java | 154 mMockDevice.waitForDeviceAvailable(EasyMock.anyLong()); in doSetupExpectations() 209 mMockDevice.waitForDeviceAvailable(EasyMock.anyLong()); in testSetup_buildError()
|
D | InstallApexModuleTargetPreparerTest.java | 726 mMockDevice.waitForDeviceAvailable(); in testSetupAndTearDown_ApkAndApks() 934 mMockDevice.waitForDeviceAvailable(); in testInstallUsingBundletool()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 177 getDevice().waitForDeviceAvailable(); in testRun_testCrash() 261 getDevice().waitForDeviceAvailable(); in testRun_deviceReboot() 346 getDevice().waitForDeviceAvailable(); in testRun_deviceRuntimeReset()
|
D | GTestFuncTest.java | 168 getDevice().waitForDeviceAvailable(); in testRun_deviceReboot() 189 getDevice().waitForDeviceAvailable(); in testRun_timeout()
|
D | GTestTest.java | 512 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageAllProcesses() 575 mMockITestDevice.waitForDeviceAvailable(5 * 60 * 1000); in testNativeCoverageSpecificProcesses()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 345 Mockito.verify(mDevice).waitForDeviceAvailable(Mockito.anyLong()); in testRun_dnae_NotLastDevice() 378 .waitForDeviceAvailable(Mockito.anyLong()); in testRun_dnae_NotLastDevice_offline() 393 Mockito.verify(mDevice).waitForDeviceAvailable(Mockito.anyLong()); in testRun_dnae_NotLastDevice_offline()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | IDeviceStateMonitor.java | 82 public IDevice waitForDeviceAvailable(final long waitTime); in waitForDeviceAvailable() method 93 public IDevice waitForDeviceAvailable(); in waitForDeviceAvailable() method
|
D | INativeDevice.java | 1136 public void waitForDeviceAvailable(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceAvailable() method 1144 public void waitForDeviceAvailable() throws DeviceNotAvailableException; in waitForDeviceAvailable() method
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RemoveSystemAppPreparer.java | 55 device.waitForDeviceAvailable(); in setUp()
|
D | RestartSystemServerTargetPreparer.java | 40 device.waitForDeviceAvailable(); in restartSystemServer()
|
D | EraseUserDataPreparer.java | 50 device.waitForDeviceAvailable(); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | DeviceRecoveryModeUtil.java | 65 managedDevice.waitForDeviceAvailable(timeoutMs); in bootOutOfRecovery()
|
D | NativeCodeCoverageFlusher.java | 87 mDevice.waitForDeviceAvailable(5 * 60 * 1000); in forceCoverageFlush()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | DeviceRecoveryModeUtilTest.java | 46 mMockManagedDevice.waitForDeviceAvailable(EasyMock.anyLong()); in testBootOutOfRecovery()
|