Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DTonesAutoTest.java44 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 …]
DCodecTest.java115 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/
DSoundPoolTest.java141 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/services/tests/servicestests/src/com/android/server/am/
DFgsLoggerTest.java145 Thread.sleep(2000); in testApiStartStopNoFgs()
161 Thread.sleep(2000); in testApiStartStopFgs()
189 Thread.sleep(2000); in testFgsStartStopApiStartStop()
205 Thread.sleep(1000); in testMultipleStartStopApis()
212 Thread.sleep(1000); in testMultipleStartStopApis()
241 Thread.sleep(1000); in testMultipleStartStopApis()
243 Thread.sleep(1000); in testMultipleStartStopApis()
262 Thread.sleep(1000); in testMultipleStartStops()
269 Thread.sleep(1000); in testMultipleStartStops()
308 Thread.sleep(1000); in testMultipleStartStops()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java105 Thread.sleep(a.getTotalDuration()); in testStartDelay()
114 Thread.sleep(a.getTotalDuration()); in testStartDelay()
147 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks()
169 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks()
174 Thread.sleep(delay); in testListenerCallbacks()
214 Thread.sleep(POLL_INTERVAL); in testIsStarted()
226 Thread.sleep(startDelay); in testIsStarted()
236 Thread.sleep(delay); in testIsStarted()
266 Thread.sleep(POLL_INTERVAL); in testPause()
279 Thread.sleep(a2.getTotalDuration()); in testPause()
[all …]
/frameworks/base/tests/TrustTests/src/android/trust/test/
DGrantAndRevokeTrustTest.kt72 uiDevice.sleep() in sleepingDeviceWithoutGrantLocksDevice()
80 uiDevice.sleep() in grantKeepsDeviceUnlocked()
89 uiDevice.sleep() in grantKeepsDeviceUnlocked_untilRevoked()
102 uiDevice.sleep() in grantCannotActivelyUnlockDevice()
117 uiDevice.sleep() in grantCannotActivelyUnlockDevice()
131 uiDevice.sleep() in grantCouldCauseWrongDeviceLockedStateDueToBug()
135 uiDevice.sleep() in grantCouldCauseWrongDeviceLockedStateDueToBug()
152 private fun await() = Thread.sleep(250)
DTemporaryAndRenewableTrustTest.kt67 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)
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DUptimeTimerTest.java38 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/
DGlobalActionsImeTest.java110 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/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationThumbnailTest.java96 Thread.sleep(2000L); in updateThumbnailLingersThenHidesAfterTimeout()
116 Thread.sleep(1100L); in hideThumbnailRemoves()
135 Thread.sleep(200L); in hideShowHideShowHideRemoves()
152 Thread.sleep(1100L); in hideShowHideShowHideRemoves()
164 Thread.sleep(1100L); in hideWithoutShowDoesNothing()
183 Thread.sleep(1100L); in whenHidden_setBoundsDoesNotShow()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java170 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState()
189 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState()
210 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState()
243 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange()
306 SystemClock.sleep(SHORT_TIMEOUT); in pingTest()
366 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP()
406 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
410 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
430 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection()
446 SystemClock.sleep(SHORT_TIMEOUT); in waitUntilNoActiveNetworkConnection()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java83 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/base/core/tests/coretests/src/com/android/internal/util/
DTokenBucketTest.java96 Thread.sleep(3 * delta / 2); in testFill()
109 Thread.sleep(2); in testRefill()
115 Thread.sleep(2); in testRefill()
131 Thread.sleep(5 * delta); in testAverage()
151 Thread.sleep(capacity * delta - 2); in testBurst()
/frameworks/av/media/libheadtracking/
DSensorPoseProvider-example.cpp73 sleep(2); in main()
77 sleep(2); in main()
79 sleep(2); in main()
/frameworks/av/media/libaaudio/tests/
Dtest_interference.cpp69 sleep(1); in TEST()
79 sleep(1); in TEST()
89 sleep(1); in TEST()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/
DChangeActiveActivityFromBubbleTest.kt53 SystemClock.sleep(1000) in <lambda>()
62 SystemClock.sleep(1000) in <lambda>()
73 SystemClock.sleep(1000) in <lambda>()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeOpenCloseStressTest.java162 SystemClock.sleep(intervalMillis); in testShowHideWithInputMethodManager_intervalAfterHide()
185 SystemClock.sleep(1000); in testShowHideWithInputMethodManager_inSameFrame()
201 SystemClock.sleep(1000); in testShowHideWithInputMethodManager_inSameFrame()
321 SystemClock.sleep(intervalMillis); in testShowHideWithWindowInsetsController_intervalAfterHide()
345 SystemClock.sleep(1000); in testShowHideWithWindowInsetsController_inSameFrame()
361 SystemClock.sleep(1000); in testShowHideWithWindowInsetsController_inSameFrame()
451 Thread.sleep(1000); in testScreenOffOn()
457 uiDevice.sleep(); in testScreenOffOn()
459 Thread.sleep(1000); in testScreenOffOn()
478 Thread.sleep(2000); in testRotateScreenWithKeyboardOn()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DSetPersistentVrThreadTest.java82 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/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java298 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/widget/
DAutoCompleteTextViewCallbacks.java48 Thread.sleep(WAIT_TIME); in testPopupNoSelection()
82 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
100 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java105 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); in setUp()
132 private void sleep(long sometime, String errorMsg) { in sleep() method in WifiStressTest
134 Thread.sleep(sometime); in sleep()
239 SystemClock.sleep(100); in testWifiReconnectionAfterSleep()
243 SystemClock.sleep(WIFI_IDLE_MS + WIFI_SHUTDOWN_DELAY); in testWifiReconnectionAfterSleep()
257 SystemClock.sleep(mWifiSleepTime); in testWifiReconnectionAfterSleep()
/frameworks/libs/systemui/tracinglib/demo/src/com/android/app/tracing/demo/experiments/
DUtil.kt39 Thread.sleep(delayBeforeSuspension) // BAD in getNumber()
41 Thread.sleep(delayAfterSuspension) // BAD in getNumber()
/frameworks/base/tests/backup/
Dbackup_stress_test.sh29 (while (sleep 10); do
38 sleep 10
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
DBootImageProfileTest.java112 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/testables/src/android/testing/
DPollingCheck.java47 Thread.sleep(TIME_SLICE); in run()
69 Thread.sleep(TIME_SLICE); in check()

12345678910>>...20