Home
last modified time | relevance | path

Searched refs:getUiDevice (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/
DHarmfulAppWarningDeviceTest.java63 protected static UiDevice getUiDevice() { in getUiDevice() method in HarmfulAppWarningDeviceTest
75 getUiDevice().wait(Until.findObject(By.res("android:id/message")), TIMEOUT_MILLIS); in verifyWarningShown()
76 UiObject2 obj = getUiDevice().findObject(By.res("android:id/message")); in verifyWarningShown()
92 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button2")); in clickLaunchAnyway()
98 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button1")); in clickUninstall()
141 getUiDevice().pressHome(); in testDismissDialog()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUiAutomatorUtils.java44 public static UiDevice getUiDevice() { in getUiDevice() method in UiAutomatorUtils
77 view = getUiDevice().wait(Until.findObject(selector), 1000); in waitFindObjectOrNull()
116 final UiObject2 collapsingToolbar = getUiDevice().findObject( in scrollPastCollapsibleToolbar()
126 getUiDevice().drag(scrollableBounds.centerX(), scrollableBounds.centerY(), in scrollPastCollapsibleToolbar()
131 int maxY = getUiDevice().getDisplayHeight(); in scrollPastCollapsibleToolbar()
134 getUiDevice().drag(0, maxY, 0, minY, steps); in scrollPastCollapsibleToolbar()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java250 getUiDevice().pressHome(); in runTest()
275 getUiDevice().pressHome(); in triggerResolutionDialog()
281 getUiDevice().pressBack(); in verifyResolutionDialog()
288 UiObject2 buttonAlways = getUiDevice().wait(Until.findObject(BUTTON_ALWAYS), TIMEOUT); in verifyDialogIsShown()
301 getUiDevice().pressBack(); in chooseActivity()
306 getUiDevice() in findActivityInDialog()
312 return getUiDevice().findObject(By.text(label)); in findActivityInDialog()
319 getUiDevice() in chooseUseAlways()
376 private static UiDevice getUiDevice() { in getUiDevice() method in PreferredActivitiesTest
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsDeviceLeanback.java77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) { in setUp()
87 getUiDevice().pressHome(); in tearDown()
DCtsJankTestBase.java110 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java23 import static com.android.cts.content.Utils.getUiDevice;
119 UiDevice uiDevice = getUiDevice(); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
149 getUiDevice().dumpWindowHierarchy(os); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
/cts/tests/tests/os/src/android/os/cts/
DAppHibernationUtils.kt178 expandNotificationsWatch(UiAutomatorUtils.getUiDevice()) in openUnusedAppsNotification()
222 val uiDevice = UiAutomatorUtils.getUiDevice() in waitFindNotification()
DAppHibernationIntegrationTest.kt179 UiAutomatorUtils.getUiDevice() in testAppInfo_RemovePermissionsAndFreeUpSpaceToggleExists()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java58 public static UiDevice getUiDevice() { in getUiDevice() method in Utils
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java678 UiAutomatorUtils.getUiDevice().waitForIdle(); in waitForIdle()
682 UiAutomatorUtils.getUiDevice().pressBack(); in pressBack()