/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 62 protected static UiDevice getUiDevice() { in getUiDevice() method in HarmfulAppWarningDeviceTest 74 getUiDevice().wait(Until.findObject(By.res("android:id/message")), TIMEOUT_MILLIS); in verifyWarningShown() 75 UiObject2 obj = getUiDevice().findObject(By.res("android:id/message")); in verifyWarningShown() 91 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button2")); in clickLaunchAnyway() 97 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button1")); in clickUninstall() 140 getUiDevice().pressHome(); in testDismissDialog()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 138 public static UiDevice getUiDevice() { in getUiDevice() method in BasePrintTest 267 getUiDevice().freezeRotation(); in setUp() 268 while (!getUiDevice().isNaturalOrientation()) { in setUp() 269 getUiDevice().setOrientationNatural(); in setUp() 270 getUiDevice().waitForIdle(); in setUp() 306 getUiDevice().unfreezeRotation(); in tearDown() 554 UiObject message = getUiDevice().findObject(new UiSelector().resourceId( in waitForPrinterUnavailable() 567 UiDevice uiDevice = getUiDevice(); in selectPrinter() 572 getUiDevice().waitForIdle(); in selectPrinter() 589 getUiDevice().waitForIdle(); in selectPrinter() [all …]
|
/cts/tests/jank/src/android/jank/cts/ui/ |
D | CtsDeviceJankUi.java | 46 getUiDevice().wait(Until.hasObject(By.pkg(PACKAGE)), DEFAULT_ANIMATION_TIME); in setUp() 51 getUiDevice().pressHome(); in tearDown() 58 getUiDevice().findObject(By.clazz(ListView.class)).fling(Direction.DOWN); in testScrolling()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 88 protected static UiDevice getUiDevice() { in getUiDevice() method in BasePermissionsTest 257 UiObject2 button = getUiDevice().findObject(By.text("Close")); in beforeTest() 291 getUiDevice().findObject(new UiSelector().resourceId( in clickAllowButton() 297 getUiDevice().findObject(new UiSelector().resourceId( in clickDenyButton() 302 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainCheckbox() 308 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainButton() 340 getUiDevice().pressBack(); in setPermissionGrantState() 342 getUiDevice().pressBack(); in setPermissionGrantState() 344 getUiDevice().pressBack(); in setPermissionGrantState() 348 getUiDevice().pressHome(); in setPermissionGrantState() [all …]
|
D | UsePermissionTest23.java | 112 getUiDevice().waitForIdle(); in testInteractiveGrant() 154 getUiDevice().waitForIdle(); in testRuntimeGroupGrantSpecificity() 188 getUiDevice().waitForIdle(); in testRuntimeGroupGrantExpansion() 218 getUiDevice().waitForIdle(); in testCancelledPermissionRequest() 243 getUiDevice().waitForIdle(); in testRequestGrantedPermission() 277 getUiDevice().waitForIdle(); in testDenialWithPrejudice() 293 getUiDevice().waitForIdle(); in testDenialWithPrejudice() 353 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1() 369 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1() 398 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part2() [all …]
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrinterInfoTest.java | 345 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId( in printerInfos() 350 getUiDevice().waitForIdle(); in printerInfos() 353 getUiDevice().pressBack(); in printerInfos() 354 getUiDevice().pressBack(); in printerInfos() 355 getUiDevice().pressBack(); in printerInfos()
|
D | PrintServicesTest.java | 436 getUiDevice().pressBack(); 437 getUiDevice().pressBack(); 475 getUiDevice().pressBack(); 476 getUiDevice().pressBack(); 627 UiObject moreInfoButton = getUiDevice().findObject(new UiSelector().resourceId( 636 getUiDevice().pressBack(); 637 getUiDevice().pressBack();
|
D | CustomPrintOptionsTest.java | 103 if (getUiDevice().hasObject(By.text("All 3"))) { in getPages() 108 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages() 385 getUiDevice().pressBack(); in testCase() 386 getUiDevice().pressBack(); in testCase() 387 getUiDevice().pressBack(); in testCase()
|
D | PrinterDiscoverySessionLifecycleTest.java | 133 UiObject printerItem = getUiDevice().findObject( in selectInAllPrintersActivity() 508 getUiDevice().pressBack(); // wakes up the device. in startPrinterDiscoveryWithHistoricalPrinters() 509 getUiDevice().pressBack(); in startPrinterDiscoveryWithHistoricalPrinters() 630 getUiDevice().pressBack(); in addRemovePrinters()
|
D | PageRangeAdjustmentTest.java | 393 getUiDevice().pressBack(); // wakes up the device. in somePagesWantedAndNotWritten() 394 getUiDevice().pressBack(); in somePagesWantedAndNotWritten()
|
D | PrinterCapabilitiesChangeTest.java | 261 getUiDevice().pressBack(); in changeCapabilities()
|
D | InterfaceForAppsTest.java | 262 getUiDevice().pressBack();
|
D | PrinterCapabilitiesTest.java | 307 getUiDevice().pressBack(); in sanePrinterCapabilityInfos()
|
/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 | 109 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; 112 UiDevice uiDevice = getUiDevice(); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 125 getUiDevice().dumpWindowHierarchy(os); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/ |
D | UsePermissionTest26.java | 51 getUiDevice().waitForIdle(); in testRuntimeGroupGrantNoExpansion()
|
/cts/tests/jank/src/android/jank/cts/ |
D | CtsJankTestBase.java | 69 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | Utils.java | 57 public static UiDevice getUiDevice() { in getUiDevice() method in Utils
|