Home
last modified time | relevance | path

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

12345678

/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 …]
Ddriving_info_generator.py168 time.sleep(SAMPLE_INTERVAL_SECONDS)
173 time.sleep(timeLeft)
193 time.sleep(SAMPLE_INTERVAL_SECONDS)
210 time.sleep(SAMPLE_INTERVAL_SECONDS)
/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()
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 …]
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()
/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()
DMoreWirelessSettingsTest2.java155 Thread.sleep(SLEEP_TIME); in testWifiMenuLoadConfigure()
281 Thread.sleep(SLEEP_TIME); in testPhase2Settings()
301 Thread.sleep(SLEEP_TIME); in testCaCertSettings()
564 Thread.sleep(SLEEP_TIME); in verifyKeepWiFiOnDuringSleep()
588 Thread.sleep(SLEEP_TIME); in verifyNetworkNotificationsOnOrOff()
609 Thread.sleep(SLEEP_TIME); in verifyWiFiOnOrOff()
650 Thread.sleep(TIMEOUT); in loadWiFiConfigureMenu()
668 Thread.sleep(SLEEP_TIME*5); in loadAddNetworkMenu()
682 Thread.sleep(SLEEP_TIME); in selectSecurityOption()
690 Thread.sleep(SLEEP_TIME); in selectEAPMethod()
DConnectedDeviceTests.java80 Thread.sleep(TIMEOUT * 2); in testNFCToggle()
84 Thread.sleep(TIMEOUT * 2); in testNFCToggle()
89 Thread.sleep(TIMEOUT * 2); in testNFCToggle()
DMoreWirelessSettingsTests.java78 Thread.sleep(TIMEOUT); in testTetheringMenuLoad()
91 Thread.sleep(TIMEOUT); in testVPNMenuLoad()
124 Thread.sleep(TIMEOUT); in toggleAirplaneModeSwitch()
/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/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()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DVideoCapture.java76 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos()
79 Thread.sleep(video_duration); in captureVideos()
94 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture()
108 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontVideoCapture()
DImageCapture.java80 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages()
83 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages()
101 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture()
115 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
DShotToShotLatency.java78 private void sleep(long time) { in sleep() method in ShotToShotLatency
80 Thread.sleep(time); in sleep()
99 sleep(SNAPSHOT_WAIT); in testShotToShotLatency()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DVideoCapture.java79 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos()
82 Thread.sleep(video_duration); in captureVideos()
98 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture()
113 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontVideoCapture()
DImageCapture.java82 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages()
85 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages()
104 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture()
119 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DSortDocumentUiTest.java78 private void initFiles(long sleep) throws Exception { in initFiles() argument
83 Thread.sleep(sleep); in initFiles()
89 Thread.sleep(sleep); in initFiles()
/packages/apps/TV/common/src/com/android/tv/common/util/
DClock.java53 void sleep(long ms); in sleep() method
69 public void sleep(long ms) {
70 SystemClock.sleep(ms);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSessionManagerTest.java136 Thread.sleep(1); in testEndSession()
283 Thread.sleep(TEST_DELAY_TIME); in testEndSubsessionWithParentComplete()
338 Thread.sleep(1); in testEndExternalSession()
363 Thread.sleep(TEST_DELAY_TIME); in testEndExternalSessionListenerCallback()
403 Thread.sleep(2 * TEST_DELAY_TIME); in testStaleSessionCleanupTimer()
407 Thread.sleep(1000); in testStaleSessionCleanupTimer()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java164 SystemClock.sleep(LISTENER_TIMEOUT_MS); in testAddSchedule_consecutiveNoStop()
186 SystemClock.sleep(LISTENER_TIMEOUT_MS); in testAddSchedule_consecutiveNoFail()
189 SystemClock.sleep(LISTENER_TIMEOUT_MS); in testAddSchedule_consecutiveNoFail()
214 SystemClock.sleep(LISTENER_TIMEOUT_MS); in testAddSchedule_consecutiveUseLessSession()
232 SystemClock.sleep(LISTENER_TIMEOUT_MS); in testUpdateSchedule_noCancel()

12345678