Searched refs:mSecurityPolicy (Results 1 – 5 of 5) sorted by relevance
128 protected final AccessibilitySecurityPolicy mSecurityPolicy; field in AbstractAccessibilityServiceConnection253 mSecurityPolicy = securityPolicy; in AbstractAccessibilityServiceConnection()284 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in onKeyEvent()397 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()401 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindows()438 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()442 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindow()472 mSecurityPolicy.canGetAccessibilityNodeInfoLocked( in findAccessibilityNodeInfosByViewId()490 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findAccessibilityNodeInfosByViewId()501 return mSecurityPolicy.computeValidReportedPackages( in findAccessibilityNodeInfosByViewId()[all …]
130 return mSecurityPolicy.canRetrieveWindowContentLocked(this) && mRetrieveInteractiveWindows; in canRetrieveInteractiveWindowsLocked()242 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()246 if (mSecurityPolicy.hasPermission(Manifest.permission.INTERACT_ACROSS_USERS) in hasRightsToCurrentUserLocked()247 || mSecurityPolicy.hasPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL)) { in hasRightsToCurrentUserLocked()335 && mSecurityPolicy.canCaptureFingerprintGestures(this) in isCapturingFingerprintGestures()377 if (mSecurityPolicy.canPerformGestures(this)) { in dispatchGesture()
204 private final AccessibilitySecurityPolicy mSecurityPolicy; field in AccessibilityManagerService294 mSecurityPolicy = securityPolicy; in AccessibilityManagerService()313 mSecurityPolicy = new AccessibilitySecurityPolicy(mContext, this); in AccessibilityManagerService()315 mWindowManagerService, this, mSecurityPolicy, this); in AccessibilityManagerService()321 mSecurityPolicy.setAccessibilityWindowManager(mA11yWindowManager); in init()350 mSecurityPolicy.setAppWidgetManager( in onBootPhase()608 final int resolvedUserId = mSecurityPolicy in addClient()616 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) { in addClient()658 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent()662 event.setPackageName(mSecurityPolicy.resolveValidReportedPackageLocked( in sendAccessibilityEvent()[all …]
70 private final AccessibilitySecurityPolicy mSecurityPolicy; field in AccessibilityWindowManager846 mSecurityPolicy = securityPolicy; in AccessibilityWindowManager()953 final int resolvedUserId = mSecurityPolicy in addAccessibilityInteractionConnection()958 packageName = mSecurityPolicy.resolveValidReportedPackageLocked( in addAccessibilityInteractionConnection()966 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) { in addAccessibilityInteractionConnection()1011 mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked( in removeAccessibilityInteractionConnection()
238 private SecurityPolicy mSecurityPolicy; field in AppWidgetServiceImpl267 mSecurityPolicy = new SecurityPolicy(); in onStart()379 final int groupId = mSecurityPolicy.getGroupParent( in onConfigurationChanged()718 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId); in ensureGroupStateLoadedLocked()851 mSecurityPolicy.enforceCallFromPackage(callingPackage); in startListening()855 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in startListening()897 mSecurityPolicy.enforceCallFromPackage(callingPackage); in stopListening()924 mSecurityPolicy.enforceCallFromPackage(callingPackage); in allocateAppWidgetId()928 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in allocateAppWidgetId()973 mSecurityPolicy.enforceCallFromPackage(callingPackage); in deleteAppWidgetId()[all …]