Searched refs:mUiAutomation (Results 1 – 7 of 7) 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 …]
56 private UiAutomation mUiAutomation; field in PlatformCompatPermissionsTest65 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 …]
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()
115 private UiAutomation mUiAutomation; field in Instrumentation248 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 …]
70 private UiAutomation mUiAutomation; field in TetheringServiceTest102 mUiAutomation = in setUp()118 mUiAutomation.dropShellPermissionIdentity(); in tearDown()143 if (permissions.length > 0) mUiAutomation.adoptShellPermissionIdentity(permissions); in runTetheringCall()148 mUiAutomation.dropShellPermissionIdentity(); in runTetheringCall()
103 private UiAutomation mUiAutomation = field in EthernetTetheringTest111 mUiAutomation.adoptShellPermissionIdentity( in setUp()145 mUiAutomation.dropShellPermissionIdentity(); in tearDown()
6750 Landroid/app/Instrumentation;->mUiAutomation:Landroid/app/UiAutomation;