Home
last modified time | relevance | path

Searched refs:mUiAutomation (Results 1 – 7 of 7) 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/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatPermissionsTest.java56 private UiAutomation mUiAutomation; field in PlatformCompatPermissionsTest
65 mUiAutomation = instrumentation.getUiAutomation(); in setUp()
74 mUiAutomation.dropShellPermissionIdentity(); in tearDown()
89 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChange_logCompatChangePermission_noThrow()
107 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChangeByPackageName_logCompatChangePermission_noThrow()
124 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChangeByUid_logCompatChangePermission_noThrow()
142 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException()
151 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG, LOG_COMPAT_CHANGE); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow()
170 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException()
179 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG, LOG_COMPAT_CHANGE); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow()
[all …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java22 private UiAutomation mUiAutomation; field in UiAutomationShellWrapper
29 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()
/frameworks/base/core/java/android/app/
DInstrumentation.java115 private UiAutomation mUiAutomation; field in Instrumentation
248 if ((mUiAutomation != null) && !mUiAutomation.isDestroyed()) { in finish()
249 mUiAutomation.disconnect(); in finish()
250 mUiAutomation = null; in finish()
2155 boolean mustCreateNewAutomation = (mUiAutomation == null) || (mUiAutomation.isDestroyed()); in getUiAutomation()
2158 if (!mustCreateNewAutomation && (mUiAutomation.getFlags() == flags)) { in getUiAutomation()
2159 return mUiAutomation; in getUiAutomation()
2162 mUiAutomation = new UiAutomation(getTargetContext().getMainLooper(), in getUiAutomation()
2165 mUiAutomation.disconnect(); in getUiAutomation()
2167 mUiAutomation.connect(flags); in getUiAutomation()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java70 private UiAutomation mUiAutomation; field in TetheringServiceTest
102 mUiAutomation = in setUp()
118 mUiAutomation.dropShellPermissionIdentity(); in tearDown()
143 if (permissions.length > 0) mUiAutomation.adoptShellPermissionIdentity(permissions); in runTetheringCall()
148 mUiAutomation.dropShellPermissionIdentity(); in runTetheringCall()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java103 private UiAutomation mUiAutomation = field in EthernetTetheringTest
111 mUiAutomation.adoptShellPermissionIdentity( in setUp()
145 mUiAutomation.dropShellPermissionIdentity(); in tearDown()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt6750 Landroid/app/Instrumentation;->mUiAutomation:Landroid/app/UiAutomation;