Searched refs:getUiDevice (Results 1 – 14 of 14) sorted by relevance
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()
98 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 …]
147 protected static UiDevice getUiDevice() { in getUiDevice() method in BasePermissionsTest175 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 …]
77 if (!getUiDevice().wait(Until.hasObject(By.pkg(APP_PACKAGE)), WAIT_TIMEOUT)) { in setUp()87 getUiDevice().pressHome(); in tearDown()
104 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase
240 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 …]
495 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()
90 if (getUiDevice().hasObject(By.text("All 3"))) { in getPages()95 UiObject pagesEditText = getUiDevice().findObject(new UiSelector().resourceId( in getPages()
323 getUiDevice().pressBack(); // wakes up the device. in testStartPrinterDiscoveryWithHistoricalPrinters()324 getUiDevice().pressBack(); in testStartPrinterDiscoveryWithHistoricalPrinters()
154 UiObject message = getUiDevice().findObject(new UiSelector().resourceId( in waitForPrinterUnavailable()259 getUiDevice().pressBack(); in testCase()593 getUiDevice().pressBack(); in testSanePrinterCapabilityInfos()
438 UiObject destinationSpinner = getUiDevice().findObject(new UiSelector().resourceId(
99 public UiDevice getUiDevice() { in getUiDevice() method in BasePrintTest422 if (getUiDevice().hasObject(By.text(printerName))) { in selectPrinter()
48 getUiDevice().waitForIdle(); in testOnlyRequestedPermissionsGranted()
69 protected UiDevice getUiDevice() { in getUiDevice() method in CtsJankTestBase