Home
last modified time | relevance | path

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

12345678

/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/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.java160 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testExpandNotificationsLatency()
195 mDevice.sleep(); in testFingerprintWakeAndUnlock()
198 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testFingerprintWakeAndUnlock()
225 mDevice.sleep(); in testScreenTurnOn()
228 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testScreenTurnOn()
259 mDevice.sleep(); in testPinCheckDelay()
267 Thread.sleep(300); in testPinCheckDelay()
337 SystemClock.sleep(CLOCK_SETTLE_DELAY); in testAppToRecents()
346 SystemClock.sleep(200); in testAppToRecents()
/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/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/rules/src/android/platform/test/rule/
DYouTubePipRule.java46 SystemClock.sleep(playbackTimeout); in starting()
48 SystemClock.sleep(playbackTimeout); in starting()
50 SystemClock.sleep(playbackTimeout); in starting()
/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/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/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DLockscreenHelper.java131 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
136 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
168 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
173 Thread.sleep(LONG_TIMEOUT); in enterNonMatchingPasscodes()
188 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
193 Thread.sleep(LONG_TIMEOUT); in checkEmergencyCallOnLockScreen()
228 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
229 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
234 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
305 Thread.sleep(LONG_TIMEOUT); in setAndEnterLockscreenCode()
[all …]
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableRule.kt77 uiDevice.sleep() in fold()
78 SystemClock.sleep(ANIMATION_TIMEOUT) // Wait for fold + screen off animations in fold()
81 SystemClock.sleep(ANIMATION_TIMEOUT) // Wait for fold animations in fold()
106 SystemClock.sleep(ANIMATION_TIMEOUT) in halfFold()
130 SystemClock.sleep(ANIMATION_TIMEOUT) // Let's wait for the unfold animation to finish. in unfold()
152 SystemClock.sleep(ANIMATION_TIMEOUT) in rearDisplay()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java123 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
125 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
138 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
140 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
149 SystemClock.sleep(SHORT_TIMEOUT); in slowSingleFlingDown()
155 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()
155 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testSaveLayerAnimation()
270 SystemClock.sleep(UiBenchJankTestsHelper.FULL_TEST_DURATION); in testResizeHWLayer()
/platform_testing/tests/bettertogether/betocq/
Dsetup_utils.py71 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
88 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
95 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
124 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
149 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
204 time.sleep(WIFI_DISCONNECTION_DELAY_SEC)
244 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
257 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
268 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
281 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
[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/bettertogether/quickstart/performance_test/
Dsetup_utils.py63 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
70 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
183 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
196 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
230 time.sleep(PH_FLAG_WRITE_WAIT_TIME_SEC)
321 time.sleep(_DISABLE_ENABLE_GMS_UPDATE_WAIT_TIME_SEC)
332 time.sleep(_DISABLE_ENABLE_GMS_UPDATE_WAIT_TIME_SEC)
/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 …]
/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/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/health/scenarios/tests/assets/
Dscenarios_sample_profile.textpb4 journey: "android.platform.test.scenario.sleep.Idle"
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/system/
DScreenOff.java53 mDevice.sleep(); in testScreenOff()
54 SystemClock.sleep(mDurationMs.get()); in testScreenOff()

12345678