Home
last modified time | relevance | path

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

12345678910>>...12

/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DDurationMetricsTests.java86 Thread.sleep(2000); in testDurationMetric()
90 Thread.sleep(2000); in testDurationMetric()
161 Thread.sleep(10); in testDurationMetricWithCondition()
163 Thread.sleep(2_000); in testDurationMetricWithCondition()
167 Thread.sleep(10); in testDurationMetricWithCondition()
171 Thread.sleep(10); in testDurationMetricWithCondition()
175 Thread.sleep(10); in testDurationMetricWithCondition()
177 Thread.sleep(2_000); in testDurationMetricWithCondition()
181 Thread.sleep(10); in testDurationMetricWithCondition()
185 Thread.sleep(10); in testDurationMetricWithCondition()
[all …]
DMetricActivationTests.java163 Thread.sleep(10L); in testCancellation()
167 Thread.sleep(10L); in testCancellation()
171 Thread.sleep(10L); in testCancellation()
175 Thread.sleep(10L); in testCancellation()
179 Thread.sleep(10L); in testCancellation()
183 Thread.sleep(10L); in testCancellation()
187 Thread.sleep(10L); in testCancellation()
191 Thread.sleep(10L); in testCancellation()
195 Thread.sleep(10L); in testCancellation()
199 Thread.sleep(10L); in testCancellation()
[all …]
DGaugeMetricsTests.java99 Thread.sleep(10); in testGaugeMetric()
101 Thread.sleep(10); in testGaugeMetric()
103 Thread.sleep(2000); in testGaugeMetric()
105 Thread.sleep(10); in testGaugeMetric()
107 Thread.sleep(10); in testGaugeMetric()
110 Thread.sleep(10); in testGaugeMetric()
112 Thread.sleep(2000); in testGaugeMetric()
114 Thread.sleep(10); in testGaugeMetric()
118 Thread.sleep(2000); in testGaugeMetric()
190 Thread.sleep(20_000); in testPulledGaugeMetricWithActivation()
[all …]
DCountMetricsTests.java58 Thread.sleep(100); in testSimpleEventCountMetric()
60 Thread.sleep(2000); // Wait for the metrics to propagate to statsd. in testSimpleEventCountMetric()
109 Thread.sleep(10); in testEventCountWithCondition()
111 Thread.sleep(10); in testEventCountWithCondition()
113 Thread.sleep(10); in testEventCountWithCondition()
115 Thread.sleep(10); in testEventCountWithCondition()
117 Thread.sleep(2000); // Wait for the metrics to propagate to statsd. in testEventCountWithCondition()
185 Thread.sleep(10); in testEventCountWithConditionAndActivation()
189 Thread.sleep(10); in testEventCountWithConditionAndActivation()
193 Thread.sleep(10); in testEventCountWithConditionAndActivation()
[all …]
DValueMetricsTests.java85 Thread.sleep(1000); in testValueMetric()
91 Thread.sleep(1000); in testValueMetric()
162 Thread.sleep(2*60_000 + 10_000); in testPullerAcrossBuckets()
166 Thread.sleep(1_000); in testPullerAcrossBuckets()
241 Thread.sleep(GAP_INTERVAL); in testMultipleEventsPerBucket()
243 Thread.sleep(GAP_INTERVAL); in testMultipleEventsPerBucket()
247 Thread.sleep(1_000); in testMultipleEventsPerBucket()
313 Thread.sleep(60_000 + 10_000); in testPullerAcrossBucketsWithActivation()
316 Thread.sleep(1_000); in testPullerAcrossBucketsWithActivation()
391 Thread.sleep(10); in testValueMetricWithConditionAndActivation()
[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/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java87 Thread.sleep(WAIT_TIME_SHORT); in tearDown()
113 Thread.sleep(500); in testCountAnomalyDetection()
119 Thread.sleep(500); in testCountAnomalyDetection()
125 Thread.sleep(1000); in testCountAnomalyDetection()
130 Thread.sleep(WAIT_AFTER_BREADCRUMB_MS); in testCountAnomalyDetection()
164 Thread.sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
168 Thread.sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
173 Thread.sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
183 Thread.sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
189 Thread.sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java33 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderline()
47 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappears()
56 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappears()
69 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
74 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
77 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
80 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineOnBackspace()
97 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappearsWhenCursorMoved()
107 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testBlueUnderlineDisappearsWhenCursorMoved()
117 sleep(DELAY_TO_WAIT_FOR_UNDERLINE_MILLIS); in testComposingStopsOnSpace()
DInputLogicTestsLanguageWithoutSpaces.java79 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testStartComposingInsideText()
99 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
104 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
111 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
112 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testMovingCursorInsideWordAndType()
124 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictions()
DInputLogicTests.java507 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterSpace()
519 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsWithDoubleSpaceToPeriod()
523 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsWithDoubleSpaceToPeriod()
537 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterManualPick()
549 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterPeriod()
572 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterRecorrection()
577 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterRecorrection()
581 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testPredictionsAfterRecorrection()
629 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testManySingleQuotesOneByOne()
641 sleep(DELAY_TO_WAIT_FOR_PREDICTIONS_MILLIS); in testTypingSingleQuotesOneByOne()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DProcStatsValidationTests.java107 Thread.sleep(half); in toggleScreenAndSleep()
109 Thread.sleep(half); in toggleScreenAndSleep()
116 Thread.sleep(WAIT_TIME_SHORT); in testProcessStateByPulling()
120 Thread.sleep(SLEEP_OF_FOREGROUND_SERVICE + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
123 Thread.sleep(SLEEP_OF_ACTION_BACKGROUND_SLEEP + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
126 Thread.sleep(SLEEP_OF_ACTION_SLEEP_WHILE_TOP + EXTRA_WAIT_TIME_MS); in testProcessStateByPulling()
130 Thread.sleep(cacheTime); in testProcessStateByPulling()
134 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); in testProcessStateByPulling()
136 Thread.sleep(60_000); in testProcessStateByPulling()
140 Thread.sleep(WAIT_TIME_SHORT); in testProcessStateByPulling()
[all …]
/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/apps/LegacyCamera/tests/src/com/android/camera/power/
DImageAndVideoCapture.java67 Thread.sleep(WAIT_FOR_STABLE_STATE); in testLaunchCamera()
80 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image()
83 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image()
85 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Image()
103 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos()
106 Thread.sleep(WAIT_FOR_VIDEO_CAPTURE_TO_BE_TAKEN); in testCapture5Videos()
108 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos()
110 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Videos()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java78 Thread.sleep(TIMEOUT); in testLoadingLocationSettings()
100 Thread.sleep(TIMEOUT); in testLocationDeviceOnlyMode()
108 Thread.sleep(TIMEOUT); in testLocationBatterySavingMode()
116 Thread.sleep(TIMEOUT); in testLocationHighAccuracyMode()
126 Thread.sleep(TIMEOUT); in testLocationSettingsElements()
163 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
168 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
171 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode()
203 Thread.sleep(TIMEOUT); in verifyLocationSettingsOnOrOff()
231 Thread.sleep(TIMEOUT); in dismissAlertDialogs()
[all …]
DSoundSettingsTest.java167 Thread.sleep(1000); in loadOtherSoundsPage()
174 Thread.sleep(1000); in launchSoundSettings()
176 Thread.sleep(1000); in launchSoundSettings()
275 SystemClock.sleep(1000); in verifyRingtone()
313 Thread.sleep(TIMEOUT); in clickMore()
319 SystemClock.sleep(1000); in findRingtoneInList()
324 SystemClock.sleep(1000); in findRingtoneInList()
/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 …]
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java147 sleep(1000); in testValidCarrierConfig()
218 sleep(1000); in testInvalidCarrierConfig()
263 sleep(1000); in testChoosingFallbackPolicy()
317 sleep(1000); in testCanBringUpTunnel()
327 sleep(4000); in testCanBringUpTunnel()
369 sleep(1000); in testNoErrorScenario()
415 sleep(1000); in testWifiDisableUnthrottle()
426 sleep(500); in testWifiDisableUnthrottle()
466 sleep(1000); in testWFCDisableUnthrottle()
477 sleep(500); in testWFCDisableUnthrottle()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerServiceTest.java31 sleep(1000); in testSpellchecker()
33 sleep(1000); in testSpellchecker()
51 sleep(1000); in testRussianSpellchecker()
53 sleep(1000); in testRussianSpellchecker()
65 sleep(1000); in testSpellcheckWithPeriods()
67 sleep(1000); in testSpellcheckWithPeriods()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DContentLimitingAdapterUiTest.java62 Thread.sleep(300); in setMaxItem_toLowerThanTotalItems()
73 Thread.sleep(300); in setMaxItem_toLowerThanTotalItems()
84 Thread.sleep(300); in setMaxItem_toOne()
94 Thread.sleep(300); in setMaxItem_toOne()
105 Thread.sleep(300); in setMaxItem_toZero()
113 Thread.sleep(300); in setMaxItem_toZero()
122 Thread.sleep(300); in setMaxItem_toHigherThanTotalItems()
133 Thread.sleep(300); in setMaxItem_toHigherThanTotalItems()
/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()
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/
DPixelStreamManagerTest.cpp226 sleep(1); in TEST()
250 sleep(1); in TEST()
258 sleep(1); in TEST()
267 sleep(1); in TEST()
278 sleep(1); in TEST()
300 sleep(1); in TEST()
309 sleep(1); in TEST()
315 sleep(1); in TEST()
335 sleep(1); in TEST()
343 sleep(1); in TEST()
[all …]
/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/apps/TV/tests/tunerscripts/
Dusbtuner-test.sh42 sleep 5
52 sleep 5 # Wait enough for tuning
58 sleep 10 # Tune and watch the channel for a while
68 sleep $(( $RANDOM % 3 )) # Sleep for 0 - 2 seconds
140 sleep 600 # 10 minutes
/packages/services/Car/tools/perf/janky-frame-test/
Djanky-frame-test.sh72 sleep 2
76 sleep 7
111 sleep 0.5
118 sleep 0.5
123 sleep 3
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java90 Thread.sleep(500); in goodmorning()
92 Thread.sleep(200); in goodmorning()
94 Thread.sleep(100); in goodmorning()
96 Thread.sleep(600); in goodmorning()
180 Thread.sleep(100); in blink()
183 Thread.sleep(200); in blink()
185 Thread.sleep(100); in blink()

12345678910>>...12