Home
last modified time | relevance | path

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

/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java148 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/
DBasePermissionsTest.java104 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 …]
DUsePermissionTest23.java116 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/
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/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java346 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()
DPrintDocumentAdapterContractTest.java206 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 …]
DPrintServicesTest.java425 getUiDevice().pressBack();
426 getUiDevice().pressBack();
464 getUiDevice().pressBack();
465 getUiDevice().pressBack();
683 getUiDevice().waitForIdle();
685 getUiDevice().wait(
699 getUiDevice().pressBack();
702 getUiDevice().pressBack();
DCustomPrintOptionsTest.java104 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()
DPrinterDiscoverySessionLifecycleTest.java138 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()
DInstallBehavior.java90 getUiDevice().pressBack(); in installedServiceIsEnabled()
DPageRangeAdjustmentTest.java394 getUiDevice().pressBack(); // wakes up the device. in somePagesWantedAndNotWritten()
395 getUiDevice().pressBack(); in somePagesWantedAndNotWritten()
DInteractionBetweenPrintDocumentAndPrinterDiscovery.java186 getUiDevice().pressBack(); in printerReappearsWhileCanceling()
DPrinterCapabilitiesChangeTest.java261 getUiDevice().pressBack(); in changeCapabilities()
DInterfaceForAppsTest.java262 getUiDevice().pressBack();
DPrinterCapabilitiesTest.java308 getUiDevice().pressBack(); in sanePrinterCapabilityInfos()
/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;
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/
DUsePermissionTest26.java51 getUiDevice().waitForIdle(); in testRuntimeGroupGrantNoExpansion()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java58 public static UiDevice getUiDevice() { in getUiDevice() method in Utils
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
DUsePermissionTest29.java58 getUiDevice().waitForIdle(); in requestPermissions()