Home
last modified time | relevance | path

Searched refs:LONG_TIMEOUT (Results 1 – 23 of 23) sorted by relevance

/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/
DApiDemoJankTests.java43 private static final int LONG_TIMEOUT = 5000; field in ApiDemoJankTests
72 LONG_TIMEOUT); in getHomeScreen()
77 LONG_TIMEOUT); in getHomeScreen()
95 By.res(RES_PACKAGE_NAME, "text1").text("Animation")), LONG_TIMEOUT); in selectAnimation()
99 By.res(RES_PACKAGE_NAME, "text1").text(optionName)), LONG_TIMEOUT); in selectAnimation()
102 mDevice.wait(Until.findObject(By.res(RES_PACKAGE_NAME, "content")), LONG_TIMEOUT) in selectAnimation()
105 .text(optionName)), LONG_TIMEOUT); in selectAnimation()
146 LONG_TIMEOUT); in testActivityTransitionAnimation()
148 SystemClock.sleep(LONG_TIMEOUT); in testActivityTransitionAnimation()
166 SystemClock.sleep(LONG_TIMEOUT); in testViewFlipAnimation()
[all …]
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DLockscreenHelper.java42 public static final int LONG_TIMEOUT = 2000; field in LockscreenHelper
105 LONG_TIMEOUT * 2); in launchCameraOnLockScreen()
117 mDevice.wait(Until.findObject(By.text("None")), LONG_TIMEOUT * 2).click(); in setScreenLock()
121 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
124 LONG_TIMEOUT); in setScreenLock()
126 Thread.sleep(LONG_TIMEOUT); in setScreenLock()
129 mDevice.wait(Until.findObject(DONE_BUTTON), LONG_TIMEOUT).click(); in setScreenLock()
139 mDevice.wait(Until.findObject(By.text(mode)), LONG_TIMEOUT * 2).click(); in enterScreenLockOnce()
142 mDevice.wait(Until.findObject(By.text("No thanks")), LONG_TIMEOUT).click(); in enterScreenLockOnce()
145 LONG_TIMEOUT); in enterScreenLockOnce()
[all …]
DQuickSettingsHelper.java38 private static final int LONG_TIMEOUT = 2000; field in QuickSettingsHelper
85 (By.descContains("Edit")), LONG_TIMEOUT); in addQuickSettingTileFromEditMenu()
93 (By.descContains(quickSettingTile)), LONG_TIMEOUT); in addQuickSettingTileFromEditMenu()
95 (By.descContains(quickSettingTileToReplace)), LONG_TIMEOUT) in addQuickSettingTileFromEditMenu()
106 mDevice.wait(Until.findObject(By.descContains("Navigate up")), LONG_TIMEOUT); in addQuickSettingTileFromEditMenu()
124 Thread.sleep(LONG_TIMEOUT); in modifyListOfQuickSettingsTiles()
130 Thread.sleep(LONG_TIMEOUT); in launchQuickSetting()
DNotificationHelper.java43 public static final int LONG_TIMEOUT = 2000; field in NotificationHelper
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/
DFacebookAppHelperImpl.java59 private static final int LONG_TIMEOUT = 10000; field in FacebookAppHelperImpl
75 mDevice.wait(Until.findObject(By.text(OK_BUTTON_DESC)), LONG_TIMEOUT); in dismissInitialDialogs()
81 mDevice.wait(Until.findObject(By.text(GENERIC_ALLOW_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs()
87 mDevice.wait(Until.findObject(By.text(WHILE_USING_APP_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs()
95 mDevice.wait(Until.findObject(By.text(REMIND_ME_LATER_TEXT)), LONG_TIMEOUT); in dismissInitialDialogs()
102 mDevice.wait(Until.findObject(By.desc(DENY_BUTTON_DESC)), LONG_TIMEOUT); in dismissInitialDialogs()
111 Until.hasObject(By.desc(Pattern.compile(FEED_TAB_PATTERN))), LONG_TIMEOUT)); in dismissInitialDialogs()
126 mDevice.wait(Until.findObject(By.desc(LOGIN_TEXT_DESC)), LONG_TIMEOUT); in loginWithUi()
130 mDevice.wait(Until.findObject(By.desc(PASSWORD_TEXT_DESC)), LONG_TIMEOUT); in loginWithUi()
137 mDevice.wait(Until.findObject(By.desc(LOGIN_BUTTON_DESC)), LONG_TIMEOUT); in loginWithUi()
[all …]
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DHeadsUpNotificationTests.java38 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()
100 mDevice.wait(Until.findObject(By.text(NOTIFICATION_CONTENT_TEXT)), LONG_TIMEOUT); in testHeadsUpNotificationUpdate()
109 LONG_TIMEOUT); in testHeadsUpNotificationManualDismiss()
125 LONG_TIMEOUT); in testHeadsUpNotificationAutoDismiss()
129 Thread.sleep(LONG_TIMEOUT * 3); in testHeadsUpNotificationAutoDismiss()
138 Thread.sleep(LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
139 mDevice.wait(Until.findObject(By.text("Reply")), LONG_TIMEOUT).click(); in testMultipleHeadsUpNotificationWithInlineReply()
142 LONG_TIMEOUT); in testMultipleHeadsUpNotificationWithInlineReply()
[all …]
DNotificationInlineReplyTests.java35 private static final int LONG_TIMEOUT = 2000; field in NotificationInlineReplyTests
76 LONG_TIMEOUT); in testInLineNotificationWithLockScreen()
80 mDevice.wait(Until.findObject(By.text("Reply")), LONG_TIMEOUT).click(); in testInLineNotificationWithLockScreen()
83 LONG_TIMEOUT); in testInLineNotificationWithLockScreen()
100 mDevice.wait(Until.findObject(By.text("Reply")), LONG_TIMEOUT).click(); in testInLineNotificationsWithQuickSetting()
103 LONG_TIMEOUT); in testInLineNotificationsWithQuickSetting()
114 Thread.sleep(LONG_TIMEOUT); in testInlineReplyNotification()
119 replyBtn = mDevice.wait(Until.findObject(By.res("android:id/action0")), LONG_TIMEOUT); in testInlineReplyNotification()
128 LONG_TIMEOUT); in testInlineReplyNotification()
DNotificationBundlingTests.java35 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()
DNotificationInteractionTests.java59 private static final int LONG_TIMEOUT = 3000; field in NotificationInteractionTests
103 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification()
107 Thread.sleep(LONG_TIMEOUT); in testNonDismissNotification()
109 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()
238 LONG_TIMEOUT); in testNotificationClicks()
[all …]
DNotificationHelper.java61 private static final int LONG_TIMEOUT = 2500; field in NotificationHelper
92 Thread.sleep(LONG_TIMEOUT); in sleepAndWakeUpDevice()
100 Thread.sleep(LONG_TIMEOUT * 2); in launchSettingsPage()
118 mDevice.wait(Until.findObject(By.text("Screen lock")), LONG_TIMEOUT).click(); in navigateToScreenLock()
151 Thread.sleep(LONG_TIMEOUT); in sendNotification()
168 Thread.sleep(LONG_TIMEOUT); in sendNotifications()
262 Thread.sleep(LONG_TIMEOUT * 2); in showAppNotificationSettings()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemAppJankTests.java40 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_wear/src/com/android/wearable/sysapp/janktests/
DSysAppTestHelper.java42 public static final int LONG_TIMEOUT = 5000; field in SysAppTestHelper
143 SystemClock.sleep(LONG_TIMEOUT); in goBackHome()
177 SystemClock.sleep(LONG_TIMEOUT); in reloadDemoCards()
192 SysAppTestHelper.LONG_TIMEOUT); in gotoAppLauncher()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java38 public static final int LONG_TIMEOUT = 2000; field in DeviceHelper
94 Thread.sleep(LONG_TIMEOUT); in sleepAndWakeUpDevice()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java44 public static final int LONG_TIMEOUT = 5000; field in AccessibilityHelper
84 Until.findObject(By.res("android:id/button1")), LONG_TIMEOUT); in setTalkBackSetting()
155 By.res("android:id/button1")), LONG_TIMEOUT); in setSettingSwitchValue()
/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()
DUiBenchJankTestsHelper.java39 public static final int LONG_TIMEOUT = 5000; field in UiBenchJankTestsHelper
126 component.clickAndWait(Until.newWindow(), LONG_TIMEOUT); in openTextInList() local
DUiBenchRenderingJankTests.java79 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testBitmapUploadJank()
DUiBenchTextJankTests.java83 SystemClock.sleep(mHelper.LONG_TIMEOUT); in testEditTextTyping()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java37 public static final int LONG_TIMEOUT = 5000; field in UiBenchJankTestsHelper
89 By.text(verifyText)), LONG_TIMEOUT); in launchActivity()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAllAppsScreenHelper.java33 private static final int LONG_TIMEOUT = 10000; field in AllAppsScreenHelper
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java37 public static final int LONG_TIMEOUT = 5000; field in UiBenchJankHelper
95 mDevice.wait(Until.findObject(By.text(verifyText)), LONG_TIMEOUT); in launchActivity()
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java37 private static final int LONG_TIMEOUT = 2000; field in CalculatorHelper
DCalculatorTests.java35 private static final int LONG_TIMEOUT = 2000; field in CalculatorTests