Home
last modified time | relevance | path

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

/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/
DUsePermissionTest23.java98 getUiDevice().waitForIdle(); in testInteractiveGrant()
140 getUiDevice().waitForIdle(); in testRuntimeGroupGrantSpecificity()
174 getUiDevice().waitForIdle(); in testRuntimeGroupGrantExpansion()
205 getUiDevice().waitForIdle(); in testCancelledPermissionRequest()
230 getUiDevice().waitForIdle(); in testRequestGrantedPermission()
264 getUiDevice().waitForIdle(); in testDenialWithPrejudice()
280 getUiDevice().waitForIdle(); in testDenialWithPrejudice()
340 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
356 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
385 getUiDevice().waitForIdle(); in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part2()
[all …]
DBasePermissionsTest.java147 protected static UiDevice getUiDevice() { in getUiDevice() method in BasePermissionsTest
175 UiObject2 button = getUiDevice().findObject(By.text("Close")); in beforeTest()
208 getUiDevice().findObject(new UiSelector().resourceId( in clickAllowButton()
213 getUiDevice().findObject(new UiSelector().resourceId( in clickDenyButton()
218 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainCheckbox()
223 getUiDevice().findObject(new UiSelector().resourceId( in clickDontAskAgainButton()
245 getUiDevice().pressBack(); in setPermissionGrantState()
247 getUiDevice().pressBack(); in setPermissionGrantState()
249 getUiDevice().pressBack(); in setPermissionGrantState()
305 UiObject denyAnyway = getUiDevice().findObject(new UiSelector() in setPermissionGrantState()
[all …]
/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.java104 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java240 getUiDevice().pressBack(); // wakes up the device. in testNoPrintOptionsOrPrinterChangeCanceled()
241 getUiDevice().pressBack(); in testNoPrintOptionsOrPrinterChangeCanceled()
1062 getUiDevice().pressBack(); // wakes up the device. in testCancelLongRunningLayout()
1063 getUiDevice().pressBack(); in testCancelLongRunningLayout()
1157 getUiDevice().pressBack(); // wakes up the device. in testCancelLongRunningWrite()
1158 getUiDevice().pressBack(); in testCancelLongRunningWrite()
1233 getUiDevice().pressBack(); // wakes up the device. in testFailedLayout()
1234 getUiDevice().pressBack(); in testFailedLayout()
1316 getUiDevice().pressBack(); // wakes up the device. in testFailedWrite()
1317 getUiDevice().pressBack(); in testFailedWrite()
[all …]
DPageRangeAdjustmentTest.java495 getUiDevice().pressBack(); // wakes up the device. in testSomePagesWantedAndNotWritten()
496 getUiDevice().pressBack(); in testSomePagesWantedAndNotWritten()
637 UiObject pagesSpinner = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
641 UiObject rangeOption = getUiDevice().findObject(new UiSelector().textContains("Range")); in selectPages()
644 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in selectPages()
649 getUiDevice().pressBack(); in selectPages()
DCustomPrintOptionsTest.java90 if (getUiDevice().hasObject(By.text("All 3"))) { in getPages()
95 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages()
DPrinterDiscoverySessionLifecycleTest.java323 getUiDevice().pressBack(); // wakes up the device. in testStartPrinterDiscoveryWithHistoricalPrinters()
324 getUiDevice().pressBack(); in testStartPrinterDiscoveryWithHistoricalPrinters()
DPrinterCapabilitiesTest.java154 UiObject message = getUiDevice().findObject(new UiSelector().resourceId( in waitForPrinterUnavailable()
259 getUiDevice().pressBack(); in testCase()
593 getUiDevice().pressBack(); in testSanePrinterCapabilityInfos()
DPrinterInfoTest.java438 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId(
DBasePrintTest.java99 public UiDevice getUiDevice() { in getUiDevice() method in BasePrintTest
422 if (getUiDevice().hasObject(By.text(printerName))) { in selectPrinter()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp24/src/com/android/cts/usepermission/
DUsePermissionTest24.java48 getUiDevice().waitForIdle(); in testOnlyRequestedPermissionsGranted()
/cts/tests/jank/src/android/jank/cts/
DCtsJankTestBase.java69 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase