Home
last modified time | relevance | path

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

1234567

/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()
208 sleep(250); in TestPriority()
220 sleep(250); in TestPriority()
231 sleep(250); in TestPriority()
253 sleep(250); in TestPauseResume()
258 sleep(250); in TestPauseResume()
[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.java193 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_MatchingPackageAndEventType()
223 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotMatchingPackage()
253 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotMatchingEventType()
285 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
304 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
314 Thread.sleep(TIMEOUT_TEST_NOTIFICATION_TIMEOUT); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
342 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
382 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType()
423 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_OneDefault()
466 Thread.sleep(TIMEOUT_BINDER_CALL); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_TwoDefault()
[all …]
/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/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java107 private void sleep(long sleeptime) { in sleep() method in ConnectivityManagerMobileTest
109 Thread.sleep(sleeptime); in sleep()
123 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT); in test3GToWifiNotification()
133 sleep(10 * 1000); in test3GToWifiNotification()
145 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT); in test3GToWifiNotification()
222 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); in testConnectToWifWithKnownAP()
253 sleep(ConnectivityManagerTestActivity.WIFI_STOP_START_INTERVAL); in testConnectToWifWithKnownAP()
288 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); in testDisconnectWifi()
348 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); in testDataConnectionWith3GToAmTo3G()
460 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); in testDataConnectionWithWifiToAMToWifi()
[all …]
DWifiConnectionTest.java89 sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT, in setUp()
153 private void sleep(long sometime, String errorMsg) { in sleep() method in WifiConnectionTest
155 Thread.sleep(sometime); in sleep()
172 sleep(ConnectivityManagerTestActivity.WIFI_STOP_START_INTERVAL, in testWifiConnections()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java303 Thread.sleep(30 * 1000); // wait 30 secs in runDownloadMultipleSwitching()
307 Thread.sleep(30 * 1000); // wait 30 secs in runDownloadMultipleSwitching()
312 Thread.sleep(5 * 1000); // wait 5 seconds in runDownloadMultipleSwitching()
317 Thread.sleep(30 * 1000); // wait 30 secs in runDownloadMultipleSwitching()
374 Thread.sleep(40 * 1000); // wait 40 seconds in runDownloadMultipleWiFiEnableDisable()
384 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleWiFiEnableDisable()
444 Thread.sleep(60 * 1000); // wait 1 minute in runDownloadMultipleAirplaneModeEnableDisable()
455 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleAirplaneModeEnableDisable()
/frameworks/base/core/java/android/os/
DSystemClock.java107 public static void sleep(long ms) in sleep() method in SystemClock
114 Thread.sleep(duration); in sleep()
/frameworks/base/core/tests/hosttests/src/android/net/
DDownloadManagerHostTests.java132 Thread.sleep(5000); in testDownloadManagerMultipleReboots()
137 Thread.sleep(13000); in testDownloadManagerMultipleReboots()
140 Thread.sleep(9000); in testDownloadManagerMultipleReboots()
143 Thread.sleep(19000); in testDownloadManagerMultipleReboots()
/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/coretests/src/android/view/
DViewAttachTest.java49 SystemClock.sleep(250); in testAttached()
51 SystemClock.sleep(250); in testAttached()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java95 Thread.sleep(2000); in setUp()
173 Thread.sleep(WAIT_TIME_CAMERA_TEST); in testStressCamera()
224 Thread.sleep(WAIT_TIME_RECORDER_TEST); in testStressRecorder()
261 Thread.sleep(WAIT_TIME_CAMERA_TEST); in testStressCameraSwitchRecorder()
287 Thread.sleep(WAIT_TIME_CAMERA_TEST); in testStressCameraSwitchRecorder()
377 Thread.sleep(record_duration); in testStressRecordVideoAndPlayback()
387 Thread.sleep(record_duration); in testStressRecordVideoAndPlayback()
454 Thread.sleep(record_duration); in testStressTimeLapse()
465 Thread.sleep(TIME_LAPSE_PLAYBACK_WAIT_TIME); in testStressTimeLapse()
/frameworks/base/tests/backup/
Dbackup_stress_test.sh29 (while (sleep 10); do
38 sleep 10
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java468 sleep(POLL_TIME); in enable()
528 sleep(POLL_TIME); in disable()
570 sleep(POLL_TIME); in discoverable()
613 sleep(POLL_TIME); in undiscoverable()
652 sleep(POLL_TIME); in startScan()
690 sleep(POLL_TIME); in stopScan()
825 sleep(POLL_TIME); in pairOrAcceptPair()
967 sleep(POLL_TIME); in connectProfile()
1048 sleep(POLL_TIME); in disconnectProfile()
1153 sleep(POLL_TIME); in connectPanOrIncomingPanConnection()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java107 sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT, in setUp()
139 private void sleep(long sometime, String errorMsg) { in sleep() method in WifiStressTest
141 Thread.sleep(sometime); in sleep()
268 sleep(WIFI_IDLE_MS + WIFI_SHUTDOWN_DELAY, "Interruped while wait for wifi to be idle"); in testWifiReconnectionAfterSleep()
278 sleep(mWifiSleepTime, "Interrupted while device is in sleep mode"); in testWifiReconnectionAfterSleep()
/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/av/cmds/stagefright/
Daudioloop.cpp62 sleep(10); in main()
76 sleep(10); in main()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java115 public void sleep(long ms) { in sleep() method in UiAutomatorTestCase
116 SystemClock.sleep(ms); in sleep()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java99 Thread.sleep(MediaNames.RECORDED_TIME); in recordVideo()
163 Thread.sleep(MediaNames.RECORDED_TIME); in recordVideoWithPara()
199 Thread.sleep(MediaNames.RECORDED_TIME); in invalidRecordSetting()
223 Thread.sleep(1000); in getOutputVideoProperty()
259 Thread.sleep(1000); in testPortraitH263()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java48 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos()
51 Thread.sleep(video_duration); in captureVideos()
/frameworks/support/volley/tests/src/com/android/volley/
DRequestQueueTest.java194 SystemClock.sleep(5); in testDrain_suppressesEarlierResponses()
214 SystemClock.sleep(100); in testDrain_suppressesEarlierResponses()
261 SystemClock.sleep(100); in testDrain_preservesUndrainable()
287 SystemClock.sleep(mDelayMillis); in parseNetworkResponse()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java107 Thread.sleep(2000); in setUp()
181 Thread.sleep(1000); in stressCameraPreview()
199 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in mediaStressPlayback()
235 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in stressVideoRecord()
259 Thread.sleep(MEDIA_STRESS_WAIT_TIME); in stressAudioRecord()
347 Thread.sleep(10000); in validateMemoryResult()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp304 nsecs_t sleep = next_vsync - now; in threadLoop() local
305 if (sleep < 0) { in threadLoop()
307 sleep = (period - ((now - next_vsync) % period)); in threadLoop()
308 next_vsync = now + sleep; in threadLoop()

1234567