/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUILauncherTests.java | 41 private static final int LONG_TIMEOUT = 5000; field in SysUILauncherTests 75 Thread.sleep(LONG_TIMEOUT); in testAddAndRemoveWidget() 77 .text("WIDGETS")), LONG_TIMEOUT).click(); in testAddAndRemoveWidget() 78 Thread.sleep(LONG_TIMEOUT); in testAddAndRemoveWidget() 83 LONG_TIMEOUT).click(1000); in testAddAndRemoveWidget() 86 Until.findObject(By.clazz(APP_WIDGET_VIEW)), LONG_TIMEOUT); in testAddAndRemoveWidget() 90 LONG_TIMEOUT); in testAddAndRemoveWidget() 102 Thread.sleep(LONG_TIMEOUT); in testChangeWallPaper() 106 Thread.sleep(LONG_TIMEOUT); in testChangeWallPaper() 108 .text("WALLPAPERS")), LONG_TIMEOUT).click(); in testChangeWallPaper() [all …]
|
D | SysUILockScreenTests.java | 40 private static final int LONG_TIMEOUT = 2000; field in SysUILockScreenTests 77 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testLockScreenPIN() 91 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testLockScreenPwd() 108 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testEmergencyCall() 138 mDevice.wait(Until.findObject(By.text(mode)), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 140 mDevice.wait(Until.findObject(By.text("No thanks")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 142 mABvtHelper.LONG_TIMEOUT); in setScreenLock() 148 mDevice.wait(Until.findObject(By.text("DONE")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock() 156 mDevice.wait(Until.findObject(By.text("EMERGENCY")), mABvtHelper.LONG_TIMEOUT).click(); in checkEmergencyCall() 157 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in checkEmergencyCall() [all …]
|
D | ConnectivityWifiTests.java | 83 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiConnection() 89 Thread.sleep(mABvtHelper.LONG_TIMEOUT * 2); in testWifiConnection() 101 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiDiscoveredAPShownUI() 104 mABvtHelper.LONG_TIMEOUT)); in testWifiDiscoveredAPShownUI() 107 mABvtHelper.LONG_TIMEOUT) in testWifiDiscoveredAPShownUI() 142 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiTetheringDisableEnable() 144 mABvtHelper.LONG_TIMEOUT).click(); in testWifiTetheringDisableEnable() 148 mABvtHelper.LONG_TIMEOUT)); in testWifiTetheringDisableEnable() 151 mABvtHelper.LONG_TIMEOUT).click(); in testWifiTetheringDisableEnable() 157 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiTetheringDisableEnable() [all …]
|
D | SysUIGSATests.java | 80 mABvtHelper.LONG_TIMEOUT).setText(TextToSearch); in testGoogleQuickSearchBar() 81 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 87 QSB_PKG, "search_suggestions_container")), mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 91 QSB_PKG, "search_suggestions_web")), mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 96 mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 98 By.res(QSB_PKG, "text_1").text("Contacts")), mABvtHelper.LONG_TIMEOUT)); in testGoogleQuickSearchBar() 100 suggestions.get(0).clickAndWait(Until.newWindow(), mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 101 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar() 107 mABvtHelper.LONG_TIMEOUT).get(0).getText(); in testGoogleQuickSearchBar() 132 mABvtHelper.LONG_TIMEOUT).setText("Paris"); in testGoogleAssist() [all …]
|
D | SysUINotificationShadeTests.java | 54 private static final int LONG_TIMEOUT = 2000; field in SysUINotificationShadeTests 127 Thread.sleep(LONG_TIMEOUT * 2); in testQuickSettings() 139 mDevice.wait(Until.findObject(By.descContains("Open settings.")), LONG_TIMEOUT) in testQuickSettings() 142 LONG_TIMEOUT); in testQuickSettings() 150 Thread.sleep(LONG_TIMEOUT); in verifyReceiveAndExpandRedactNotification() 154 LONG_TIMEOUT); in verifyReceiveAndExpandRedactNotification() 156 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT * 2) in verifyReceiveAndExpandRedactNotification() 159 LONG_TIMEOUT); in verifyReceiveAndExpandRedactNotification() 162 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT).click(); in verifyReceiveAndExpandRedactNotification() 164 LONG_TIMEOUT); in verifyReceiveAndExpandRedactNotification() [all …]
|
D | FrameworkDownloadTests.java | 83 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testPhotoDownloadSucceed() 98 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testPhotoDownloadSucceed() 166 mCompleteIds.wait(mABvtHelper.LONG_TIMEOUT); in isDownloadCompleted()
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
D | QuickSettingsTest.java | 36 private static final int LONG_TIMEOUT = 2000; field in QuickSettingsTest 84 LONG_TIMEOUT); in testQuickSettingDrawDown() 93 LONG_TIMEOUT); in testQuickSettingExpand() 103 LONG_TIMEOUT).click(); in testQuickSettingCollapse() 109 LONG_TIMEOUT); in testQuickSettingCollapse() 130 Thread.sleep(LONG_TIMEOUT); in testQuickSettingTilesVisible() 157 Thread.sleep(LONG_TIMEOUT); in verifyWiFiOnOrOff() 163 LONG_TIMEOUT).click(); in verifyWiFiOnOrOff() 167 mDevice.wait(Until.findObject(By.res("android:id/toggle")), LONG_TIMEOUT).click(); in verifyWiFiOnOrOff() 169 Thread.sleep(LONG_TIMEOUT); in verifyWiFiOnOrOff() [all …]
|
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
D | ApiDemoJankTests.java | 42 private static final int LONG_TIMEOUT = 5000; field in ApiDemoJankTests 70 LONG_TIMEOUT); in getHomeScreen() 75 LONG_TIMEOUT); in getHomeScreen() 93 By.res(RES_PACKAGE_NAME, "text1").text("Animation")), LONG_TIMEOUT); in selectAnimation() 97 By.res(RES_PACKAGE_NAME, "text1").text(optionName)), LONG_TIMEOUT); in selectAnimation() 100 mDevice.wait(Until.findObject(By.res(RES_PACKAGE_NAME, "content")), LONG_TIMEOUT) in selectAnimation() 103 .text(optionName)), LONG_TIMEOUT); in selectAnimation() 144 LONG_TIMEOUT); in testActivityTransitionAnimation() 146 SystemClock.sleep(LONG_TIMEOUT); in testActivityTransitionAnimation() 164 SystemClock.sleep(LONG_TIMEOUT); in testViewFlipAnimation() [all …]
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | HeadsUpNotificationTests.java | 38 private static final int LONG_TIMEOUT = 2000; field in HeadsUpNotificationTests 73 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testHeadsUpNotificationInlineReply() 77 LONG_TIMEOUT); in testHeadsUpNotificationInlineReply() 93 LONG_TIMEOUT); in testHeadsUpNotificationManualDismiss() 104 Thread.sleep(LONG_TIMEOUT * 3); in testHeadsUpNotificationAutoDismiss() 106 LONG_TIMEOUT); in testHeadsUpNotificationAutoDismiss() 114 Thread.sleep(LONG_TIMEOUT); in testHeadsUpNotificationInlineReplyMulti() 115 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testHeadsUpNotificationInlineReplyMulti() 118 LONG_TIMEOUT); in testHeadsUpNotificationInlineReplyMulti() 125 Thread.sleep(LONG_TIMEOUT); in testHeadsUpNotificationInlineReplyMulti() [all …]
|
D | NotificationDNDTests.java | 43 private static final int LONG_TIMEOUT = 2000; field in NotificationDNDTests 100 Thread.sleep(LONG_TIMEOUT); in testDND() 124 mDevice.wait(Until.findObject(By.textContains("Override Do Not Disturb")), LONG_TIMEOUT) in testPriority() 126 Thread.sleep(LONG_TIMEOUT); in testPriority() 128 Thread.sleep(LONG_TIMEOUT); in testPriority() 136 mDevice.wait(Until.findObject(By.textContains("Override Do Not Disturb")), LONG_TIMEOUT) in testPriority() 149 mDevice.wait(Until.findObject(By.textContains("Block all")), LONG_TIMEOUT).click(); in testBlockNotification() 150 Thread.sleep(LONG_TIMEOUT); in testBlockNotification() 152 Thread.sleep(LONG_TIMEOUT); in testBlockNotification() 158 mDevice.wait(Until.findObject(By.textContains("Block all")), LONG_TIMEOUT).click(); in testBlockNotification() [all …]
|
D | NotificationBundlingTests.java | 35 private static final int LONG_TIMEOUT = 2000; field in NotificationBundlingTests 78 LONG_TIMEOUT); in testBundlingNotification() 80 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT).click(); in testBundlingNotification() 82 LONG_TIMEOUT); in testBundlingNotification() 94 Thread.sleep(LONG_TIMEOUT); in testDismissBundlingNotification() 109 mDevice.wait(Until.findObject(By.res("android:id/expand_button")), LONG_TIMEOUT).click(); in testDismissIndividualNotification() 111 Thread.sleep(LONG_TIMEOUT); in testDismissIndividualNotification() 123 LONG_TIMEOUT); in dismissObject()
|
D | NotificationInlineReplyTests.java | 32 private static final int LONG_TIMEOUT = 2000; field in NotificationInlineReplyTests 69 LONG_TIMEOUT); in testInLineNotificationWithLockScreen() 73 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testInLineNotificationWithLockScreen() 76 LONG_TIMEOUT); in testInLineNotificationWithLockScreen() 93 mDevice.wait(Until.findObject(By.text("REPLY")), LONG_TIMEOUT).click(); in testInLineNotificationsWithQuickSetting() 96 LONG_TIMEOUT); in testInLineNotificationsWithQuickSetting()
|
D | NotificationInteractionTests.java | 36 private static final int LONG_TIMEOUT = 2000; field in NotificationInteractionTests 69 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification() 73 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification() 75 LONG_TIMEOUT); in testNonDismissNotification() 99 Thread.sleep(LONG_TIMEOUT); in testDismissAll() 103 Thread.sleep(LONG_TIMEOUT); in testDismissAll() 113 item = mDevice.wait(Until.findObject(By.text(text)), LONG_TIMEOUT); in findByText()
|
D | NotificationHelper.java | 63 private static final int LONG_TIMEOUT = 2000; field in NotificationHelper 83 Thread.sleep(LONG_TIMEOUT); in sleepAndWakeUpDevice() 91 Thread.sleep(LONG_TIMEOUT * 2); in launchSettingsPage() 163 mDevice.wait(Until.findObject(By.text(text)), LONG_TIMEOUT).click(); in clickText() 178 Thread.sleep(LONG_TIMEOUT); in sendNotification() 194 Thread.sleep(LONG_TIMEOUT); in sendNotifications() 292 Thread.sleep(LONG_TIMEOUT * 2); in showInstalledAppDetails()
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemAppJankTests.java | 40 private static final int LONG_TIMEOUT = 5000; field in SystemAppJankTests 64 SystemClock.sleep(LONG_TIMEOUT); in launchYoutube() 67 Until.findObject(By.scrollable(true).res(YOUTUBE_PACKAGE, "guide")), LONG_TIMEOUT); in launchYoutube() 84 SystemClock.sleep(LONG_TIMEOUT); in goToYoutubeContainer() 87 .res(YOUTUBE_PACKAGE, "container_list")), LONG_TIMEOUT); in goToYoutubeContainer() 116 SystemClock.sleep(LONG_TIMEOUT); in launchApp()
|
/platform_testing/tests/jank/sysapp/src/com/android/sysapp/janktests/ |
D | YouTubeJankTests.java | 45 private static final int LONG_TIMEOUT = 5000; field in YouTubeJankTests 86 Until.findObject(By.res(PACKAGE_NAME, "pane_fragment_container")), LONG_TIMEOUT); in launchYouTube() 106 Until.findObject(By.res(PACKAGE_NAME, "pane_fragment_container")), LONG_TIMEOUT); in testYouTubeRecomendationWindowFling() 118 By.res(PACKAGE_NAME, "done_button")), LONG_TIMEOUT); in dismissCling() 123 … By.res(PACKAGE_NAME, "dogfood_warning_dialog_dismiss_button").text("OK")), LONG_TIMEOUT); in dismissCling() 128 Until.findObject(By.res(PACKAGE_NAME, "skip_button").text("Skip")), LONG_TIMEOUT); in dismissCling() 133 Until.findObject(By.res(PACKAGE_NAME, "text").text("Find music faster")), LONG_TIMEOUT); in dismissCling() 136 Until.findObject(By.res(PACKAGE_NAME, "ok").text("OK")), LONG_TIMEOUT); in dismissCling() 141 Until.findObject(By.res(PACKAGE_NAME, "later_button")), LONG_TIMEOUT); in dismissCling()
|
D | BooksJankTests.java | 47 private static final int LONG_TIMEOUT = 1000; field in BooksJankTests 107 By.res(PACKAGE_NAME, "content_container")), LONG_TIMEOUT); in doNotRun_BooksRecommendationPageFling() 120 Until.findObject(By.clazz(".Button").text("OK")), LONG_TIMEOUT); in dismissClings() 126 Until.findObject(By.desc("Hide navigation drawer")), LONG_TIMEOUT); in dismissClings() 132 By.clazz(Button.class).text("Keep sync off")), LONG_TIMEOUT); in dismissClings() 142 Until.hasObject(By.res(PACKAGE_NAME, "play_drawer_list")), LONG_TIMEOUT)); in openNavigationDrawer() 152 Until.findObject(By.text("My Library").res("")), LONG_TIMEOUT); in openMyLibrary() 159 Until.findObject(By.res(PACKAGE_NAME, "cards_grid")), LONG_TIMEOUT); in getNumberOfVisibleBooks()
|
D | CalendarJankTests.java | 52 private static final int LONG_TIMEOUT = 2000; field in CalendarJankTests 101 mDevice.wait(Until.findObject(mCalendarSelector), LONG_TIMEOUT)); in launchCalendar() 120 calendarItems = mDevice.wait(Until.findObject(mCalendarSelector), LONG_TIMEOUT); in testCalendarItemsFling() 130 By.pkg(PACKAGE_NAME).clazz(View.class).desc("Got it")), LONG_TIMEOUT); in dismissCling() 138 PACKAGE_NAME, "right_arrow_touch")), LONG_TIMEOUT)) != null && counter > 0) { in dismissCling() 145 By.res(PACKAGE_NAME, "done_button").text(pattern)), LONG_TIMEOUT); in dismissCling() 152 By.res(PACKAGE_NAME, "button_dismiss").text(pattern)), LONG_TIMEOUT); in dismissCling()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchJankTests.java | 81 SystemClock.sleep(mHelper.LONG_TIMEOUT * 5); in testFullscreenOverdraw() 94 SystemClock.sleep(mHelper.LONG_TIMEOUT * 5); in testGLTextureView() 107 SystemClock.sleep(mHelper.LONG_TIMEOUT * 5); in testInvalidate() 120 SystemClock.sleep(mHelper.LONG_TIMEOUT * 5); in testTrivialAnimation()
|
D | UiBenchJankTestsHelper.java | 34 public static final int LONG_TIMEOUT = 5000; field in UiBenchJankTestsHelper 73 By.text(verifyText)), LONG_TIMEOUT); in launchActivity()
|
D | UiBenchRenderingJankTests.java | 66 SystemClock.sleep(mHelper.LONG_TIMEOUT * 5); in testBitmapUploadJank()
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
D | SysAppTestHelper.java | 44 public static final int LONG_TIMEOUT = 5000; field in SysAppTestHelper 168 SystemClock.sleep(LONG_TIMEOUT); in goBackHome() 213 SystemClock.sleep(LONG_TIMEOUT); in reloadDemoCards() 228 SysAppTestHelper.LONG_TIMEOUT); in gotoAppLauncher()
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
D | UiBenchJankTests.java | 82 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()
|
D | UiBenchJankTestsHelper.java | 36 public static final int LONG_TIMEOUT = 5000; field in UiBenchJankTestsHelper 120 component.clickAndWait(Until.newWindow(), LONG_TIMEOUT); in openTextInList() local
|
D | UiBenchTextJankTests.java | 75 SystemClock.sleep(mHelper.LONG_TIMEOUT); in forceDeviceHome() 103 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testEditTextTyping()
|