/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | SysAppTestHelper.java | 45 public static final int SHORT_TIMEOUT = 500; field in SysAppTestHelper 82 SystemClock.sleep(SHORT_TIMEOUT); in swipeRight() 88 SystemClock.sleep(SHORT_TIMEOUT); in swipeLeft() 94 SystemClock.sleep(SHORT_TIMEOUT); in swipeUp() 100 SystemClock.sleep(SHORT_TIMEOUT); in swipeDown() 107 SystemClock.sleep(SHORT_TIMEOUT); in flingLeft() 113 SystemClock.sleep(SHORT_TIMEOUT); in flingRight() 119 SystemClock.sleep(SHORT_TIMEOUT); in flingUp() 125 SystemClock.sleep(SHORT_TIMEOUT); in flingDown() 130 SystemClock.sleep(SHORT_TIMEOUT); in clickScreenCenter() [all …]
|
D | QuickSettingsJankTest.java | 60 SystemClock.sleep(SysAppTestHelper.SHORT_TIMEOUT + SysAppTestHelper.SHORT_TIMEOUT); in isQuickSettingShadeLaunched() 63 SysAppTestHelper.SHORT_TIMEOUT); in isQuickSettingShadeLaunched()
|
D | WatchFaceHelper.java | 39 public static final long SHORT_TIMEOUT = TimeUnit.MILLISECONDS.toMillis(500); field in WatchFaceHelper 141 UiObject2 watchFace = mDevice.wait(Until.findObject(By.text(watchFaceName)), SHORT_TIMEOUT); in selectWatchFaceFromFullList() 146 watchFace = mDevice.wait(Until.findObject(By.desc(watchFaceName)), SHORT_TIMEOUT); in selectWatchFaceFromFullList() 191 SHORT_TIMEOUT); in dismissPermissionDialogs()
|
D | SettingsFlingJankTest.java | 62 SystemClock.sleep(SysAppTestHelper.SHORT_TIMEOUT); in openSettingsApp() 74 SysAppTestHelper.SHORT_TIMEOUT); in testSettingsApp()
|
D | AppLauncherFlingJankTest.java | 81 By.res("com.google.android.wearable.app","launcher_view")), SysAppTestHelper.SHORT_TIMEOUT); in testFlingApps()
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemUiJankTests.java | 43 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/ |
D | AccessibilityScannerHelper.java | 44 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 …]
|
D | AccessibilityHelper.java | 43 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/ |
D | ApiDemoJankTests.java | 44 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/ |
D | CalculatorHelper.java | 36 private static final int SHORT_TIMEOUT = 1000; field in CalculatorHelper 68 SHORT_TIMEOUT); in clickButton() 92 SHORT_TIMEOUT); in getResultText() 100 SHORT_TIMEOUT); in clearResults() 108 SHORT_TIMEOUT); in scrollResults() 119 SHORT_TIMEOUT); in showAdvancedPad() 130 SHORT_TIMEOUT); in dismissAdvancedPad()
|
D | CalculatorTests.java | 34 private static final int SHORT_TIMEOUT = 1000; field in CalculatorTests 110 SHORT_TIMEOUT); in testClearButton() 167 Until.findObject(By.res("android:id/alertTitle")), SHORT_TIMEOUT); in testComplexCalculationTimeout() 171 SHORT_TIMEOUT); in testComplexCalculationTimeout() 175 Until.findObject(By.res("android:id/button2")), SHORT_TIMEOUT); in testComplexCalculationTimeout() 190 SHORT_TIMEOUT); in testDegRadSwitch() 195 SHORT_TIMEOUT); in testDegRadSwitch()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTestsHelper.java | 41 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/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationSecurityLargeTests.java | 33 private static final int SHORT_TIMEOUT = 200; field in NotificationSecurityLargeTests 60 Thread.sleep(SHORT_TIMEOUT); in tearDown() 75 SHORT_TIMEOUT)); in testVisibilitySecret()
|
D | HeadsUpNotificationTests.java | 37 private static final int SHORT_TIMEOUT = 1000; field in HeadsUpNotificationTests 72 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() 130 obj = mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), SHORT_TIMEOUT); in testHeadsUpNotificationAutoDismiss()
|
D | NotificationBundlingTests.java | 34 private static final int SHORT_TIMEOUT = 200; field in NotificationBundlingTests 74 Thread.sleep(SHORT_TIMEOUT); in testBundlingNotification() 107 Thread.sleep(SHORT_TIMEOUT); in testDismissIndividualNotification()
|
D | NotificationInlineReplyTests.java | 34 private static final int SHORT_TIMEOUT = 200; field in NotificationInlineReplyTests 97 Thread.sleep(SHORT_TIMEOUT); in testInLineNotificationsWithQuickSetting()
|
D | NotificationHelper.java | 62 private static final int SHORT_TIMEOUT = 200; field in NotificationHelper 165 Thread.sleep(SHORT_TIMEOUT); in sendNotifications() 217 Thread.sleep(SHORT_TIMEOUT); in checkNotificationExistence() 238 Thread.sleep(SHORT_TIMEOUT); in swipeUp() 244 Thread.sleep(SHORT_TIMEOUT); in swipeDown()
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
D | UiBenchJankTests.java | 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()
|
D | UiBenchTextJankTests.java | 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()
|
D | UiBenchRenderingJankTests.java | 100 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testShadowGridListFling() 104 SystemClock.sleep(mHelper.SHORT_TIMEOUT); in testShadowGridListFling()
|
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/ |
D | UiBenchJankHelper.java | 41 public static final int SHORT_TIMEOUT = 2000; field in UiBenchJankHelper 134 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown() 136 SystemClock.sleep(SHORT_TIMEOUT); in flingUpDown() 149 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft() 151 SystemClock.sleep(SHORT_TIMEOUT); in swipeRightLeft() 158 SystemClock.sleep(SHORT_TIMEOUT); in slowSingleFlingDown()
|
D | UiBenchWindowInsetsControllerMicrobenchmark.java | 20 import static com.android.uibench.microbenchmark.UiBenchJankHelper.SHORT_TIMEOUT; 65 SystemClock.sleep(SHORT_TIMEOUT); in testOpenIme()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | QuickSettingsHelper.java | 52 private static final int SHORT_TIMEOUT = 500; field in QuickSettingsHelper 233 mDevice.wait(Until.findObject(FOOTER_SELECTOR), SHORT_TIMEOUT); in launchQuickSetting() local 242 Thread.sleep(SHORT_TIMEOUT); in swipeUp() 252 Thread.sleep(SHORT_TIMEOUT); in swipeDown()
|
D | LockscreenHelper.java | 43 public static final int SHORT_TIMEOUT = 200; field in LockscreenHelper 223 Thread.sleep(SHORT_TIMEOUT); in unlockScreen() 224 Thread.sleep(SHORT_TIMEOUT); in unlockScreen() 229 Thread.sleep(SHORT_TIMEOUT); in unlockScreen() 382 Thread.sleep(SHORT_TIMEOUT); in unlockDeviceWithPattern() 401 Thread.sleep(SHORT_TIMEOUT); in enterPatternLockOnceForSettingLock()
|
D | NotificationHelper.java | 42 public static final int SHORT_TIMEOUT = 200; field in NotificationHelper 127 Thread.sleep(SHORT_TIMEOUT); in checkNotificationExistence()
|