Home
last modified time | relevance | path

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

12345

/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java80 SystemClock.sleep(SHORT_TIMEOUT); in swipeRight()
86 SystemClock.sleep(SHORT_TIMEOUT); in swipeLeft()
92 SystemClock.sleep(SHORT_TIMEOUT); in swipeUp()
98 SystemClock.sleep(SHORT_TIMEOUT); in swipeDown()
105 SystemClock.sleep(SHORT_TIMEOUT); in flingLeft()
111 SystemClock.sleep(SHORT_TIMEOUT); in flingRight()
117 SystemClock.sleep(SHORT_TIMEOUT); in flingUp()
123 SystemClock.sleep(SHORT_TIMEOUT); in flingDown()
128 SystemClock.sleep(SHORT_TIMEOUT); in clickScreenCenter()
143 SystemClock.sleep(LONG_TIMEOUT); in goBackHome()
[all …]
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DHelperTestUtility.java71 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearCache()
73 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearCache()
81 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearApp()
91 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in sendKeyCode()
99 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in launchPackageViaAdb()
118 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in wakeUpAndUnlock()
DAppStartupHelperTest.java162 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testMultipleColdLaunchMetric()
207 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
213 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
215 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
217 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
294 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
298 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
303 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
331 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testHotLaunchMetric()
334 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testHotLaunchMetric()
[all …]
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java148 SystemClock.sleep(LONG_TIMEOUT); in testActivityTransitionAnimation()
166 SystemClock.sleep(LONG_TIMEOUT); in testViewFlipAnimation()
183 SystemClock.sleep(LONG_TIMEOUT); in testCloningAnimation()
202 SystemClock.sleep(SHORT_TIMEOUT * 2); in testLoadingJank()
221 SystemClock.sleep(SHORT_TIMEOUT); in testSimpleTransitionJank()
227 SystemClock.sleep(SHORT_TIMEOUT); in testSimpleTransitionJank()
246 SystemClock.sleep(SHORT_TIMEOUT); in testHideShowAnimationJank()
252 SystemClock.sleep(SHORT_TIMEOUT); in testHideShowAnimationJank()
258 SystemClock.sleep(SHORT_TIMEOUT); in testHideShowAnimationJank()
264 SystemClock.sleep(SHORT_TIMEOUT); in testHideShowAnimationJank()
[all …]
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java171 Thread.sleep(TIMEOUT * 2); in launchSettingsPage()
216 Thread.sleep(TIMEOUT); in clickSetting()
243 Thread.sleep(400); in clickSetting()
302 Thread.sleep(TIMEOUT); in setStringSetting()
324 Thread.sleep(TIMEOUT); in setIntSetting()
403 Thread.sleep(5000); in verifyToggleSetting()
429 Thread.sleep(500); in verifyRadioSetting()
438 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
446 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
454 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
[all …]
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/samples/testing/
DSampleTimedProfileSuite.java44 SystemClock.sleep(TimeUnit.SECONDS.toMillis(10)); in testLongIdle()
50 SystemClock.sleep(100); in dummyTearDown()
65 SystemClock.sleep(100); in dummyTearDown()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java155 sleep(mPostLaunchTimeout); in setUp()
189 sleep(DEFAULT_DROP_CACHE_DELAY); in testColdLaunchFromLauncher()
200 sleep(mPostLaunchTimeout); in testColdLaunchFromLauncher()
206 sleep(mPostLaunchTimeout); in testColdLaunchFromLauncher()
209 sleep(DEFAULT_DROP_CACHE_DELAY); in testColdLaunchFromLauncher()
244 sleep(mPostLaunchTimeout); in testHotLaunchFromLauncher()
246 sleep(mPostLaunchTimeout); in testHotLaunchFromLauncher()
282 sleep(mPostLaunchTimeout); in testAppToRecents()
289 sleep(mPostLaunchTimeout); in testAppToRecents()
294 sleep(mPostLaunchTimeout); in testAppToRecents()
[all …]
DLatencyTests.java139 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testExpandNotificationsLatency()
174 mDevice.sleep(); in testFingerprintWakeAndUnlock()
177 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testFingerprintWakeAndUnlock()
204 mDevice.sleep(); in testScreenTurnOn()
207 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testScreenTurnOn()
238 mDevice.sleep(); in testPinCheckDelay()
246 Thread.sleep(300); in testPinCheckDelay()
316 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testAppToRecents()
325 SystemClock.sleep(200); in testAppToRecents()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTests.java82 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testFullscreenOverdraw()
95 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testGLTextureView()
110 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testInvalidate()
126 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testTrivialAnimation()
152 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialListViewFling()
156 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialListViewFling()
185 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialRecyclerListViewFling()
189 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialRecyclerListViewFling()
220 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testInflatingListViewFling()
224 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testInflatingListViewFling()
DUiBenchTextJankTests.java86 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testEditTextTyping()
109 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheHighHitrateFling()
114 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheHighHitrateFling()
142 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheLowHitrateFling()
147 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheLowHitrateFling()
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
DAppLinkTests.java78 Thread.sleep(TIMEOUT); in testUserSetToJustOnceAndAlways()
85 Thread.sleep(TIMEOUT); in testUserSetToJustOnceAndAlways()
104 Thread.sleep(TIMEOUT); in testVerifiedAppOpenWhenNotVerifiedSetToAlways()
124 Thread.sleep(TIMEOUT); in testUserChangeVerifiedLinkHandler()
128 Thread.sleep(TIMEOUT); in testUserChangeVerifiedLinkHandler()
140 Thread.sleep(TIMEOUT); in testTestAppSetToAlwaysVerifiedSetToNever()
150 Thread.sleep(TIMEOUT * 5); in testSettingsChangeUI()
162 Thread.sleep(TIMEOUT); in testSettingsChangeUI()
170 Thread.sleep(TIMEOUT); in testSettingsChangeUI()
178 Thread.sleep(TIMEOUT); in testSettingsChangeUI()
[all …]
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DLockscreenHelper.java122 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
127 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
159 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
164 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
179 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
184 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
219 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
220 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
225 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
296 Thread.sleep(LONG_TIMEOUT); in setAndEnterLockscreenCode()
[all …]
DQuickSettingsHelper.java124 Thread.sleep(LONG_TIMEOUT); in modifyListOfQuickSettingsTiles()
130 Thread.sleep(LONG_TIMEOUT); in launchQuickSetting()
137 Thread.sleep(SHORT_TIMEOUT); in swipeUp()
143 Thread.sleep(SHORT_TIMEOUT); in swipeDown()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java97 Thread.sleep(ONE_SECOND); in changeWindowMode()
112 Thread.sleep(ONE_SECOND); in clearRecents()
127 Thread.sleep(ONE_SECOND); in clearRecents()
129 Thread.sleep(ONE_SECOND); in clearRecents()
144 Thread.sleep(ONE_SECOND); in clearRecentsByClearAll()
161 Thread.sleep(ONE_SECOND * 2); in clearRecentsByClearAll()
226 Thread.sleep(ONE_SECOND * 5); in launchIntent()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DScreenRecorderTest.java19 import static android.os.SystemClock.sleep;
63 sleep(100); in videoIsRecorded()
72 sleep(100); in videoCanBeSaved()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java122 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
124 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
137 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
139 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
146 SystemClock.sleep(SHORT_TIMEOUT); in slowSingleFlingDown()
152 SystemClock.sleep(KEY_DELAY); in pressKeyCode()
DUiBenchJankTests.java79 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testFullscreenOverdraw()
90 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testGLTextureView()
101 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testInvalidate()
112 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testInvalidateTree()
123 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testTrivialAnimation()
153 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testSaveLayerAnimation()
268 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testResizeHWLayer()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DHeadsUpNotificationTests.java72 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationInlineReply()
91 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationManualDismiss()
95 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationManualDismiss()
104 Thread.sleep(LONG_TIMEOUT * 3); in testHeadsUpNotificationAutoDismiss()
114 Thread.sleep(LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
125 Thread.sleep(LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
159 Thread.sleep(LONG_TIMEOUT * 2); in setAlarmNow()
DNotificationInteractionTests.java103 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification()
107 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification()
134 Thread.sleep(LONG_TIMEOUT); in testDismissAll()
139 Thread.sleep(LONG_TIMEOUT); in testDismissAll()
162 Thread.sleep(LONG_TIMEOUT); in testNotificationShadeMetrics()
167 Thread.sleep(LONG_TIMEOUT); in testNotificationShadeMetrics()
205 Thread.sleep(LONG_TIMEOUT); in testNotificationShadeMetrics()
242 Thread.sleep(SHORT_TIMEOUT); in testNotificationClicks()
261 Thread.sleep(SHORT_TIMEOUT); in testNotificationClicks()
274 Thread.sleep(SHORT_TIMEOUT); in testNotificationClicks()
[all …]
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sleep/
DIdle.java17 package android.platform.test.scenario.sleep;
43 SystemClock.sleep(mDurationMs.get()); in testDoingNothing()
/platform_testing/tests/health/scenarios/tests/assets/
Dscenarios_sample_profile.textpb4 journey: "android.platform.test.scenario.sleep.Idle"
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java193 SystemClock.sleep(100); in prepareNotifications()
242 SystemClock.sleep(sleepBetweenDuration); in postNotifications()
304 SystemClock.sleep(sleepBetweenDuration); in cancelNotifications()
476 SystemClock.sleep(100); in beforeQuickSettings()
536 mDevice.sleep(); in testUnlock()
538 SystemClock.sleep(300); in testUnlock()
548 SystemClock.sleep(100); in beforeExpand()
598 SystemClock.sleep(100); in beforeClearAllLoop()
632 SystemClock.sleep(200); in beforeChangeBrightness()
663 SystemClock.sleep(500); in testChangeBrightness()
[all …]
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/sleep/
DIdleMemoryMicrobenchmarkBase.java17 package android.platform.test.scenario.sleep;
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DIorapCompilationRule.java80 protected void sleep(int ms) { in sleep() method in IorapCompilationRule
81 SystemClock.sleep(ms); in sleep()
144 sleep(1000); in compileAppForIorapWithRetries()
169 sleep(1000); in compileAppForIorap()
272 sleep(IORAP_TRACE_DURATION_TIMEOUT); in finished()
/platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java83 SystemClock.sleep(PAGE_LOAD_DELAY_TIME_MS); in setUp()
94 SystemClock.sleep(TEST_DELAY_TIME_MS); in beforeLoop()
101 SystemClock.sleep(DEFAULT_ANIMATION_TIME); in testBrowserPageFling()

12345