/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 148 public static UiDevice getUiDevice() { in getUiDevice() method in BasePrintTest 285 getUiDevice().freezeRotation(); in setUp() 286 while (!getUiDevice().isNaturalOrientation()) { in setUp() 287 getUiDevice().setOrientationNatural(); in setUp() 288 getUiDevice().waitForIdle(); in setUp() 331 getUiDevice().unfreezeRotation(); in tearDown() 579 UiObject2 message = getUiDevice().wait(Until.findObject( in waitForPrinterUnavailable() 599 UiDevice uiDevice = getUiDevice(); in selectPrinter() 605 getUiDevice().waitForIdle(); in selectPrinter() 618 UiDevice uiDevice = getUiDevice(); in selectPrinterSpinnerOpen() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 104 protected static UiDevice getUiDevice() { in getUiDevice() method in BasePermissionsTest 281 UiObject2 button = getUiDevice().findObject(By.text("Close")); in beforeTest() 340 getUiDevice().wait(Until.findObject(By.res( in clickAllowButton() 351 getUiDevice().wait(Until.findObject(By.res( in clickAllowAlwaysButton() 362 getUiDevice().wait(Until.findObject(By.res( in clickAllowForegroundButton() 375 getUiDevice().wait(Until.findObject(By.res( in clickDenyButton() 387 getUiDevice().wait(Until.findObject(By.res( in clickDenyAndDontAskAgainButton() 396 getUiDevice().wait(Until.findObject(By.res( in clickDontAskAgainButton() 405 getUiDevice().wait(Until.findObject(By.text( in clickStringRes() 428 getUiDevice().wait(Until.findObject(By.clazz(ScrollView.class)), GLOBAL_TIMEOUT_MILLIS); in scrollToBottomIfWatch() [all …]
|
D | UsePermissionTest23.java | 116 getUiDevice().waitForIdle(); in testInteractiveGrant() 156 getUiDevice().waitForIdle(); in testRuntimeGroupGrantSpecificity() 190 getUiDevice().waitForIdle(); in testRuntimeGroupGrantExpansion() 220 getUiDevice().waitForIdle(); in testCancelledPermissionRequest() 245 getUiDevice().waitForIdle(); in testRequestGrantedPermission() 279 getUiDevice().waitForIdle(); in testDenialWithPrejudice() 295 getUiDevice().waitForIdle(); in testDenialWithPrejudice() 355 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1() 371 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1() 400 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part2() [all …]
|
/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/tests/tests/print/src/android/print/cts/ |
D | PrinterInfoTest.java | 346 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId( in printerInfos() 351 getUiDevice().waitForIdle(); in printerInfos() 354 getUiDevice().pressBack(); in printerInfos() 355 getUiDevice().pressBack(); in printerInfos() 356 getUiDevice().pressBack(); in printerInfos()
|
D | PrintDocumentAdapterContractTest.java | 206 getUiDevice().pressBack(); // wakes up the device. in noPrintOptionsOrPrinterChangeCanceled() 207 getUiDevice().pressBack(); in noPrintOptionsOrPrinterChangeCanceled() 310 getUiDevice().pressBack(); in nonCallingBackWrite() 311 getUiDevice().pressBack(); in nonCallingBackWrite() 1179 getUiDevice().pressBack(); // wakes up the device. in cancelLongRunningLayout() 1180 getUiDevice().pressBack(); in cancelLongRunningLayout() 1256 getUiDevice().pressBack(); // wakes up the device. in cancelLongRunningWrite() 1257 getUiDevice().pressBack(); in cancelLongRunningWrite() 1320 getUiDevice().pressBack(); // wakes up the device. in failedLayout() 1321 getUiDevice().pressBack(); in failedLayout() [all …]
|
D | PrintServicesTest.java | 425 getUiDevice().pressBack(); 426 getUiDevice().pressBack(); 464 getUiDevice().pressBack(); 465 getUiDevice().pressBack(); 683 getUiDevice().waitForIdle(); 685 getUiDevice().wait( 699 getUiDevice().pressBack(); 702 getUiDevice().pressBack();
|
D | CustomPrintOptionsTest.java | 104 if (getUiDevice().hasObject(By.text("All 3"))) { in getPages() 109 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages() 386 getUiDevice().pressBack(); in testCase() 387 getUiDevice().pressBack(); in testCase() 388 getUiDevice().pressBack(); in testCase()
|
D | PrinterDiscoverySessionLifecycleTest.java | 138 UiObject printerItem = getUiDevice().findObject( in selectInAllPrintersActivity() 527 getUiDevice().pressBack(); // wakes up the device. in startPrinterDiscoveryWithHistoricalPrinters() 528 getUiDevice().pressBack(); in startPrinterDiscoveryWithHistoricalPrinters() 649 getUiDevice().pressBack(); in addRemovePrinters()
|
D | InstallBehavior.java | 90 getUiDevice().pressBack(); in installedServiceIsEnabled()
|
D | PageRangeAdjustmentTest.java | 394 getUiDevice().pressBack(); // wakes up the device. in somePagesWantedAndNotWritten() 395 getUiDevice().pressBack(); in somePagesWantedAndNotWritten()
|
D | InteractionBetweenPrintDocumentAndPrinterDiscovery.java | 186 getUiDevice().pressBack(); in printerReappearsWhileCanceling()
|
D | PrinterCapabilitiesChangeTest.java | 261 getUiDevice().pressBack(); in changeCapabilities()
|
D | InterfaceForAppsTest.java | 262 getUiDevice().pressBack();
|
D | PrinterCapabilitiesTest.java | 308 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 | 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; 114 UiDevice uiDevice = getUiDevice(); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount() 133 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/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | Utils.java | 58 public static UiDevice getUiDevice() { in getUiDevice() method in Utils
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/ |
D | UsePermissionTest29.java | 58 getUiDevice().waitForIdle(); in requestPermissions()
|