/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | WaitDeviceRecoveryTest.java | 81 … EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(mMockDevice); in testRecoverDevice_success() 85 … EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(mMockDevice); in testRecoverDevice_success() 101 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(null); in testRecoverDevice_unavailable() 118 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(null); in testRecoverDevice_unavailable_recovers() 123 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())) in testRecoverDevice_unavailable_recovers() 139 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(null); in testRecoverDevice_unavailable_recovery() 148 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())) in testRecoverDevice_unavailable_recovery() 164 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(null); in testRecoverDevice_unavailable_recovery_fail() 200 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())).andReturn(null); in testRecoverDevice_unavailable_fastboot() 221 EasyMock.expect(mMockMonitor.waitForDeviceOnline(EasyMock.anyLong())) in testRecoverDevice_unresponsive() [all …]
|
D | DeviceStateMonitorTest.java | 63 assertEquals(mMockDevice, mMonitor.waitForDeviceOnline()); in testWaitForDeviceOnline_alreadyOnline() 81 assertEquals(mMockDevice, mMonitor.waitForDeviceOnline()); in testWaitForDeviceOnline() 90 assertNull(mMonitor.waitForDeviceOnline(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceOnline_timeout() 704 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable() 733 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_notOnline() 751 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_notBootComplete() 772 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_pmNotResponsive() 797 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_notMounted()
|
D | DeviceManagerTest.java | 716 mMockTestDevice.waitForDeviceOnline(); in testConnectToTcpDevice() 732 mMockTestDevice.waitForDeviceOnline(); in testConnectToTcpDevice_alreadyAllocated() 751 mMockTestDevice.waitForDeviceOnline(); in testConnectToTcpDevice_notOnline() 800 mMockTestDevice.waitForDeviceOnline(); in testDisconnectFromTcpDevice() 821 mMockTestDevice.waitForDeviceOnline(); in testReconnectDeviceToTcp() 842 mMockTestDevice.waitForDeviceOnline(); in testReconnectDeviceToTcp_notOnline()
|
D | TestDeviceTest.java | 234 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in testDisableAdbRoot_unroot() 253 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in setEnableAdbRootExpectations() 285 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in testEnableAdbRoot_rootRetry() 617 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn(mMockIDevice); in testExecuteShellCommand_recoveryRetry() 685 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn(mMockIDevice); in testExecuteShellCommand_recoveryTimeoutRetry() 735 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn(mMockIDevice).times(3); in testExecuteShellCommand_recoveryAttempts() 1113 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in testEncryptDevice_encryptionFails() 2157 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in setRebootExpectations() 2179 EasyMock.expect(mMockStateMonitor.waitForDeviceOnline()).andReturn( in testRebootRecovers()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | BugreportCollectorTest.java | 171 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testTestFailed() 192 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testTestEnded() 215 mMockDevice.waitForDeviceOnline(1000); in testWaitForDevice() 236 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testTestEnded_firstCase() 257 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testTestEnded_firstRun() 276 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testTestRunEnded() 292 mMockDevice.waitForDeviceOnline(EasyMock.anyLong()); in testDescriptiveName()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | GsiDeviceFlashPreparerTest.java | 209 mMockDevice.waitForDeviceOnline(); in testSetup_Success() 254 mMockDevice.waitForDeviceOnline(); in testSetup_Success_FromZipFile() 300 mMockDevice.waitForDeviceOnline(); in testSetup_Success_WithGkiBootImg() 355 mMockDevice.waitForDeviceOnline(); in testSetup_Success_WithGkiBootImgInZip() 405 mMockDevice.waitForDeviceOnline(); in testSetup_Success_Api28() 443 mMockDevice.waitForDeviceOnline(); in testSetup_GsiFlashFailure() 489 mMockDevice.waitForDeviceOnline(); in testSetUp_BootFailure()
|
D | GkiDeviceFlashPreparerTest.java | 281 mMockDevice.waitForDeviceOnline(); in testSetup_Success() 307 mMockDevice.waitForDeviceOnline(); in testSetup_Success_FromZip() 334 mMockDevice.waitForDeviceOnline(); in testSetUp_GkiFlashFailure() 364 mMockDevice.waitForDeviceOnline(); in testSetUp_BootFailure()
|
D | AoaTargetPreparerTest.java | 88 verify(mTestDevice).waitForDeviceOnline(); in testSetUp() 115 verify(mTestDevice, never()).waitForDeviceOnline(); in testSetUp_skipDeviceCheck()
|
D | DeviceFlashPreparerTest.java | 146 mMockDevice.waitForDeviceOnline(); in doSetupExpectations() 201 mMockDevice.waitForDeviceOnline(); in testSetup_buildError()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 145 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in recoverDevice() 174 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in getDeviceAfterRecovery() 224 IDevice newdevice = monitor.waitForDeviceOnline(mOnlineWaitTime); in handleDeviceUnresponsive() 333 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in handleDeviceOnlineExpectedBootloader() 354 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in handleDeviceOnlineExpectedFasbootd() 540 if (monitor.waitForDeviceOnline() != null) { in waitForDevice()
|
D | NativeDevice.java | 3069 waitForDeviceOnline(); in rebootUntilOnline() 3079 waitForDeviceOnline(); in rebootUserspaceUntilOnline() 3270 waitForDeviceOnline(); in enableAdbRoot() 3288 waitForDeviceOnline(); in enableAdbRoot() 3319 waitForDeviceOnline(); in disableAdbRoot() 3405 waitForDeviceOnline(); // Device will not become available until the user data is unlocked. in encryptDevice() 3459 waitForDeviceOnline(); in unencryptDevice() 3603 public void waitForDeviceOnline(long waitTime) throws DeviceNotAvailableException { in waitForDeviceOnline() method in NativeDevice 3604 if (mStateMonitor.waitForDeviceOnline(waitTime) == null) { in waitForDeviceOnline() 3613 public void waitForDeviceOnline() throws DeviceNotAvailableException { in waitForDeviceOnline() method in NativeDevice [all …]
|
D | NativeDeviceStateMonitor.java | 102 public IDevice waitForDeviceOnline(long waitTime) { in waitForDeviceOnline() method in NativeDeviceStateMonitor 138 public IDevice waitForDeviceOnline() { in waitForDeviceOnline() method in NativeDeviceStateMonitor 139 return waitForDeviceOnline(mDefaultOnlineTimeout); in waitForDeviceOnline() 222 IDevice device = waitForDeviceOnline(waitTime); in waitForDeviceAvailable()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | IDeviceStateMonitor.java | 37 public IDevice waitForDeviceOnline(long time); in waitForDeviceOnline() method 49 public IDevice waitForDeviceOnline(); in waitForDeviceOnline() method
|
D | INativeDevice.java | 1156 public void waitForDeviceOnline(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceOnline() method 1167 public void waitForDeviceOnline() throws DeviceNotAvailableException; in waitForDeviceOnline() method
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | UsbResetTestTest.java | 79 verify(mDevice).waitForDeviceOnline(); in testReset() 92 verify(mDevice, times(0)).waitForDeviceOnline(); in testReset_recovery()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CdmaDeviceFlasher.java | 181 device.waitForDeviceOnline(BASEBAND_FLASH_TIMEOUT); in flashSystem() 194 device.waitForDeviceOnline(); in flashSystem()
|
D | DynamicSystemPreparer.java | 103 device.waitForDeviceOnline(); in setUp()
|
D | AoaTargetPreparer.java | 155 device.waitForDeviceOnline(); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | UsbResetTest.java | 63 device.waitForDeviceOnline(); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceUpdateTargetPreparer.java | 92 device.waitForDeviceOnline(); in setUp()
|
D | GkiDeviceFlashPreparer.java | 147 device.waitForDeviceOnline(); in flashGki()
|
D | GsiDeviceFlashPreparer.java | 166 device.waitForDeviceOnline(); in flashGsi()
|
D | DeviceFlashPreparer.java | 250 device.waitForDeviceOnline(); in setUp()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 198 mDevice.waitForDeviceOnline(); in testFastboot()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | BugreportCollector.java | 277 mTestDevice.waitForDeviceOnline((long)mDeviceWaitTimeSecs * 1000); in grabBugreport()
|