Home
last modified time | relevance | path

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

/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/
DHarmfulAppWarningDeviceTest.java62 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/
DBasePrintTest.java138 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/
DCtsDeviceJankUi.java46 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/
DBasePermissionsTest.java88 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 …]
DUsePermissionTest23.java112 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/
DPrinterInfoTest.java345 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()
DPrintServicesTest.java436 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();
DCustomPrintOptionsTest.java103 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()
DPrinterDiscoverySessionLifecycleTest.java133 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()
DPageRangeAdjustmentTest.java393 getUiDevice().pressBack(); // wakes up the device. in somePagesWantedAndNotWritten()
394 getUiDevice().pressBack(); in somePagesWantedAndNotWritten()
DPrinterCapabilitiesChangeTest.java261 getUiDevice().pressBack(); in changeCapabilities()
DInterfaceForAppsTest.java262 getUiDevice().pressBack();
DPrinterCapabilitiesTest.java307 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.java109 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;
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/
DUsePermissionTest26.java51 getUiDevice().waitForIdle(); in testRuntimeGroupGrantNoExpansion()
/cts/tests/jank/src/android/jank/cts/
DCtsJankTestBase.java69 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java57 public static UiDevice getUiDevice() { in getUiDevice() method in Utils