Home
last modified time | relevance | path

Searched refs:TIMEOUT (Results 1 – 25 of 30) sorted by relevance

12

/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java35 private static final int TIMEOUT = 3000; field in RecentsTests
73 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
81 Thread.sleep(TIMEOUT); in testAddAndDismissItemInRecents()
83 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
93 (By.res(RECENTS)),TIMEOUT); in testScrollThroughRecents()
98 (By.text("CLEAR ALL")),TIMEOUT); in testScrollThroughRecents()
101 Thread.sleep(TIMEOUT); in testScrollThroughRecents()
108 Thread.sleep(TIMEOUT); in testSwipeItemAwayFromRecents()
111 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
120 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
[all …]
DOverviewHelper.java37 private static final int TIMEOUT = 3000; field in OverviewHelper
68 SystemClock.sleep(TIMEOUT); in launchAppWithIntent()
79 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT); in navigateToRecents()
121 (By.res("com.android.systemui:id/recents_view")),TIMEOUT); in dockAppToTopMultiwindowSlot()
123 if (!mDevice.wait(Until.hasObject(By.text("No recent items")),TIMEOUT)) { in dockAppToTopMultiwindowSlot()
126 UiObject2 clearAll = mDevice.wait(Until.findObject(By.text("CLEAR ALL")),TIMEOUT); in dockAppToTopMultiwindowSlot()
130 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
139 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
145 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
149 .res("android:id/content")), TIMEOUT)); in dockAppToTopMultiwindowSlot()
[all …]
DMultiWindowTests.java36 private static final int TIMEOUT = 3000; field in MultiWindowTests
76 mDevice.wait(Until.hasObject(By.text("No recent items")), TIMEOUT)); in testDockingUndockingOnMultiwindow()
79 UiObject2 calcArea = mDevice.wait(Until.findObject(By.res("android:id/content")), TIMEOUT); in testDockingUndockingOnMultiwindow()
83 mDevice.wait(Until.hasObject(By.text("No recent items")), TIMEOUT)); in testDockingUndockingOnMultiwindow()
92 Thread.sleep(TIMEOUT); in testResizeHandleOnMultiwindow()
96 (By.pkg(CALCULATOR_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
100 (By.pkg(GMAIL_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
108 (By.pkg(CALCULATOR_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
112 (By.pkg(GMAIL_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
129 Thread.sleep(TIMEOUT); in testLandscapeModeMultiwindow()
[all …]
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java77 public static final int TIMEOUT = 2000; field in SettingsHelper
106 TIMEOUT); in openSearch() local
118 TIMEOUT) in performNoResultQuery()
123 TIMEOUT); in performNoResultQuery() local
127 TIMEOUT) in performNoResultQuery()
181 Thread.sleep(TIMEOUT * 2); in launchSettingsPage()
202 TIMEOUT * 2); in loadAllSettings()
206 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT * 2).click(); in loadAllSettings()
208 TIMEOUT * 2); in loadAllSettings()
221 while (count > 0 && mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT) == null) { in clickSetting()
[all …]
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTests.java69 random.nextInt(2 * mDLAppHelper.TIMEOUT), Boolean.FALSE); in testAddCompletedDownload()
81 By.res("com.android.documentsui:id/container_directory")), mDLAppHelper.TIMEOUT); in testScroll()
120 2 * mDLAppHelper.TIMEOUT).click(); in testToggleViewTypeForDownloadItems()
124 2 * mDLAppHelper.TIMEOUT).click(); in testToggleViewTypeForDownloadItems()
133 mDLAppHelper.TIMEOUT).getChildren().get(1).click(1 * 2 * mDLAppHelper.TIMEOUT); in testCABMenuShow()
137 DownloadAppTestHelper.PACKAGE_NAME))), mDLAppHelper.TIMEOUT)) == null in testCABMenuShow()
142 DownloadAppTestHelper.PACKAGE_NAME))), mDLAppHelper.TIMEOUT)) == null in testCABMenuShow()
147 By.desc("More options")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
151 By.desc("Done")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
155 SystemClock.sleep(2 * mDLAppHelper.TIMEOUT); in testCABMenuShow()
[all …]
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java55 private static final int TIMEOUT = 5000; field in DialerJankTests
97 UiObject2 contacts = mDevice.wait(Until.findObject(By.desc("Contacts")), TIMEOUT); in launchDialer()
99 contacts.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
102 By.res(RES_PACKAGE_NAME, "cliv_name_textview").text(CONTACT_NAME)), TIMEOUT); in launchDialer()
104 contactName.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
107 By.res(RES_PACKAGE_NAME2,"header").text(CONTACT_NUMBER)), TIMEOUT); in launchDialer()
109 contactNumber.clickAndWait(Until.newWindow(), TIMEOUT); in launchDialer() local
112 "floating_end_call_action_button")), 2 * TIMEOUT); in launchDialer()
113 endCall.clickAndWait(Until.newWindow(), TIMEOUT);; in launchDialer() local
122 By.res(RES_PACKAGE_NAME2,"header").text(CONTACT_NUMBER)), TIMEOUT); in testDialerCallInit()
[all …]
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DGenericAppPermissionTests.java118 pHelper.TIMEOUT).click(); in testPermissionDialogAllow()
120 By.res(PACKAGE_INSTALLER, "permission_allow_button")), pHelper.TIMEOUT).click(); in testPermissionDialogAllow()
138 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
139 UiObject2 dontAskChk = mDevice.wait(Until.findObject(dontAskChkSelector), pHelper.TIMEOUT); in testPermissionDialogDenyFlow()
141 mDevice.wait(Until.findObject(denySelctor), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
142 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
143 mDevice.wait(Until.findObject(dontAskChkSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
144 mDevice.wait(Until.findObject(denySelctor), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
145 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click();; in testPermissionDialogDenyFlow()
146 assertNull(mDevice.wait(Until.findObject(denySelctor), pHelper.TIMEOUT)); in testPermissionDialogDenyFlow()
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java36 public static final int TIMEOUT = 1000; field in AccountHelper
70 TIMEOUT * 5); in hasDeviceBackupAccount()
99 TIMEOUT); in dismissInitalDialogs()
102 Thread.sleep(TIMEOUT); in dismissInitalDialogs()
105 TIMEOUT); in dismissInitalDialogs()
110 Thread.sleep(TIMEOUT); in dismissInitalDialogs()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTests.java79 By.res("android", "content")), mHelper.TIMEOUT); in testFullscreenOverdraw()
107 By.res("android", "content")), mHelper.TIMEOUT); in testInvalidate()
123 By.res("android", "content")), mHelper.TIMEOUT); in testTrivialAnimation()
139 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
148 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
153 By.clazz(ListView.class)), mHelper.TIMEOUT); in testTrivialListViewFling()
170 By.res("android", "content")), mHelper.TIMEOUT); in testTrivialRecyclerListViewFling()
181 By.res("android", "content")), mHelper.TIMEOUT); in testTrivialRecyclerListViewFling()
186 By.res("android", "content")), mHelper.TIMEOUT); in testTrivialRecyclerListViewFling()
205 By.res("android", "content")), mHelper.TIMEOUT); in testInflatingListViewFling()
[all …]
DUiBenchTextJankTests.java97 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
104 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
109 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
114 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheHighHitrateFling()
130 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
137 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
142 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
147 By.clazz(ListView.class)), mHelper.TIMEOUT); in testLayoutCacheLowHitrateFling()
DUiBenchJankTestsHelper.java40 public static final int TIMEOUT = 250; field in UiBenchJankTestsHelper
112 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList()
116 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList()
122 By.res(RES_PACKAGE_NAME, TEXT_OBJECT_NAME).text(itemName)), TIMEOUT); in openTextInList()
127 SystemClock.sleep(TIMEOUT); in openTextInList()
DUiBenchRenderingJankTests.java93 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
98 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
102 By.clazz(ListView.class)), mHelper.TIMEOUT); in testShadowGridListFling()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java49 private static final int TIMEOUT = 3000; field in OverviewHelper
80 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT); in navigateToRecents()
168 (By.res("com.android.systemui:id/recents_view")),TIMEOUT); in dockAppToTopMultiwindowSlot()
170 if (!mDevice.wait(Until.hasObject(By.text("No recent items")),TIMEOUT)) { in dockAppToTopMultiwindowSlot()
173 UiObject2 clearAll = mDevice.wait(Until.findObject(By.text("CLEAR ALL")),TIMEOUT); in dockAppToTopMultiwindowSlot()
177 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
186 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
192 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
196 .res("android:id/content")), TIMEOUT)); in dockAppToTopMultiwindowSlot()
225 .res("android:id/content")), TIMEOUT); in undockAppFromMultiwindow()
[all …]
DHotseatHelper.java34 private static final int TIMEOUT = 3000; field in HotseatHelper
63 UiObject2 appLoaded = mDevice.wait(Until.findObject(By.pkg(appPackage)), TIMEOUT * 2); in launchAppFromHotseat()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAllAppsScreenHelper.java32 private static final int TIMEOUT = 3000; field in AllAppsScreenHelper
60 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT); in launchAllAppsScreen() local
67 mDevice.wait(Until.findObject(By.res(getLauncherPackage(), searchBox)), TIMEOUT); in searchAllAppsScreen()
72 mDevice.wait(Until.findObject(By.text(appName)), TIMEOUT)); in searchAllAppsScreen()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAllAppsScreenHelper.java32 private static final int TIMEOUT = 3000; field in AllAppsScreenHelper
60 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT); in launchAllAppsScreen() local
67 (By.res(getLauncherPackage(), searchBox)), TIMEOUT); in searchAllAppsScreen()
72 (By.text(appName)), TIMEOUT)); in searchAllAppsScreen()
/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java46 public static final int TIMEOUT = 1000; field in ConnectivityHelper
89 long TIMEOUT_MS = TIMEOUT; in isConnected()
96 conn.setConnectTimeout(TIMEOUT * 60); // 1 minute in isConnected()
97 conn.setReadTimeout(TIMEOUT * 60); // 1 minute in isConnected()
141 Thread.sleep(TIMEOUT * 5); in ensureWifiEnabled()
199 Thread.sleep(TIMEOUT * 2); in ensureBluetoothEnabled()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java42 private static final int TIMEOUT = 5000; field in SettingsJankTests
76 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in setUp()
87 UiObject2 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT); in flingSettingsToStart()
91 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT).click(); in flingSettingsToStart()
92 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT); in flingSettingsToStart()
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java29 public final int TIMEOUT = 500; field in PackageHelper
54 SystemClock.sleep(2 * TIMEOUT); in cleanPackage()
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
DPermissionHelper.java59 public final int TIMEOUT = 2000; field in PermissionHelper
242 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in verifyPermissionSettingStatus()
297 TIMEOUT); in openAppPermissionView()
301 navBackBtn.clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
307 mDevice.findObject(By.text(appName)).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
309 TIMEOUT).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
322 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in togglePermissionSetting()
416 mDevice.wait(Until.findObject(By.desc("More options")), TIMEOUT).click(); in getPermissionDescGroupNames()
417 mDevice.wait(Until.findObject(By.text("All permissions")), TIMEOUT).click(); in getPermissionDescGroupNames()
419 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in getPermissionDescGroupNames()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java40 public static final int TIMEOUT = 250; field in UiBenchJankTestsHelper
101 mContents = mDevice.wait(Until.findObject(By.res("android", "content")), TIMEOUT); in launchActivityAndAssert()
135 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
147 mDevice.wait(Until.findObject(By.res(PACKAGE_NAME, "recyclerView")), TIMEOUT); in slowSingleFlingDown()
DUiBenchTransitionsJankTests.java65 By.res(mHelper.PACKAGE_NAME, imageName)), mHelper.TIMEOUT); in clickImage()
67 image.clickAndWait(Until.newWindow(), mHelper.TIMEOUT); in clickImage()
DUiBenchTextJankTests.java76 By.clazz(ListView.class)), mHelper.TIMEOUT); in openLayoutCacheHighHitrate()
93 By.clazz(ListView.class)), mHelper.TIMEOUT); in openLayoutCacheLowHitrate()
DUiBenchWebView.java58 By.res("android", "content")), mHelper.TIMEOUT); in openScrollableWebView()
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DBootHelperTest.java42 private static final long TIMEOUT = 10000; field in BootHelperTest
137 TIMEOUT); in selectOption()

12