/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | TonesAutoTest.java | 44 Thread.sleep(200); in tonesDtmfTest() 46 Thread.sleep(100); in tonesDtmfTest() 69 Thread.sleep(2000); in tonesSupervisoryTest() 71 Thread.sleep(200); in tonesSupervisoryTest() 81 Thread.sleep(5000); in tonesSupervisoryTest() 83 Thread.sleep(200); in tonesSupervisoryTest() 105 Thread.sleep(1000); in tonesProprietaryTest() 107 Thread.sleep(100); in tonesProprietaryTest() 130 Thread.sleep(100); in tonesSimultaneousTest() 132 Thread.sleep(500); in tonesSimultaneousTest() [all …]
|
D | CodecTest.java | 115 Thread.sleep(10000); in getCurrentPosition() 117 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in getCurrentPosition() 147 Thread.sleep(MediaNames.WAIT_TIME); in seekTo() 176 Thread.sleep(5000); in setLooping() 179 Thread.sleep(20000); in setLooping() 212 Thread.sleep(5000); in pause() 214 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in pause() 341 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in videoSeekTo() 344 Thread.sleep(1000); in videoSeekTo() 352 Thread.sleep(5000); in videoSeekTo() [all …]
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 141 sleep(450); in TestSounds() 144 sleep(50); in TestSounds() 163 sleep(450); in TestScales() 166 sleep(50); in TestScales() 187 sleep(250); in TestRates() 209 sleep(1000); in TestPriority() 219 sleep(1000); in TestPriority() 230 sleep(1000); in TestPriority() 233 sleep(1000); in TestPriority() 240 sleep(1000); in TestPriority() [all …]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 103 Thread.sleep(a.getTotalDuration()); in testStartDelay() 112 Thread.sleep(a.getTotalDuration()); in testStartDelay() 145 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks() 167 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks() 172 Thread.sleep(delay); in testListenerCallbacks() 212 Thread.sleep(POLL_INTERVAL); in testIsStarted() 224 Thread.sleep(startDelay); in testIsStarted() 234 Thread.sleep(delay); in testIsStarted() 264 Thread.sleep(POLL_INTERVAL); in testPause() 277 Thread.sleep(a2.getTotalDuration()); in testPause() [all …]
|
D | AnimatorSetActivityTest.java | 262 Thread.sleep(s.getTotalDuration() + 200); 275 Thread.sleep(s.getTotalDuration() + 100); 287 Thread.sleep(s.getTotalDuration() + 100); 307 Thread.sleep(a2.getTotalDuration()); 359 Thread.sleep(200); in testStart() 402 Thread.sleep(a1.getTotalDuration()); in testCancel() 441 Thread.sleep(50); in testIsRunning() 457 Thread.sleep(50); in testPauseAndResume() 517 Thread.sleep(POLL_INTERVAL); in testClone() 520 Thread.sleep(POLL_INTERVAL); in testClone() [all …]
|
/frameworks/base/tests/TrustTests/src/android/trust/test/ |
D | TemporaryAndRenewableTrustTest.kt | 67 uiDevice.sleep() in sleepingDeviceWithoutGrantLocksDevice() 74 uiDevice.sleep() in grantTrustLockedDevice_deviceStaysLocked() 88 uiDevice.sleep() in grantTrustUnlockedDevice_deviceLocksOnScreenOff() 97 uiDevice.sleep() in grantTrustLockedDevice_grantTrustOnLockedDeviceUnlocksDevice() 116 uiDevice.sleep() in grantTrustLockedDevice_callsBackWhenUnlocked() 137 uiDevice.sleep() in grantTrustLockedDevice_revokeTrustPreventsSubsequentUnlock() 154 private fun await(millis: Long) = Thread.sleep(millis)
|
D | GrantAndRevokeTrustTest.kt | 65 uiDevice.sleep() in sleepingDeviceWithoutGrantLocksDevice() 73 uiDevice.sleep() in grantKeepsDeviceUnlocked() 82 uiDevice.sleep() in grantKeepsDeviceUnlocked_untilRevoked() 100 private fun await() = Thread.sleep(250)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
D | UptimeTimerTest.java | 38 Thread.sleep(50); in testBasic() 40 Thread.sleep(100); in testBasic() 51 Thread.sleep(50); in testCancel() 54 Thread.sleep(100); in testCancel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 110 SystemClock.sleep(TimeUnit.SECONDS.toMillis(2)); in testGlobalActions_doesntStealImeControl() 139 int sleep = 125; in waitUntil() local 145 Thread.sleep(sleep); in waitUntil() 146 sleep *= 5; in waitUntil() 147 sleep = Math.min(2000, sleep); in waitUntil()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 169 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState() 188 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState() 209 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState() 242 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange() 305 SystemClock.sleep(SHORT_TIMEOUT); in pingTest() 365 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP() 405 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi() 409 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi() 429 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection() 445 SystemClock.sleep(SHORT_TIMEOUT); in waitUntilNoActiveNetworkConnection()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | TokenBucketTest.java | 84 Thread.sleep(3 * delta / 2); in testFill() 96 Thread.sleep(2); in testRefill() 102 Thread.sleep(2); in testRefill() 117 Thread.sleep(5 * delta); in testAverage() 136 Thread.sleep(capacity * delta - 2); in testBurst()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 83 Thread.currentThread().sleep(SLEEP_TIME); in testLockFairness() 106 Thread.sleep(SLEEP_TIME); in run() 136 Thread.sleep(SLEEP_TIME); in testLockLatency() 163 Thread.sleep(SLEEP_TIME); in run()
|
/frameworks/av/media/libheadtracking/ |
D | SensorPoseProvider-example.cpp | 73 sleep(2); in main() 77 sleep(2); in main() 79 sleep(2); in main()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_interference.cpp | 69 sleep(1); in TEST() 79 sleep(1); in TEST() 89 sleep(1); in TEST()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerTestApp.java | 298 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching() 302 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching() 308 Thread.sleep(5 * 1000); // wait 5 seconds in runDownloadMultipleSwitching() 314 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching() 371 Thread.sleep(40 * 1000); // wait 40 seconds in runDownloadMultipleWiFiEnableDisable() 381 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleWiFiEnableDisable() 441 Thread.sleep(60 * 1000); // wait 1 minute in runDownloadMultipleAirplaneModeEnableDisable() 452 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleAirplaneModeEnableDisable()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | SetPersistentVrThreadTest.java | 82 Thread.sleep(200); in setPersistentVrModeEnabled() 109 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess() 111 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess() 116 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); in setUp() 131 private void sleep(long sometime, String errorMsg) { in sleep() method in WifiStressTest 133 Thread.sleep(sometime); in sleep() 238 SystemClock.sleep(100); in testWifiReconnectionAfterSleep() 242 SystemClock.sleep(WIFI_IDLE_MS + WIFI_SHUTDOWN_DELAY); in testWifiReconnectionAfterSleep() 256 SystemClock.sleep(mWifiSleepTime); in testWifiReconnectionAfterSleep()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewCallbacks.java | 48 Thread.sleep(WAIT_TIME); in testPopupNoSelection() 82 Thread.sleep(WAIT_TIME); in testPopupEnterSelection() 100 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioDeviceBrokerTest.java | 105 Thread.sleep(2 * MAX_MESSAGE_HANDLING_DELAY_MS); in testPostA2dpDeviceConnectionChange() 193 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in testSetWiredDeviceConnectionState() 214 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in doTestConnectionDisconnectionReconnection() 221 Thread.sleep(delayAfterDisconnection); in doTestConnectionDisconnectionReconnection() 228 Thread.sleep(AudioService.BECOMING_NOISY_DELAY_MS + MAX_MESSAGE_HANDLING_DELAY_MS); in doTestConnectionDisconnectionReconnection()
|
D | AudioServiceTest.java | 96 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in testMuteMicrophone() 121 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in testMuteMicrophoneWhenFail() 133 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); // wait for full AudioService initialization in testRingNotifAlias() 144 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in testRingNotifAlias()
|
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/ |
D | BootImageProfileTest.java | 112 Thread.sleep(1000); in testSystemServerProfile() 135 Thread.sleep(1000); in testSystemServerProfile() 150 Thread.sleep(1000); in testSystemServerProfile() 156 Thread.sleep(1000); in testSystemServerProfile()
|
/frameworks/base/tests/backup/ |
D | backup_stress_test.sh | 29 (while (sleep 10); do 38 sleep 10
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/helpers/ |
D | SplitScreenHelper.kt | 97 SystemClock.sleep(TIMEOUT_MS) in getPrimary() 133 SystemClock.sleep(TIMEOUT_MS) in getPrimary() 138 SystemClock.sleep(TIMEOUT_MS) in getPrimary() 155 SystemClock.sleep(duration) in touch() 189 SystemClock.sleep(GESTURE_STEP_MS) in touchMove()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 134 Thread.sleep(TestJobActivity.JOB_MINIMUM_LATENCY); in scheduleAndAssertJobStarted() 150 Thread.sleep(TestJobActivity.JOB_MINIMUM_LATENCY); in testPowerExemption() 160 Thread.sleep(TestJobActivity.JOB_MINIMUM_LATENCY); in testPowerExemption() 185 Thread.sleep(500); // To avoid race with register in the next setUp in tearDown() 227 Thread.sleep(POLL_INTERVAL);
|
/frameworks/base/tests/testables/src/android/testing/ |
D | PollingCheck.java | 47 Thread.sleep(TIME_SLICE); in run() 69 Thread.sleep(TIME_SLICE); in check()
|