Searched refs:mUiAutomation (Results 1 – 3 of 3) sorted by relevance
41 private final UiAutomation mUiAutomation; field in UiAutomatorBridge48 mUiAutomation = uiAutomation; in UiAutomatorBridge()62 mUiAutomation.setOnAccessibilityEventListener(listener); in setOnAccessibilityEventListener()66 return mUiAutomation.getRootInActiveWindow(); in getRootInActiveWindow()70 return mUiAutomation.injectInputEvent(event, sync); in injectInputEvent()74 return mUiAutomation.setRotation(rotation); in setRotation()78 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()83 mUiAutomation.setServiceInfo(info); in setCompressedLayoutHierarchy()96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout); in waitForIdle()104 return mUiAutomation.executeAndWaitForEvent(command, in executeCommandAndWaitForAccessibilityEvent()[all …]
22 private UiAutomation mUiAutomation; field in UiAutomationShellWrapper29 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()31 mUiAutomation.connect(); in connect()65 mUiAutomation.disconnect(); in disconnect()70 return mUiAutomation; in getUiAutomation()74 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()79 mUiAutomation.setServiceInfo(info); in setCompressedLayoutHierarchy()
108 private UiAutomation mUiAutomation; field in Instrumentation240 if ((mUiAutomation != null) && !mUiAutomation.isDestroyed()) { in finish()241 mUiAutomation.disconnect(); in finish()242 mUiAutomation = null; in finish()2033 boolean mustCreateNewAutomation = (mUiAutomation == null) || (mUiAutomation.isDestroyed()); in getUiAutomation()2036 if (!mustCreateNewAutomation && (mUiAutomation.getFlags() == flags)) { in getUiAutomation()2037 return mUiAutomation; in getUiAutomation()2040 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(), in getUiAutomation()2043 mUiAutomation.disconnect(); in getUiAutomation()2045 mUiAutomation.connect(flags); in getUiAutomation()[all …]