Home
last modified time | relevance | path

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

12345678910>>...13

/cts/tests/tests/os/src/android/os/cts/
DHandlerTest.java74 sleep(DELAYED); in testPostAtTime1()
84 sleep(DELAYED); in testPostAtTime2()
93 sleep(DELAYED); in testSendMessageAtTime()
126 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
130 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
137 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
141 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
149 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
151 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
157 sleep(DELAYED / 2); in testRemoveCallbacksAndMessages()
[all …]
DSystemClockTest.java27 Thread.sleep(100); in testCurrentThreadTimeMillis()
36 Thread.sleep(100); in testElapsedRealtime()
54 SystemClock.sleep(100); in testSleep()
59 SystemClock.sleep(100); in testSleep()
64 SystemClock.sleep(100); in testSleep()
73 Thread.sleep(100); in testUptimeMillis()
DVibratorTest.java40 sleep(); in testVibratorCancel()
60 sleep(); in testVibratePattern()
88 sleep(); in testVibrateMultiThread()
91 private void sleep() { in sleep() method in VibratorTest
93 Thread.sleep(10000); in sleep()
DAsyncTaskTest.java101 Thread.sleep(COMPUTE_TIME / 2); in testCancelWithInterrupt()
105 Thread.sleep(DURATION); in testCancelWithInterrupt()
114 Thread.sleep(COMPUTE_TIME / 2); in testCancel()
118 Thread.sleep(DURATION); in testCancel()
126 Thread.sleep(DURATION); in testCancelTooLate()
159 Thread.sleep(COMPUTE_TIME); in doInBackground()
DHandlerThreadTest.java39 sleep(SLEEPTIME); in testGetThreadId()
53 private void sleep(long sleepTime) { in sleep() method in HandlerThreadTest
55 Thread.sleep(sleepTime); in sleep()
/cts/tests/tests/util/src/android/util/cts/
DTimingLoggerTest.java36 sleep(); in testTimingLogger()
39 sleep(); in testTimingLogger()
42 sleep(); in testTimingLogger()
49 private void sleep() { in sleep() method in TimingLoggerTest
51 Thread.sleep(SLEEPING_MSEC); in sleep()
/cts/tests/tests/media/src/android/media/cts/
DSoundPoolTest.java153 Thread.sleep(waitMsec); in testSoundPoolOp()
156 Thread.sleep(waitMsec); in testSoundPoolOp()
158 Thread.sleep(waitMsec); in testSoundPoolOp()
160 Thread.sleep(waitMsec); in testSoundPoolOp()
162 Thread.sleep(waitMsec); in testSoundPoolOp()
169 Thread.sleep(waitMsec); in testSoundPoolOp()
173 Thread.sleep(waitMsec); in testSoundPoolOp()
178 Thread.sleep(waitMsec * 10); in testSoundPoolOp()
189 Thread.sleep(waitMsec); in testMultiSound()
194 Thread.sleep(waitMsec * 4); in testMultiSound()
[all …]
DJetPlayerTest.java107 Thread.sleep(20000); in testQueueJetSegmentMuteArray()
139 Thread.sleep(10000); in runJet()
150 Thread.sleep(1000); in runJet()
152 Thread.sleep(1000); in runJet()
154 Thread.sleep(1000); in runJet()
156 Thread.sleep(1000); in runJet()
158 Thread.sleep(1000); in runJet()
160 Thread.sleep(30000); in runJet()
DMediaPlayerTest.java172 Thread.sleep(500); in testVorbisCrash()
227 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
243 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
279 Thread.sleep(SLEEP_TIME);
297 Thread.sleep(SLEEP_TIME);
326 Thread.sleep(duration * 4); // allow for several loops
333 Thread.sleep(SLEEP_TIME);
375 Thread.sleep(SLEEP_TIME);
456 Thread.sleep(SLEEP_TIME);
460 Thread.sleep(SLEEP_TIME);
[all …]
DVideoSurfaceView.java61 Thread.sleep(SLEEP_TIME_MS); in startTest()
64 Thread.sleep(SLEEP_TIME_MS * 5); in startTest()
68 Thread.sleep(SLEEP_TIME_MS); in startTest()
DAudioRecordingConfigurationTest.java111 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations()
127 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations()
147 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testCallback()
155 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testCallback()
163 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testCallback()
182 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
DAsyncPlayerTest.java34 Thread.sleep(PLAY_TIME); in testAsyncPlayer()
44 Thread.sleep(PLAY_TIME); in testAsyncPlayerAudioAttributes()
/cts/tests/tests/view/src/android/view/cts/
DChoreographerTest.java68 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostCallbackWithoutDelayEventuallyRunsCallbacks()
78 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostCallbackWithoutDelayEventuallyRunsCallbacks()
91 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostCallbackWithoutDelayEventuallyRunsCallbacks()
103 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostCallbackWithoutDelayEventuallyRunsCallbacks()
129 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostCallbackWithDelayEventuallyRunsCallbacksAfterDelay()
136 sleep(DELAY_PERIOD); in testPostCallbackWithDelayEventuallyRunsCallbacksAfterDelay()
149 sleep(NOMINAL_VSYNC_PERIOD * 3 + DELAY_PERIOD); in testPostCallbackWithDelayEventuallyRunsCallbacksAfterDelay()
161 sleep(NOMINAL_VSYNC_PERIOD * 3 + DELAY_PERIOD); in testPostCallbackWithDelayEventuallyRunsCallbacksAfterDelay()
205 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostFrameCallbackWithoutDelayEventuallyRunsFrameCallbacks()
221 sleep(NOMINAL_VSYNC_PERIOD * 3); in testPostFrameCallbackWithoutDelayEventuallyRunsFrameCallbacks()
[all …]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java81 sleep(3000); in setUp()
134 sleep(SCAN_DURATION_MILLIS); in testScanFilter()
136 sleep(1000); in testScanFilter()
190 sleep(SCAN_DURATION_MILLIS); in testOpportunisticScan()
204 sleep(SCAN_DURATION_MILLIS); in testOpportunisticScan()
213 sleep(1000); in testOpportunisticScan()
215 sleep(SCAN_DURATION_MILLIS); in testOpportunisticScan()
235 sleep(SCAN_DURATION_MILLIS); in testBatchScan()
315 sleep(SCAN_DURATION_MILLIS); in scan()
317 sleep(1000); in scan()
[all …]
DBasicAdapterTest.java226 sleep(CHECK_WAIT_TIME); in disable()
237 sleep(POLL_TIME); in disable()
259 sleep(CHECK_WAIT_TIME); in enable()
270 sleep(POLL_TIME); in enable()
287 private static void sleep(long t) { in sleep() method in BasicAdapterTest
289 Thread.sleep(t); in sleep()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothTest.java136 sleep(CHECK_WAIT_TIME_MS); in disable()
147 sleep(POLL_TIME_MS); in disable()
170 sleep(CHECK_WAIT_TIME_MS); in enable()
181 sleep(POLL_TIME_MS); in enable()
198 private void sleep(long t) { in sleep() method in BluetoothTest
200 Thread.sleep(t); in sleep()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollerTest.java118 Thread.sleep(1000); in testScrollMode()
135 Thread.sleep(1000); in testScrollMode()
152 Thread.sleep(3000); in testScrollMode()
187 Thread.sleep(defaultDuration);
220 Thread.sleep(duration / 3); in testFlingMode()
238 Thread.sleep(duration / 3); in testFlingMode()
262 Thread.sleep(duration); in testFlingMode()
314 Thread.sleep(1500);
330 Thread.sleep(1000);
346 Thread.sleep(1000);
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java293 private void sleep(int millis) { in sleep() method in BleClientService
295 Thread.sleep(millis); in sleep()
303 sleep(1000); in reliableWrite()
305 sleep(1000); in reliableWrite()
309 sleep(1000); in reliableWrite()
321 sleep(1000);
337 sleep(1000);
352 sleep(1000);
366 sleep(1000);
380 sleep(1000);
[all …]
/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
DCustomizationTest.java47 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed()
53 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed()
59 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java108 Thread.sleep(10000); in getCurrentPosition()
110 Thread.sleep(PAUSE_WAIT_TIME); in getCurrentPosition()
135 Thread.sleep(WAIT_TIME); in seekTo()
164 Thread.sleep(5000); in setLooping()
167 Thread.sleep(20000); in setLooping()
200 Thread.sleep(5000); in pause()
202 Thread.sleep(PAUSE_WAIT_TIME); in pause()
328 Thread.sleep(5000); in videoSeekTo()
332 Thread.sleep(PAUSE_WAIT_TIME); in videoSeekTo()
335 Thread.sleep(1000); in videoSeekTo()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java58 Thread.sleep(TASK_SWITCH_SLOW_WAIT_TIME_MS); in testGlActivitySwitchingFast()
82 Thread.sleep(1000); in setUp()
91 Thread.sleep(5000); in setUp()
115 Thread.sleep(waitTimeMs); in runTaskSwitchTest()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPersistentIntentResolvingTest.java60 SystemClock.sleep(5000); in testNoPersistentPreferredActivityYieldsResolverActivity()
73 SystemClock.sleep(5000); in testAddPersistentPreferredActivityYieldsReceptionAtTarget()
88 SystemClock.sleep(5000); in testAddAndClearPersistentPreferredActivitiesYieldsResolverActivity()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java45 Thread.sleep(TIME_SLICE); in run()
67 Thread.sleep(TIME_SLICE); in check()
/cts/libs/deviceutil/src/android/cts/util/
DPollingCheck.java48 Thread.sleep(TIME_SLICE); in run()
70 Thread.sleep(TIME_SLICE); in check()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeBoundsTest.java56 Thread.sleep(150); in testBasicChangeBounds()
74 Thread.sleep(150); in testResizeClip()
90 Thread.sleep(150); in testResizeClipSmaller()
105 Thread.sleep(150); in testInterruptSameDestination()
123 Thread.sleep(150); in testInterruptSameDestinationResizeClip()
143 Thread.sleep(150); in testInterruptWithReverse()
162 Thread.sleep(150); in testInterruptWithReverseResizeClip()

12345678910>>...13