Home
last modified time | relevance | path

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

123456789

/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.java116 Thread.sleep(10000); in getCurrentPosition()
118 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in getCurrentPosition()
148 Thread.sleep(MediaNames.WAIT_TIME); in seekTo()
177 Thread.sleep(5000); in setLooping()
180 Thread.sleep(20000); in setLooping()
213 Thread.sleep(5000); in pause()
215 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in pause()
342 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in videoSeekTo()
345 Thread.sleep(1000); in videoSeekTo()
353 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/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DMediaPlayerProxyTestCase.java170 Thread.sleep(2000); in testPlayABitThenRelease()
218 Thread.sleep(2000); in testGetCurrentPosition_DuringPlayback()
236 Thread.sleep(1500); in testGetCurrentPosition_DuringPlaybackWithSeek()
269 Thread.sleep(1000); in testResetWithoutReleaseAndThenReUse()
282 Thread.sleep(2000); in testResetAfterPlaybackThenReUse()
289 Thread.sleep(2000); in testResetDuringPlaybackThenReUse()
294 Thread.sleep(2000); in testResetDuringPlaybackThenReUse()
313 Thread.sleep(2000); in testPause_DuringPlayback()
325 Thread.sleep(200); in testPause_DoesNotInvokeCallback()
335 Thread.sleep(200); in testReset_DoesNotInvokeCallback()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerServiceTest.java195 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_MatchingPackageAndEventType()
225 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotMatchingPackage()
255 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotMatchingEventType()
287 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
306 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
316 Thread.sleep(TIMEOUT_TEST_NOTIFICATION_TIMEOUT); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
344 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
384 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType()
425 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_OneDefault()
468 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_TwoDefault()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java172 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState()
191 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState()
212 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState()
245 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange()
308 SystemClock.sleep(SHORT_TIMEOUT); in pingTest()
368 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP()
408 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
412 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
432 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection()
448 SystemClock.sleep(SHORT_TIMEOUT); in waitUntilNoActiveNetworkConnection()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java81 Thread.currentThread().sleep(SLEEP_TIME); in testLockFairness()
104 Thread.sleep(SLEEP_TIME); in run()
134 Thread.sleep(SLEEP_TIME); in testLockLatency()
161 Thread.sleep(SLEEP_TIME); in run()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java49 SystemClock.sleep(250); in testAttached()
51 SystemClock.sleep(250); in testAttached()
/frameworks/webview/chromium/tests/java/src/com/android/uiautomator/platform/
DWebViewFlingTest.java66 sleep(PAGE_LOAD_DELAY_TIME_MS); in loadUrl()
105 sleep(TEST_DELAY_TIME_MS); in runBrowserPageFling()
109 sleep(DEFAULT_ANIMATION_TIME); in runBrowserPageFling()
/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/webview/chromium/tests/UbWebViewJankTests/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java82 SystemClock.sleep(PAGE_LOAD_DELAY_TIME_MS); in setUp()
93 SystemClock.sleep(TEST_DELAY_TIME_MS); in beforeLoop()
99 SystemClock.sleep(DEFAULT_ANIMATION_TIME); in testBrowserPageFling()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewCallbacks.java47 Thread.sleep(WAIT_TIME); in testPopupNoSelection()
81 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
99 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java104 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/tests/backup/
Dbackup_stress_test.sh29 (while (sleep 10); do
38 sleep 10
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java109 sleep(INITIAL_LAUNCH_IDLE_TIMEOUT); in testMeasureStartUpTime()
111 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT); in testMeasureStartUpTime()
132 sleep(POST_LAUNCH_IDLE_TIMEOUT); in testMeasureStartUpTime()
134 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT); in testMeasureStartUpTime()
276 sleep(POST_LAUNCH_IDLE_TIMEOUT); in closeApp()
290 private void sleep(int time) { in sleep() method in AppLaunch
292 Thread.sleep(time); in sleep()
/frameworks/base/core/java/android/os/
DSystemClock.java113 public static void sleep(long ms) in sleep() method in SystemClock
120 Thread.sleep(duration); in sleep()
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java98 public void sleep(long ms) { in sleep() method in UiAutomatorTestCase
99 SystemClock.sleep(ms); in sleep()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java219 SystemClock.sleep(REGULAR_CLICK_LENGTH); in clickNoSync()
276 SystemClock.sleep(REGULAR_CLICK_LENGTH); in clickRunnable()
296 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
454 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
463 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
466 SystemClock.sleep(REGULAR_CLICK_LENGTH);
508 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
537 SystemClock.sleep(keyDelay);
740 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java469 sleep(POLL_TIME); in enable()
529 sleep(POLL_TIME); in disable()
571 sleep(POLL_TIME); in discoverable()
614 sleep(POLL_TIME); in undiscoverable()
653 sleep(POLL_TIME); in startScan()
691 sleep(POLL_TIME); in stopScan()
826 sleep(POLL_TIME); in pairOrAcceptPair()
979 sleep(POLL_TIME); in connectProfile()
1060 sleep(POLL_TIME); in disconnectProfile()
1165 sleep(POLL_TIME); in connectPanOrIncomingPanConnection()
[all …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
DServicesTests.java52 Thread.sleep((i - 1) * (1 << (i / 5))); in testStressConcurentFirstLaunch()
63 Thread.sleep(5000); in testStressConcurentFirstLaunch()
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
DAsyncTaskPoolMonitorTest.java65 Thread.sleep(50000); in testIsIdle_withRunningTask()
122 Thread.sleep(2000); in testIdleNotificationAndRestart()
125 Thread.sleep(1000); in testIdleNotificationAndRestart()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java105 Thread.sleep(SHORT_WAIT); in setUp()
194 Thread.sleep(1000); in stressCameraPreview()
212 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in mediaStressPlayback()
248 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in stressVideoRecord()
252 Thread.sleep(SHORT_WAIT); in stressVideoRecord()
274 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in stressAudioRecord()
372 Thread.sleep(10000); in validateMemoryResult()
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java134 Thread.sleep(2000); in testSetReuseAddress()
273 Thread.sleep(1000); in disable_testSocketConnectClose()
280 Thread.sleep(1000); in disable_testSocketConnectClose()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java123 SystemClock.sleep(3000); in queryRoots()
184 SystemClock.sleep(2000); in run()
229 if (CHILD_WEDGE) SystemClock.sleep(Integer.MAX_VALUE); in queryChildDocuments()
266 SystemClock.sleep(200); in queryChildDocuments()
302 SystemClock.sleep(3000); in queryRecentDocuments()
384 Thread.sleep(timeoutMillis); in waitForCancelOrTimeout()
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java120 public void sleep(long ms) { in sleep() method in UiAutomatorTestCase
121 SystemClock.sleep(ms); in sleep()

123456789