Home
last modified time | relevance | path

Searched refs:mSecurityPolicy (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java164 protected final AccessibilitySecurityPolicy mSecurityPolicy; field in AbstractAccessibilityServiceConnection
351 mSecurityPolicy = securityPolicy; in AbstractAccessibilityServiceConnection()
383 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in onKeyEvent()
581 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()
585 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindows()
637 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()
641 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindow()
683 mSecurityPolicy.canGetAccessibilityNodeInfoLocked( in findAccessibilityNodeInfosByViewId()
704 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in findAccessibilityNodeInfosByViewId()
721 return mSecurityPolicy.computeValidReportedPackages( in findAccessibilityNodeInfosByViewId()
[all …]
DAccessibilityServiceConnection.java196 return mSecurityPolicy.canRetrieveWindowContentLocked(this) && mRetrieveInteractiveWindows; in canRetrieveInteractiveWindowsLocked()
324 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()
328 if (mSecurityPolicy.hasPermission(Manifest.permission.INTERACT_ACROSS_USERS) in hasRightsToCurrentUserLocked()
329 || mSecurityPolicy.hasPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL)) { in hasRightsToCurrentUserLocked()
415 checkResult = mSecurityPolicy.canEnableDisableInputMethod(imeId, this); in setInputMethodEnabled()
500 && mSecurityPolicy.canCaptureFingerprintGestures(this) in isCapturingFingerprintGestures()
549 if (mServiceInterface != null && mSecurityPolicy.canPerformGestures(this)) { in dispatchGesture()
593 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in setFocusAppearance()
682 || !mSecurityPolicy.checkAccessibilityAccess(this)) { in checkAccessibilityAccessLocked()
DAccessibilityManagerService.java301 private final AccessibilitySecurityPolicy mSecurityPolicy; field in AccessibilityManagerService
503 mSecurityPolicy = securityPolicy; in AccessibilityManagerService()
541 mSecurityPolicy = new AccessibilitySecurityPolicy(policyWarningUIController, mContext, in AccessibilityManagerService()
544 mWindowManagerService, this, mSecurityPolicy, this, mTraceManager); in AccessibilityManagerService()
571 mSecurityPolicy.setAccessibilityWindowManager(mA11yWindowManager); in init()
666 mSecurityPolicy.onBoundServicesChangedLocked(userState.mUserId, in onServiceInfoChangedLocked()
689 mSecurityPolicy.setAppWidgetManager( in onBootPhase()
704 mSecurityPolicy.setSendingNonA11yToolNotificationLocked(sendNotification); in setNonA11yToolNotificationToMatchSafetyCenter()
1059 final int resolvedUserId = mSecurityPolicy in addClient()
1071 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) { in addClient()
[all …]
DAccessibilityWindowManager.java88 private final AccessibilitySecurityPolicy mSecurityPolicy; field in AccessibilityWindowManager
163 mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked(userId); in setAccessibilityWindowAttributes()
1228 mSecurityPolicy = securityPolicy; in AccessibilityWindowManager()
1386 final int resolvedUserId = mSecurityPolicy in addAccessibilityInteractionConnection()
1391 packageName = mSecurityPolicy.resolveValidReportedPackageLocked( in addAccessibilityInteractionConnection()
1399 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) { in addAccessibilityInteractionConnection()
1450 mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked( in removeAccessibilityInteractionConnection()
DProxyAccessibilityServiceConnection.java250 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in setFocusAppearance()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java278 private SecurityPolicy mSecurityPolicy; field in AppWidgetServiceImpl
318 mSecurityPolicy = new SecurityPolicy(); in onStart()
861 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId); in ensureGroupStateLoadedLocked()
975 mSecurityPolicy.enforceCallFromPackage(callingPackage); in startListening()
979 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in startListening()
1021 mSecurityPolicy.enforceCallFromPackage(callingPackage); in stopListening()
1049 mSecurityPolicy.enforceCallFromPackage(callingPackage); in allocateAppWidgetId()
1053 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in allocateAppWidgetId()
1097 mSecurityPolicy.enforceCallFromPackage(callingPackage); in setAppWidgetHidden()
1121 mSecurityPolicy.enforceCallFromPackage(callingPackage); in deleteAppWidgetId()
[all …]