Searched refs:getUiAutomation (Results 1 – 8 of 8) sorted by relevance
76 mUiAutomation = spy(InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setUp()77 doReturn(mUiAutomation).when(mInstrumentation).getUiAutomation(anyInt()); in setUp()188 mDevice.getUiAutomation(); in testGetUiAutomation_withDefaultFlags()190 verify(mInstrumentation, atLeastOnce()).getUiAutomation(eq(mDefaultFlags)); in testGetUiAutomation_withDefaultFlags()198 mDevice.getUiAutomation(); in testGetUiAutomation_withCustomFlags()200 verify(mInstrumentation, atLeastOnce()).getUiAutomation(eq(customFlags)); in testGetUiAutomation_withCustomFlags()
234 event = getUiAutomation().executeAndWaitForEvent( in performActionAndWait()537 return getUiAutomation().performGlobalAction(AccessibilityService.GLOBAL_ACTION_RECENTS); in pressRecentApps()548 return getUiAutomation().performGlobalAction( in openNotification()560 return getUiAutomation().performGlobalAction( in openQuickSettings()869 getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_CURRENT); in freezeRotation()906 getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in unfreezeRotation()1099 getUiAutomation().setRotation(rotation); in rotateWithUiAutomation()1264 getUiAutomation().executeAndWaitForEvent(emptyRunnable, checkWindowUpdate, timeout); in waitForWindowUpdate()1302 Bitmap screenshot = getUiAutomation().takeScreenshot(); in takeScreenshot()1362 try (ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(cmd); in executeShellCommand()[all …]
89 getUiDevice().getUiAutomation().setRunAsMonkey(Boolean.parseBoolean(monkeyVal)); in initialize()
95 mDevice.getUiAutomation().setOnAccessibilityEventListener(mEventListener); in QueryController()182 rootNode = mDevice.getUiAutomation().getRootInActiveWindow(); in getRootNode()535 mDevice.getUiAutomation().waitForIdle(QUIET_TIME_TO_BE_CONSIDERED_IDLE_STATE, timeout); in waitForIdle()
147 return getUiAutomation().executeAndWaitForEvent(command, filter, timeout); in runAndWaitForEvents()497 return getUiAutomation().injectInputEvent(event, true); in injectEventSync()622 UiAutomation getUiAutomation() { in getUiAutomation() method in InteractionController623 return mDevice.getUiAutomation(); in getUiAutomation()
274 return getDevice().getUiAutomation().injectInputEvent(event, false); in injectMotionEvent()
232 method public android.app.UiAutomation getUiAutomation();