Home
last modified time | relevance | path

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

12345678910>>...41

/cts/hostsidetests/statsdatom/apps/expressloghelperapp/src/com/android/server/cts/device/expresslog/
DAtomTests.java30 Thread.sleep(10); in testCounterMetric()
38 Thread.sleep(10); in testCounterWithUidMetric()
53 Thread.sleep(10); in testHistogramUniformMetric()
55 Thread.sleep(10); in testHistogramUniformMetric()
57 Thread.sleep(10); in testHistogramUniformMetric()
72 Thread.sleep(10); in testHistogramScaledMetric()
74 Thread.sleep(10); in testHistogramScaledMetric()
76 Thread.sleep(10); in testHistogramScaledMetric()
90 Thread.sleep(10); in testHistogramUniformWithUidMetric()
92 Thread.sleep(10); in testHistogramUniformWithUidMetric()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DHandlerTest.java103 sleep(DELAYED); in testPostAtTime1()
114 sleep(DELAYED); in testPostAtTime2()
124 sleep(DELAYED); in testSendMessageAtTime()
161 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
165 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
172 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
176 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
184 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
186 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages()
192 sleep(DELAYED / 2); in testRemoveCallbacksAndMessages()
[all …]
DSystemClockTest.java41 Thread.sleep(100); in testCurrentThreadTimeMillis()
51 Thread.sleep(100); in testElapsedRealtime()
72 SystemClock.sleep(100); in testSleep_currentThreadTimeMillis()
80 SystemClock.sleep(100); in testSleep_elapsedRealtime()
88 SystemClock.sleep(100); in testSleep_uptimeMillis()
96 Thread.sleep(100); in testUptimeMillis()
/cts/tests/tests/util/src/android/util/cts/
DTimingLoggerTest.java50 sleep(); in testTimingLogger()
53 sleep(); in testTimingLogger()
56 sleep(); in testTimingLogger()
63 private void sleep() { in sleep() method in TimingLoggerTest
65 Thread.sleep(SLEEPING_MSEC); in sleep()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DVibratorTests.java47 Thread.sleep(1000); in testOneShotVibration()
54 Thread.sleep(500); in testPredefinedClickVibration()
67 Thread.sleep(500); in testComposedTickThenClickVibration()
74 Thread.sleep(500); in testRepeatedWaveformVibration()
77 Thread.sleep(100); in testRepeatedWaveformVibration()
DStatsdCtsBackgroundService.java45 sleep(SLEEP_OF_ACTION_BACKGROUND_SLEEP); in onHandleIntent()
57 static void sleep(int millis) { in sleep() method in StatsdCtsBackgroundService
59 Thread.sleep(millis); in sleep()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestUtils.java66 int sleep = 125; in waitUntil() local
72 Thread.sleep(sleep); in waitUntil()
73 sleep *= 5; in waitUntil()
74 sleep = Math.min(2000, sleep); in waitUntil()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DCallDomainSelectionTestOnMockModem.java135 TimeUnit.MILLISECONDS.sleep(WAIT_UPDATE_TIMEOUT_MS); in beforeAllTests()
140 TimeUnit.MILLISECONDS.sleep(WAIT_UPDATE_TIMEOUT_MS); in beforeAllTests()
188 TimeUnit.MILLISECONDS.sleep(WAIT_UPDATE_TIMEOUT_MS); in afterAllTests()
232 Thread.sleep(2000); in isPsDialing()
305 TimeUnit.SECONDS.sleep(1); in testCombinedAttachPsSelected()
334 TimeUnit.SECONDS.sleep(1); in testCombinedAttachPsSelected()
351 TimeUnit.SECONDS.sleep(1); in testCombinedAttachPsSelected()
367 TimeUnit.SECONDS.sleep(1); in testVoiceCallOverPs()
396 TimeUnit.SECONDS.sleep(1); in testVoiceCallOverPs()
413 TimeUnit.SECONDS.sleep(1); in testVoiceCallOverPs()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DHostAtomTests.java86 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
110 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testScreenStateChangedAtom()
113 RunUtil.getDefault().sleep(5_000); in testScreenStateChangedAtom()
135 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testScreenStateChangedAtom()
137 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testScreenStateChangedAtom()
154 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
178 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
180 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
182 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
184 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testChargingStateChangedAtom()
[all …]
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTimeoutTest.java109 int sleep = 125; in testDefaultTimeouts() local
125 Thread.sleep(sleep); in testDefaultTimeouts()
126 sleep *= 5; in testDefaultTimeouts()
127 sleep = Math.min(2000, sleep); in testDefaultTimeouts()
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/
DEmulateInputDevice.kt74 Thread.sleep(1000) in <lambda>()
78 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
129 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
147 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
155 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
167 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
195 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
203 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
212 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
222 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
[all …]
/cts/tests/tests/companion/multiprocess/src/android/companion/cts/multiprocess/
DRebindServiceTest.kt59 SystemClock.sleep(2000) in <lambda>()
65 SystemClock.sleep(11000) in <lambda>()
91 SystemClock.sleep(2000) in <lambda>()
96 SystemClock.sleep(11000) in <lambda>()
117 SystemClock.sleep(2000) in <lambda>()
143 SystemClock.sleep(2000) in <lambda>()
152 SystemClock.sleep(11000) in <lambda>()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/settingsstats/
DSettingsStatsTests.java44 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
77 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
81 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
84 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
96 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
99 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testSettingsStatsReported()
114 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testSettingsStatsReported()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DSoundPoolTest.java195 Thread.sleep(waitMsec); in testSoundPoolOp()
198 Thread.sleep(waitMsec); in testSoundPoolOp()
200 Thread.sleep(waitMsec); in testSoundPoolOp()
202 Thread.sleep(waitMsec); in testSoundPoolOp()
204 Thread.sleep(waitMsec); in testSoundPoolOp()
211 Thread.sleep(waitMsec); in testSoundPoolOp()
215 Thread.sleep(waitMsec); in testSoundPoolOp()
220 Thread.sleep(waitMsec * 10); in testSoundPoolOp()
239 Thread.sleep(waitMsec); in testMultiSound()
244 Thread.sleep(waitMsec * 4); in testMultiSound()
[all …]
DVolumeShaperTest.java681 Thread.sleep(WARMUP_TIME_MS); in runTestDuckPlayer()
734 Thread.sleep(WARMUP_TIME_MS); in runTestRampPlayer()
784 Thread.sleep(100 /* millis */); in runTestCornerCasePlayer()
791 Thread.sleep(100 /* millis */); in runTestCornerCasePlayer()
831 Thread.sleep(100 /* millis */); in testPlayerCornerCase2()
866 Thread.sleep(WARMUP_TIME_MS); in testPlayerJoin()
880 Thread.sleep(incrementMs); in testPlayerJoin()
936 Thread.sleep(WARMUP_TIME_MS); in runTestCubicMonotonicPlayer()
953 Thread.sleep(incrementMs); in runTestCubicMonotonicPlayer()
955 Thread.sleep(WARMUP_TIME_MS); in runTestCubicMonotonicPlayer()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/cpu/
DCpuStatsTests.java45 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
69 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuTimePerUid()
72 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuTimePerUid()
93 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuTimePerClusterFreq()
96 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuTimePerClusterFreq()
114 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuCyclesPerUidCluster()
117 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuCyclesPerUidCluster()
137 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCpuCyclesPerThreadGroupCluster()
140 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCpuCyclesPerThreadGroupCluster()
/cts/tests/tests/assist/src/android/assist/cts/
DTextViewTest.java48 SystemClock.sleep(500); in testTextView()
63 SystemClock.sleep(500); in testTextView()
71 SystemClock.sleep(500); in testTextView()
79 SystemClock.sleep(500); in testTextView()
87 SystemClock.sleep(500); in testTextView()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserStatsTests.java51 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in setUp()
65 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in tearDown()
77 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in userCreate()
88 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in removeGuestUser()
99 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in switchUser()
111 RunUtil.getDefault().sleep(WAIT_TIME_LONG); in waitUntilDispatchUserSwitchComplete()
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutConfigsTest.java70 int sleep = 125; in testDefaultTimeouts() local
90 SystemClock.sleep(sleep); in testDefaultTimeouts()
91 sleep *= 5; in testDefaultTimeouts()
92 sleep = Math.min(2000, sleep); in testDefaultTimeouts()
/cts/apps/CameraITS/tests/scene0/
Dtest_vibration_restriction.py69 time.sleep(test_length_second)
79 time.sleep(_SLEEP_BETWEEN_SAMPLES_SEC)
81 time.sleep(_SLEEP_COLLECT_SAMPLES_SEC)
92 time.sleep(_SLEEP_BETWEEN_SAMPLES_SEC)
96 time.sleep(_SLEEP_COLLECT_SAMPLES_SEC)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DIntraPreviewAction.java140 Thread.sleep(mRecordingDuration); in execute()
168 Thread.sleep(PREVIEW_AUTOFOCUS_SLEEP_MS); in execute()
179 Thread.sleep(mStepDuration); in execute()
181 Thread.sleep(PREVIEW_RECORDING_FINAL_SLEEP_MS); in execute()
217 Thread.sleep(PREVIEW_AUTOFOCUS_SLEEP_MS); in execute()
239 Thread.sleep(mAeAwbRegionDuration); in execute()
241 Thread.sleep(PREVIEW_RECORDING_FINAL_SLEEP_MS); in execute()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecRoutingControlTest.java77 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cect_11_1_2_2_RequestActiveSource()
110 TimeUnit.SECONDS.sleep(3); in cect_11_2_2_1_SetStreamPathToDut()
148 TimeUnit.SECONDS.sleep(5); in cect_11_2_2_4_InactiveSourceOnStandby()
175 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in testPowerStateChangeOnActiveSourceLost_standby()
180 TimeUnit.SECONDS.sleep( in testPowerStateChangeOnActiveSourceLost_standby()
202 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in testPowerStateChangeOnActiveSourceLost_none()
207 TimeUnit.SECONDS.sleep( in testPowerStateChangeOnActiveSourceLost_none()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java142 Thread.sleep(1000); in clearNotifications()
146 Thread.sleep(1000); in clearNotifications()
153 Thread.sleep(1000); in performInlineReply()
159 Thread.sleep(1000); in performInlineReply()
167 Thread.sleep(1000); in performInlineReply()
172 Thread.sleep(1000); in performInlineReply()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DUnresponsiveActivity.java35 SystemClock.sleep(delay); in onCreate()
41 SystemClock.sleep(delay); in onKeyDown()
48 SystemClock.sleep(delay); in onTouchEvent()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollerTest.java137 SystemClock.sleep(1000); in testScrollMode()
150 SystemClock.sleep(1000); in testScrollMode()
163 SystemClock.sleep(3000); in testScrollMode()
196 SystemClock.sleep(defaultDuration);
227 SystemClock.sleep(duration / 3); in testFlingMode()
241 SystemClock.sleep(duration / 3); in testFlingMode()
261 SystemClock.sleep(duration); in testFlingMode()
312 SystemClock.sleep(1500);
324 SystemClock.sleep(1000);
338 SystemClock.sleep(1000);
[all …]

12345678910>>...41