Home
last modified time | relevance | path

Searched refs:SHORT_TIMEOUT (Results 1 – 17 of 17) sorted by relevance

/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java43 private static final int SHORT_TIMEOUT = 1000; field in SystemUiJankTests
68 SHORT_TIMEOUT); in goHome()
74 SHORT_TIMEOUT)); in goTopRow() local
116 SHORT_TIMEOUT); in testNavigateToSettings() local
129 SHORT_TIMEOUT)); in goToSettings()
165 UiObject2 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
170 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
174 focus = mDevice.wait(Until.findObject(By.focused(true)), SHORT_TIMEOUT); in select()
191 UiObject2 object = select(selector, direction, SHORT_TIMEOUT); in selectBidirect()
193 object = select(selector, Direction.reverse(direction), SHORT_TIMEOUT); in selectBidirect()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java44 private static final int SHORT_TIMEOUT = 2000; field in AccessibilityScannerHelper
127 SHORT_TIMEOUT * 2); in setAccessibilityScannerSetting()
134 UiObject2 okBtn = mDevice.wait(Until.findObject(By.text("OK")), SHORT_TIMEOUT); in setAccessibilityScannerSetting()
151 By.text("BEGIN AUTHORIZATION")), SHORT_TIMEOUT); in grantPermissions()
156 By.clazz(AccessibilityHelper.CHECK_BOX)), SHORT_TIMEOUT); in grantPermissions()
162 By.text("BEGIN AUTHORIZATION")), SHORT_TIMEOUT); in grantPermissions()
167 By.pkg(ACCESSIBILITY_SCANNER_PACKAGE).text("OK")), SHORT_TIMEOUT); in grantPermissions()
195 Until.findObject(By.text("GET STARTED")), SHORT_TIMEOUT); in initialSetups()
199 By.text("Turn on Accessibility Scanner")), SHORT_TIMEOUT); in initialSetups()
205 mDevice.wait(Until.findObject(By.text("DISMISS")), SHORT_TIMEOUT).click(); in initialSetups()
[all …]
DAccessibilityHelper.java43 public static final int SHORT_TIMEOUT = 2000; field in AccessibilityHelper
79 Until.findObject(By.res(SETTINGS_PACKAGE, "switch_bar")), SHORT_TIMEOUT) in setTalkBackSetting()
89 if (mDevice.wait(Until.hasObject(By.text("TalkBack tutorial")), SHORT_TIMEOUT)) { in setTalkBackSetting()
117 Thread.sleep(SHORT_TIMEOUT); in launchSpecificAccessibilitySetting()
119 By.res(SETTINGS_PACKAGE, "action_bar").enabled(true)), SHORT_TIMEOUT); in launchSpecificAccessibilitySetting()
131 .enabled(true)), SHORT_TIMEOUT) in launchSpecificAccessibilitySetting()
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java44 private static final int SHORT_TIMEOUT = 500; field in ApiDemoJankTests
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()
270 SystemClock.sleep(SHORT_TIMEOUT); in testHideShowAnimationJank()
324 SystemClock.sleep(SHORT_TIMEOUT); in testListViewJank()
[all …]
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java33 private static final int SHORT_TIMEOUT = 1000; field in CalculatorHelper
65 SHORT_TIMEOUT); in clickButton()
89 SHORT_TIMEOUT); in getResultText()
97 SHORT_TIMEOUT); in clearResults()
105 SHORT_TIMEOUT); in scrollResults()
116 SHORT_TIMEOUT); in showAdvancedPad()
127 SHORT_TIMEOUT); in dismissAdvancedPad()
DCalculatorTests.java31 private static final int SHORT_TIMEOUT = 1000; field in CalculatorTests
107 SHORT_TIMEOUT); in testClearButton()
164 Until.findObject(By.res("android:id/alertTitle")), SHORT_TIMEOUT); in testComplexCalculationTimeout()
168 SHORT_TIMEOUT); in testComplexCalculationTimeout()
172 Until.findObject(By.res("android:id/button2")), SHORT_TIMEOUT); in testComplexCalculationTimeout()
187 SHORT_TIMEOUT); in testDegRadSwitch()
192 SHORT_TIMEOUT); in testDegRadSwitch()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java41 public static final int SHORT_TIMEOUT = 2000; field in UiBenchJankTestsHelper
123 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()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTests.java151 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.java106 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()
DUiBenchRenderingJankTests.java100 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testShadowGridListFling()
104 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testShadowGridListFling()
DUiBenchJankTestsHelper.java41 public static final int SHORT_TIMEOUT = 250; field in UiBenchJankTestsHelper
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchWindowInsetsControllerMicrobenchmark.java20 import static com.android.uibench.microbenchmark.UiBenchJankHelper.SHORT_TIMEOUT;
65 SystemClock.sleep(SHORT_TIMEOUT); in testOpenIme()
DUiBenchJankHelper.java50 public static final int SHORT_TIMEOUT = 2000; field in UiBenchJankHelper
149 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
151 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown()
164 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
166 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft()
173 SystemClock.sleep(SHORT_TIMEOUT); in slowSingleFlingDown()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DQuickSettingsHelper.java52 private static final int SHORT_TIMEOUT = 500; field in QuickSettingsHelper
238 mDevice.wait(Until.findObject(FOOTER_SELECTOR), SHORT_TIMEOUT); in launchQuickSetting() local
247 Thread.sleep(SHORT_TIMEOUT); in swipeUp()
257 Thread.sleep(SHORT_TIMEOUT); in swipeDown()
DLockscreenHelper.java45 public static final int SHORT_TIMEOUT = 200; field in LockscreenHelper
228 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
229 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
234 Thread.sleep(SHORT_TIMEOUT); in unlockScreen()
387 Thread.sleep(SHORT_TIMEOUT); in unlockDeviceWithPattern()
406 Thread.sleep(SHORT_TIMEOUT); in enterPatternLockOnceForSettingLock()
DNotificationHelper.java42 public static final int SHORT_TIMEOUT = 200; field in NotificationHelper
127 Thread.sleep(SHORT_TIMEOUT); in checkNotificationExistence()
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DFacebookAppHelperImpl.java58 private static final int SHORT_TIMEOUT = 1000; field in FacebookAppHelperImpl