Searched refs:getUiDevice (Results 1 – 10 of 10) sorted by relevance
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 63 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/ |
D | UiAutomatorUtils.java | 44 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/ |
D | PreferredActivitiesTest.java | 250 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/ |
D | CtsDeviceLeanback.java | 77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) { in setUp() 87 getUiDevice().pressHome(); in tearDown()
|
D | CtsJankTestBase.java | 110 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
|
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/ |
D | CtsSyncAccountAccessOtherCertTestCases.java | 23 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/ |
D | AppHibernationUtils.kt | 178 expandNotificationsWatch(UiAutomatorUtils.getUiDevice()) in openUnusedAppsNotification() 222 val uiDevice = UiAutomatorUtils.getUiDevice() in waitFindNotification()
|
D | AppHibernationIntegrationTest.kt | 179 UiAutomatorUtils.getUiDevice() in testAppInfo_RemovePermissionsAndFreeUpSpaceToggleExists()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | Utils.java | 58 public static UiDevice getUiDevice() { in getUiDevice() method in Utils
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 678 UiAutomatorUtils.getUiDevice().waitForIdle(); in waitForIdle() 682 UiAutomatorUtils.getUiDevice().pressBack(); in pressBack()
|