Home
last modified time | relevance | path

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

12

/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java47 private static final int TIMEOUT = 3000; field in RecentsTests
85 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
93 Thread.sleep(TIMEOUT); in testAddAndDismissItemInRecents()
95 (By.desc("Dismiss Calculator.")),TIMEOUT); in testAddAndDismissItemInRecents()
105 (By.res(RECENTS)),TIMEOUT); in testScrollThroughRecents()
110 (By.text("CLEAR ALL")),TIMEOUT); in testScrollThroughRecents()
113 Thread.sleep(TIMEOUT); in testScrollThroughRecents()
120 Thread.sleep(TIMEOUT); in testSwipeItemAwayFromRecents()
123 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
132 (By.desc("Calculator")),TIMEOUT); in testSwipeItemAwayFromRecents()
[all …]
DOverviewHelper.java46 private static final int TIMEOUT = 3000; field in OverviewHelper
77 SystemClock.sleep(TIMEOUT); in launchAppWithIntent()
88 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT); in navigateToRecents()
130 (By.res("com.android.systemui:id/recents_view")),TIMEOUT); in dockAppToTopMultiwindowSlot()
132 if (!mDevice.wait(Until.hasObject(By.text("No recent items")),TIMEOUT)) { in dockAppToTopMultiwindowSlot()
135 UiObject2 clearAll = mDevice.wait(Until.findObject(By.text("CLEAR ALL")),TIMEOUT); in dockAppToTopMultiwindowSlot()
139 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
148 (By.desc(appName)),TIMEOUT); in dockAppToTopMultiwindowSlot()
154 Thread.sleep(TIMEOUT); in dockAppToTopMultiwindowSlot()
158 .res("android:id/content")), TIMEOUT)); in dockAppToTopMultiwindowSlot()
[all …]
DMultiWindowTests.java48 private static final int TIMEOUT = 3000; field in MultiWindowTests
88 mDevice.wait(Until.hasObject(By.text("No recent items")), TIMEOUT)); in testDockingUndockingOnMultiwindow()
91 UiObject2 calcArea = mDevice.wait(Until.findObject(By.res("android:id/content")), TIMEOUT); in testDockingUndockingOnMultiwindow()
95 mDevice.wait(Until.hasObject(By.text("No recent items")), TIMEOUT)); in testDockingUndockingOnMultiwindow()
104 Thread.sleep(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()
120 (By.pkg(CALCULATOR_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
124 (By.pkg(GMAIL_PACKAGE).res("android:id/content")), TIMEOUT); in testResizeHandleOnMultiwindow()
141 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.java68 random.nextInt(2 * mDLAppHelper.TIMEOUT), Boolean.FALSE); in testAddCompletedDownload()
80 By.res("com.android.documentsui:id/container_directory")), mDLAppHelper.TIMEOUT); in testScroll()
119 2 * mDLAppHelper.TIMEOUT).click(); in testToggleViewTypeForDownloadItems()
123 2 * mDLAppHelper.TIMEOUT).click(); in testToggleViewTypeForDownloadItems()
132 mDLAppHelper.TIMEOUT).getChildren().get(1).click(1 * 2 * mDLAppHelper.TIMEOUT); in testCABMenuShow()
136 DownloadAppTestHelper.PACKAGE_NAME))), mDLAppHelper.TIMEOUT)) == null in testCABMenuShow()
141 DownloadAppTestHelper.PACKAGE_NAME))), mDLAppHelper.TIMEOUT)) == null in testCABMenuShow()
146 By.desc("More options")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
150 By.desc("Done")), mDLAppHelper.TIMEOUT)) == null && counter-- > 0) in testCABMenuShow()
154 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.java116 pHelper.TIMEOUT).click(); in testPermissionDialogAllow()
118 By.res(PACKAGE_INSTALLER, "permission_allow_button")), pHelper.TIMEOUT).click(); in testPermissionDialogAllow()
136 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
137 UiObject2 dontAskChk = mDevice.wait(Until.findObject(dontAskChkSelector), pHelper.TIMEOUT); in testPermissionDialogDenyFlow()
139 mDevice.wait(Until.findObject(denySelctor), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
140 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
141 mDevice.wait(Until.findObject(dontAskChkSelector), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
142 mDevice.wait(Until.findObject(denySelctor), pHelper.TIMEOUT).click(); in testPermissionDialogDenyFlow()
143 mDevice.wait(Until.findObject(getContactSelector), pHelper.TIMEOUT).click();; in testPermissionDialogDenyFlow()
144 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/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.java58 public final int TIMEOUT = 2000; field in PermissionHelper
241 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in verifyPermissionSettingStatus()
296 TIMEOUT); in openAppPermissionView()
300 navBackBtn.clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
306 mDevice.findObject(By.text(appName)).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
308 TIMEOUT).clickAndWait(Until.newWindow(), TIMEOUT); in openAppPermissionView() local
321 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in togglePermissionSetting()
415 mDevice.wait(Until.findObject(By.desc("More options")), TIMEOUT).click(); in getPermissionDescGroupNames()
416 mDevice.wait(Until.findObject(By.text("All permissions")), TIMEOUT).click(); in getPermissionDescGroupNames()
418 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); in getPermissionDescGroupNames()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java39 public static final int TIMEOUT = 250; field in UiBenchJankTestsHelper
100 mContents = mDevice.wait(Until.findObject(By.res("android", "content")), TIMEOUT); in launchActivityAndAssert()
134 mNavigation = mDevice.wait(Until.findObject(By.desc("Open navigation drawer")), TIMEOUT); in swipeRightLeft()
146 mDevice.wait(Until.findObject(By.res(PACKAGE_NAME, "recyclerView")), TIMEOUT); in slowSingleFlingDown()
DUiBenchTransitionsJankTests.java66 By.res(mHelper.PACKAGE_NAME, imageName)), mHelper.TIMEOUT); in clickImage()
68 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.java59 By.res("android", "content")), mHelper.TIMEOUT); in openScrollableWebView()
DUiBenchRenderingJankTests.java76 By.clazz(ListView.class)), mHelper.TIMEOUT); in openRenderingList()
/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