Home
last modified time | relevance | path

Searched refs:mUiAutomation (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java41 private final UiAutomation mUiAutomation; field in UiAutomatorBridge
48 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 …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java23 private UiAutomation mUiAutomation; field in UiAutomationShellWrapper
30 mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), in connect()
32 mUiAutomation.connect(); in connect()
66 mUiAutomation.disconnect(); in disconnect()
71 return mUiAutomation; in getUiAutomation()
75 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
80 mUiAutomation.setServiceInfo(info); in setCompressedLayoutHierarchy()
/frameworks/base/core/java/android/app/
DInstrumentation.java107 private UiAutomation mUiAutomation; field in Instrumentation
209 if ((mUiAutomation != null) && !mUiAutomation.isDestroyed()) { in finish()
210 mUiAutomation.disconnect(); in finish()
211 mUiAutomation = null; in finish()
1900 boolean mustCreateNewAutomation = (mUiAutomation == null) || (mUiAutomation.isDestroyed()); in getUiAutomation()
1903 if (!mustCreateNewAutomation && (mUiAutomation.getFlags() == flags)) { in getUiAutomation()
1904 return mUiAutomation; in getUiAutomation()
1907 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(), in getUiAutomation()
1910 mUiAutomation.disconnect(); in getUiAutomation()
1912 mUiAutomation.connect(flags); in getUiAutomation()
[all …]