Searched refs:UI_TIMEOUT (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/ReviewPermissionHelper/src/com/android/cts/reviewpermissionhelper/ |
D | ReviewPermissionsTest.kt | 44 private const val UI_TIMEOUT = 5000L constant 64 By.res("com.android.permissioncontroller:id/continue_button")), UI_TIMEOUT).click() in clickContinue() 71 assertEquals(RESULT_OK, installDialogResults.poll(UI_TIMEOUT, TimeUnit.MILLISECONDS)) in approveReviewPermissions() 79 By.res("com.android.permissioncontroller:id/cancel_button")), UI_TIMEOUT).click() in cancelReviewPermissions() 80 assertEquals(RESULT_CANCELED, installDialogResults.poll(UI_TIMEOUT, TimeUnit.MILLISECONDS)) in cancelReviewPermissions() 86 assertEquals(RESULT_OK, installDialogResults.poll(UI_TIMEOUT, TimeUnit.MILLISECONDS)) in assertNoReviewPermissionsNeeded() 94 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 96 uiDevice.wait(Until.findObject(By.res("android:id/button1")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 100 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() 104 uiDevice.wait(Until.findObject(By.text("Calendar")), UI_TIMEOUT).click() in denyGrantDenyCalendarPermissions() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerThrottlingTest.java | 47 private static final int UI_TIMEOUT = 5000; field in ShortcutManagerThrottlingTest 119 final UiObject2 clearAll = ud.wait(Until.findObject(By.text("CLEAR ALL")), UI_TIMEOUT); in clearNotifications() 124 ud.wait(Until.gone(By.text("CLEAR ALL")), UI_TIMEOUT); in clearNotifications() 140 ud.wait(Until.findObject(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT).click(); in performInlineReply() 153 ud.wait(Until.gone(By.text(INLINE_REPLY_REMOTE_INPUT_CAPTION)), UI_TIMEOUT); in performInlineReply() local
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FragmentContainerActivity.java | 90 return mResumed.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilResumed() 94 return mStopped.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilStopped()
|
D | Timeouts.java | 78 static final Timeout UI_TIMEOUT = new Timeout("UI_TIMEOUT", ONE_TIMEOUT_TO_RULE_THEN_ALL_MS, 2F, field in Timeouts
|
D | AbstractAutoFillActivity.java | 52 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread()
|
D | OnClickActionTest.java | 188 mUiBot.assertGoneByRelativeId(saveUi, resourceId, Timeouts.UI_TIMEOUT);
|
D | UiBot.java | 24 import static android.autofillservice.cts.Timeouts.UI_TIMEOUT; 139 this(UI_TIMEOUT); in UiBot() 887 Timeouts.UI_TIMEOUT);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 120 private static final long UI_TIMEOUT = 5000L; field in RestrictedPermissionsTest 760 installLatch.await(UI_TIMEOUT, TimeUnit.MILLISECONDS); in installRestrictedPermissionUserApp()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 51 private static final int UI_TIMEOUT = 10000; // Time to wait for UI event before timeout (ms). field in CameraEvictionTest
|