Home
last modified time | relevance | path

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

1234567

/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/compatibility-common-util/src/com/android/compatibility/common/util/
DCommonTestUtils.java32 int sleep = 125; in waitUntil() local
38 Thread.sleep(sleep); in waitUntil()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DHelperTestUtility.java73 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearCache()
75 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearCache()
83 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in clearApp()
93 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in sendKeyCode()
101 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in launchPackageViaAdb()
120 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in wakeUpAndUnlock()
DAppStartupHelperTest.java181 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testMultipleColdLaunchMetric()
226 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
232 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
234 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
236 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testDifferentAppColdLaunchMetric()
327 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
330 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
335 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testWarmLaunchMetric()
360 SystemClock.sleep(HelperTestUtility.ACTION_DELAY); in testHotLaunchMetric()
364 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.java181 Thread.sleep(TIMEOUT * 2); in launchSettingsPage()
226 Thread.sleep(TIMEOUT); in clickSetting()
253 Thread.sleep(400); in clickSetting()
312 Thread.sleep(TIMEOUT); in setStringSetting()
334 Thread.sleep(TIMEOUT); in setIntSetting()
413 Thread.sleep(5000); in verifyToggleSetting()
439 Thread.sleep(500); in verifyRadioSetting()
448 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
456 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
464 Thread.sleep(TIMEOUT * 3); in toggleWiFiOnOffAndVerify()
[all …]
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/subsystem-sleep-state/
DREADME.md1 # Subsytem sleep state Configs
3 These configs are used to collect the subsystem sleep state on the device as defined in the Subsyst…
/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/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingProfileHelperImpl.java61 SystemClock.sleep(UI_RESPONSE_WAIT_MS); in addProfile()
71 SystemClock.sleep(UI_RESPONSE_WAIT_MS); in deleteProfile()
80 SystemClock.sleep(UI_RESPONSE_WAIT_MS); in deleteCurrentProfile()
111 SystemClock.sleep(UI_RESPONSE_WAIT_MS); in switchProfile()
148 SystemClock.sleep(UI_RESPONSE_WAIT_MS); in clickbutton()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTests.java81 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testFullscreenOverdraw()
94 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testGLTextureView()
109 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testInvalidate()
125 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testTrivialAnimation()
151 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialListViewFling()
155 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialListViewFling()
184 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialRecyclerListViewFling()
188 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testTrivialRecyclerListViewFling()
219 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testInflatingListViewFling()
223 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testInflatingListViewFling()
DUiBenchTextJankTests.java83 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testEditTextTyping()
106 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheHighHitrateFling()
111 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheHighHitrateFling()
139 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheLowHitrateFling()
144 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testLayoutCacheLowHitrateFling()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DLockscreenHelper.java121 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
126 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
158 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
163 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
178 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
183 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
218 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
219 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
224 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
295 Thread.sleep(LONG_TIMEOUT); in setAndEnterLockscreenCode()
[all …]
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java98 Thread.sleep(ONE_SECOND); in changeWindowMode()
113 Thread.sleep(ONE_SECOND); in clearRecents()
128 Thread.sleep(ONE_SECOND); in clearRecents()
130 Thread.sleep(ONE_SECOND); in clearRecents()
145 Thread.sleep(ONE_SECOND); in clearRecentsByClearAll()
162 Thread.sleep(ONE_SECOND * 2); in clearRecentsByClearAll()
227 Thread.sleep(ONE_SECOND * 5); in launchIntent()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DHeadsUpNotificationTests.java72 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationInlineReply()
107 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationManualDismiss()
111 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationManualDismiss()
123 Thread.sleep(SHORT_TIMEOUT); in testHeadsUpNotificationAutoDismiss()
129 Thread.sleep(LONG_TIMEOUT * 3); in testHeadsUpNotificationAutoDismiss()
138 Thread.sleep(LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
149 Thread.sleep(LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
180 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/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()
148 SystemClock.sleep(SHORT_TIMEOUT); in slowSingleFlingDown()
154 SystemClock.sleep(KEY_DELAY); in pressKeyCode()
DUiBenchJankTests.java80 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testFullscreenOverdraw()
91 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testGLTextureView()
102 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testInvalidate()
113 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testInvalidateTree()
124 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testTrivialAnimation()
154 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testSaveLayerAnimation()
269 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testResizeHWLayer()
/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/webview/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java81 SystemClock.sleep(PAGE_LOAD_DELAY_TIME_MS); in setUp()
92 SystemClock.sleep(TEST_DELAY_TIME_MS); in beforeLoop()
99 SystemClock.sleep(DEFAULT_ANIMATION_TIME); in testBrowserPageFling()
/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()
143 sleep(1000); in compileAppForIorapWithRetries()
168 sleep(1000); in compileAppForIorap()
271 sleep(IORAP_TRACE_DURATION_TIMEOUT); in finished()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemAppJankTests.java64 SystemClock.sleep(LONG_TIMEOUT); in launchYoutube()
84 SystemClock.sleep(LONG_TIMEOUT); in goToYoutubeContainer()
116 SystemClock.sleep(LONG_TIMEOUT); in launchApp()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java194 SystemClock.sleep(100); in prepareNotifications()
247 SystemClock.sleep(sleepBetweenDuration); in postNotifications()
317 SystemClock.sleep(sleepBetweenDuration); in cancelNotifications()
489 SystemClock.sleep(100); in beforeQuickSettings()
549 mDevice.sleep(); in testUnlock()
551 SystemClock.sleep(300); in testUnlock()
561 SystemClock.sleep(100); in beforeExpand()
611 SystemClock.sleep(100); in beforeClearAllLoop()
646 SystemClock.sleep(200); in beforeChangeBrightness()
680 SystemClock.sleep(500); in testChangeBrightness()
[all …]

1234567