Home
last modified time | relevance | path

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

12345678910>>...27

/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DDurationMetricsTests.java54 RunUtil.getDefault().sleep(1000); in setUp()
103 RunUtil.getDefault().sleep(2000); in testDurationMetric()
108 RunUtil.getDefault().sleep(2000); in testDurationMetric()
179 RunUtil.getDefault().sleep(10); in testDurationMetricWithCondition()
181 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
186 RunUtil.getDefault().sleep(10); in testDurationMetricWithCondition()
191 RunUtil.getDefault().sleep(10); in testDurationMetricWithCondition()
196 RunUtil.getDefault().sleep(10); in testDurationMetricWithCondition()
198 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
203 RunUtil.getDefault().sleep(10); in testDurationMetricWithCondition()
[all …]
DMetricActivationTests.java72 RunUtil.getDefault().sleep(1000); in setUp()
180 RunUtil.getDefault().sleep(10L); in testCancellation()
185 RunUtil.getDefault().sleep(10L); in testCancellation()
190 RunUtil.getDefault().sleep(10L); in testCancellation()
195 RunUtil.getDefault().sleep(10L); in testCancellation()
200 RunUtil.getDefault().sleep(10L); in testCancellation()
205 RunUtil.getDefault().sleep(10L); in testCancellation()
210 RunUtil.getDefault().sleep(10L); in testCancellation()
215 RunUtil.getDefault().sleep(10L); in testCancellation()
220 RunUtil.getDefault().sleep(10L); in testCancellation()
[all …]
DGaugeMetricsTests.java65 RunUtil.getDefault().sleep(1000); in setUp()
128 RunUtil.getDefault().sleep(10); in testGaugeMetric()
131 RunUtil.getDefault().sleep(10); in testGaugeMetric()
134 RunUtil.getDefault().sleep(2000); in testGaugeMetric()
137 RunUtil.getDefault().sleep(10); in testGaugeMetric()
140 RunUtil.getDefault().sleep(10); in testGaugeMetric()
145 RunUtil.getDefault().sleep(10); in testGaugeMetric()
148 RunUtil.getDefault().sleep(2000); in testGaugeMetric()
151 RunUtil.getDefault().sleep(10); in testGaugeMetric()
156 RunUtil.getDefault().sleep(2000); in testGaugeMetric()
[all …]
DValueMetricsTests.java59 RunUtil.getDefault().sleep(1000); in setUp()
105 RunUtil.getDefault().sleep(1000); in testValueMetric()
114 RunUtil.getDefault().sleep(1000); in testValueMetric()
188 RunUtil.getDefault().sleep(2 * 60_000 + 10_000); in testPullerAcrossBuckets()
193 RunUtil.getDefault().sleep(1_000); in testPullerAcrossBuckets()
271 RunUtil.getDefault().sleep(GAP_INTERVAL); in testMultipleEventsPerBucket()
274 RunUtil.getDefault().sleep(GAP_INTERVAL); in testMultipleEventsPerBucket()
278 RunUtil.getDefault().sleep(1_000); in testMultipleEventsPerBucket()
345 RunUtil.getDefault().sleep(60_000 + 10_000); in testPullerAcrossBucketsWithActivation()
348 RunUtil.getDefault().sleep(1_000); in testPullerAcrossBucketsWithActivation()
[all …]
DCountMetricsTests.java62 RunUtil.getDefault().sleep(1000); in setUp()
91 RunUtil.getDefault().sleep(100); in testSimpleEventCountMetric()
94 RunUtil.getDefault().sleep(2000); // Wait for the metrics to propagate to statsd. in testSimpleEventCountMetric()
147 RunUtil.getDefault().sleep(10); in testEventCountWithCondition()
150 RunUtil.getDefault().sleep(10); in testEventCountWithCondition()
153 RunUtil.getDefault().sleep(10); in testEventCountWithCondition()
156 RunUtil.getDefault().sleep(10); in testEventCountWithCondition()
159 RunUtil.getDefault().sleep(2000); // Wait for the metrics to propagate to statsd. in testEventCountWithCondition()
230 RunUtil.getDefault().sleep(10); in testEventCountWithConditionAndActivation()
235 RunUtil.getDefault().sleep(10); in testEventCountWithConditionAndActivation()
[all …]
/packages/services/Car/tools/emulator/
Duser_action_generator.py141 time.sleep(0.2)
150 time.sleep(1)
174 time.sleep(SHORT_SLEEP_TIME_SEC)
179 time.sleep(SHORT_SLEEP_TIME_SEC)
183 time.sleep(SHORT_SLEEP_TIME_SEC)
187 time.sleep(SHORT_SLEEP_TIME_SEC)
191 time.sleep(LONG_SLEEP_TIME_SEC)
194 time.sleep(LONG_SLEEP_TIME_SEC)
197 time.sleep(SHORT_SLEEP_TIME_SEC)
201 time.sleep(LONG_SLEEP_TIME_SEC)
[all …]
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Dhfp.py87 time.sleep(2)
118 time.sleep(2)
146 time.sleep(2)
186 time.sleep(2)
200 time.sleep(2) # give it time for SCO to come up
211 time.sleep(2)
236 time.sleep(2)
262 time.sleep(2)
281 time.sleep(2)
296 time.sleep(5) # there's a delay before Android registers the call
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java34 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderline()
48 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappears()
57 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappears()
70 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
75 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
78 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
81 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
98 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappearsWhenCursorMoved()
108 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappearsWhenCursorMoved()
118 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testComposingStopsOnSpace()
DInputLogicTestsLanguageWithoutSpaces.java80 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testStartComposingInsideText()
100 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
105 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
112 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
113 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
125 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictions()
/packages/apps/LegacyCamera/tests/src/com/android/camera/power/
DImageAndVideoCapture.java69 Thread.sleep(WAIT_FOR_STABLE_STATE); in testLaunchCamera()
82 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image()
85 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image()
87 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Image()
105 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos()
108 Thread.sleep(WAIT_FOR_VIDEO_CAPTURE_TO_BE_TAKEN); in testCapture5Videos()
110 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos()
112 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Videos()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DProcStatsValidationTests.java55 RunUtil.getDefault().sleep(half); in toggleScreenAndSleep()
57 RunUtil.getDefault().sleep(half); in toggleScreenAndSleep()
64 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testProcessStateByPulling()
68 RunUtil.getDefault().sleep(SLEEP_OF_FOREGROUND_SERVICE + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
72 RunUtil.getDefault().sleep(SLEEP_OF_ACTION_BACKGROUND_SLEEP + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
75 RunUtil.getDefault().sleep(SLEEP_OF_ACTION_SLEEP_WHILE_TOP + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
80 RunUtil.getDefault().sleep(cacheTime); in testProcessStateByPulling()
84 RunUtil.getDefault().sleep(EXTRA_WAIT_TIME_MS + 5_000); in testProcessStateByPulling()
86 RunUtil.getDefault().sleep(60_000); in testProcessStateByPulling()
90 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testProcessStateByPulling()
[all …]
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/src/android/federatedcompute/test/scenario/federatedcompute/
DTestHelper.java102 SystemClock.sleep(5000); in initialize()
106 SystemClock.sleep(5000); in initialize()
110 SystemClock.sleep(5000); in initialize()
114 SystemClock.sleep(5000); in initialize()
130 SystemClock.sleep(2000); in killRunningProcess()
176 SystemClock.sleep(10000); in clickScheduleTraining()
193 SystemClock.sleep(5000); in clickCancelTraining()
226 SystemClock.sleep(10000); in forceExecuteTrainingTaskForTestApp()
249 SystemClock.sleep(10000); in forceExecuteTrainingForNonExistentPopulation()
272 SystemClock.sleep(2000); in forceExecuteEncryptionKeyFetchJob()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java202 sleep(); in shutdownServer()
206 private static void sleep() { in sleep() method in MeasurementCtsDebuggableTest
207 sleep(1L); in sleep()
210 private static void sleep(long seconds) { in sleep() method in MeasurementCtsDebuggableTest
212 TimeUnit.MILLISECONDS.sleep(seconds * 1000L); in sleep()
390 sleep(); in executeRegisterSource()
392 sleep(); in executeRegisterSource()
419 sleep(); in executeRegisterTrigger()
421 sleep(); in executeRegisterTrigger()
454 sleep(); in executeRegisterWebSource()
[all …]
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/src/android/ondevicepersonalization/test/scenario/ondevicepersonalization/
DTestAppHelper.java77 SystemClock.sleep(5000); in initialize()
81 SystemClock.sleep(5000); in initialize()
84 SystemClock.sleep(5000); in initialize()
105 SystemClock.sleep(2000); in killRunningProcess()
138 SystemClock.sleep(UI_ROTATE_IDLE_TIMEOUT); in setOrientationLandscape()
146 SystemClock.sleep(UI_ROTATE_IDLE_TIMEOUT); in setOrientationPortrait()
162 SystemClock.sleep(UI_FIND_RESOURCE_TIMEOUT); in verifyRenderedView()
175 SystemClock.sleep(5000); in clickAd()
195 SystemClock.sleep(3000); in clickReportConversion()
227 SystemClock.sleep(queryIntervalMillis); in findLog()
DDownloadHelper.java66 SystemClock.sleep(5000); in initialize()
70 SystemClock.sleep(5000); in initialize()
83 SystemClock.sleep(2000); in killRunningProcess()
93 SystemClock.sleep(5000); in cleanupDatabase()
100 SystemClock.sleep(5000); in cleanupDownloadedMetadata()
187 SystemClock.sleep(queryIntervalMillis); in findLog()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/
DMeasurementRegisterCalls.java185 sleep(); in shutdownServer()
189 private static void sleep() { in sleep() method in MeasurementRegisterCalls
191 TimeUnit.MILLISECONDS.sleep(2_000); in sleep()
364 sleep(); in executeRegisterSource()
366 sleep(); in executeRegisterSource()
388 sleep(); in executeRegisterTrigger()
390 sleep(); in executeRegisterTrigger()
418 sleep(); in executeRegisterWebSource()
420 sleep(); in executeRegisterWebSource()
447 sleep(); in executeRegisterWebTrigger()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerServiceTest.java32 sleep(1000); in testSpellchecker()
34 sleep(1000); in testSpellchecker()
52 sleep(1000); in testRussianSpellchecker()
54 sleep(1000); in testRussianSpellchecker()
66 sleep(1000); in testSpellcheckWithPeriods()
68 sleep(1000); in testSpellcheckWithPeriods()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java81 Thread.sleep(TIMEOUT); in testLoadingLocationSettings()
103 Thread.sleep(TIMEOUT); in testLocationDeviceOnlyMode()
111 Thread.sleep(TIMEOUT); in testLocationBatterySavingMode()
119 Thread.sleep(TIMEOUT); in testLocationHighAccuracyMode()
129 Thread.sleep(TIMEOUT); in testLocationSettingsElements()
166 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
171 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
174 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
206 Thread.sleep(TIMEOUT); in verifyLocationSettingsOnOrOff()
234 Thread.sleep(TIMEOUT); in dismissAlertDialogs()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java104 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in setUp()
128 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in tearDown()
155 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCountAnomalyDetection()
165 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT); in testCountAnomalyDetection()
175 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_LONG); in testCountAnomalyDetection()
185 RunUtil.getDefault().sleep(WAIT_AFTER_BREADCRUMB_MS); in testCountAnomalyDetection()
222 RunUtil.getDefault().sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
228 RunUtil.getDefault().sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
235 RunUtil.getDefault().sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
248 RunUtil.getDefault().sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
[all …]
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/privatespace/
DPrivateSpaceAuthenticationActivityTest.kt57 Thread.sleep(1000) in showAuthenticationScreen()
60 Thread.sleep(1000) in showAuthenticationScreen()
66 Thread.sleep(1000) in onCancelLockExitSetup()
69 Thread.sleep(1000) in onCancelLockExitSetup()
77 Thread.sleep(1000) in onSetupSetLock()
80 Thread.sleep(1000) in onSetupSetLock()
83 Thread.sleep(1000) in onSetupSetLock()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsTaskSchedulerTest.java70 Thread.sleep(10 * 1000); in testAutoShutdown()
76 Thread.sleep(1 * 1000); in testAutoShutdown()
79 Thread.sleep(1 * 1000); in testAutoShutdown()
82 Thread.sleep(1 * 1000); in testAutoShutdown()
85 Thread.sleep(1 * 1000); in testAutoShutdown()
90 Thread.sleep(10 * 1000); in testAutoShutdown()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DLibStatsPullTests.java107 Thread.sleep(SHORT_SLEEP_MILLIS); in testPullAtomCallbackRegistration()
110 Thread.sleep(LONG_SLEEP_MILLIS); in testPullAtomCallbackRegistration()
140 Thread.sleep(SHORT_SLEEP_MILLIS); in testPullAtomCallbackFailure()
143 Thread.sleep(LONG_SLEEP_MILLIS); in testPullAtomCallbackFailure()
165 Thread.sleep(SHORT_SLEEP_MILLIS); in testPullAtomCallbackTimeout()
168 Thread.sleep(sPullLatencyMillis * 2); in testPullAtomCallbackTimeout()
189 Thread.sleep(SHORT_SLEEP_MILLIS); in testPullAtomCallbackCache()
193 Thread.sleep(LONG_SLEEP_MILLIS); in testPullAtomCallbackCache()
227 Thread.sleep(SHORT_SLEEP_MILLIS); in testPullAtomCallbackStress()
230 Thread.sleep(LONG_SLEEP_MILLIS); in testPullAtomCallbackStress()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/appupdate/src/com/android/adservices/tests/cts/topics/appupdate/
DAppUpdateTest.java162 Thread.sleep(3 * TEST_EPOCH_JOB_PERIOD_MS); in setup()
189 Thread.sleep(TEST_EPOCH_JOB_PERIOD_MS); in testAppUpdate()
193 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
197 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
204 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
210 Thread.sleep(3 * TEST_EPOCH_JOB_PERIOD_MS); in testAppUpdate()
214 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
219 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
224 Thread.sleep(EXECUTION_WAITING_TIME); in testAppUpdate()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java101 sleep(2_000); in testAudioState()
162 sleep(6_000); in testBleScanInterrupted()
167 sleep(6_000); in testBleScanInterrupted()
174 sleep(6_000); // Wait for Bluetooth to fully turn on. in testBleScanInterrupted()
215 sleep(2_000); // Wait for Bluetooth to fully turn on. in performBleAction()
257 sleep(2_000); in performBleScan()
278 sleep(2_000); in testCameraState()
315 sleep(500); in testFlashlight()
332 sleep(500); in testForegroundService()
378 sleep(1_000); in testGpsScan()
[all …]
/packages/modules/Scheduling/tests/unittests/src/com/android/server/scheduling/
DRebootReadinessUnitTest.java234 Thread.sleep(STATE_CHANGE_DELAY); in testCorrectIntentsSent()
240 Thread.sleep(DEVICE_CONFIG_DELAY); in testCorrectIntentsSent()
242 Thread.sleep(STATE_CHANGE_DELAY); in testCorrectIntentsSent()
273 Thread.sleep(STATE_CHANGE_DELAY); in testSecondClientReceivesBroadcastImmediately()
293 Thread.sleep(STATE_CHANGE_DELAY); in testWritingAfterRebootReadyBroadcast()
302 Thread.sleep(DEVICE_CONFIG_DELAY); in testWritingAfterRebootReadyBroadcast()
304 Thread.sleep(STATE_CHANGE_DELAY); in testWritingAfterRebootReadyBroadcast()
307 Thread.sleep(STATE_CHANGE_DELAY); in testWritingAfterRebootReadyBroadcast()
325 Thread.sleep(1000); in testInteractivityChecks()
363 Thread.sleep(DEVICE_CONFIG_DELAY); in testAlarmClockBlocksReboot()
[all …]

12345678910>>...27