Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java96 protected final SecurityPolicy mSecurityPolicy; field in AbstractAccessibilityServiceConnection
253 mSecurityPolicy = securityPolicy; in AbstractAccessibilityServiceConnection()
278 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in onKeyEvent()
387 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindows()
391 if (mSecurityPolicy.mWindows == null) { in getWindows()
394 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindows()
398 final int windowCount = mSecurityPolicy.mWindows.size(); in getWindows()
400 AccessibilityWindowInfo window = mSecurityPolicy.mWindows.get(i); in getWindows()
418 mSecurityPolicy.canRetrieveWindowsLocked(this); in getWindow()
422 if (!mSecurityPolicy.checkAccessibilityAccess(this)) { in getWindow()
[all …]
DAccessibilityManagerService.java212 private final SecurityPolicy mSecurityPolicy; field in AccessibilityManagerService
306 mSecurityPolicy = new SecurityPolicy(); in AccessibilityManagerService()
537 final int resolvedUserId = mSecurityPolicy in addClient()
545 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) { in addClient()
577 AccessibilityWindowInfo pip = mSecurityPolicy.getPictureInPictureWindow(); in sendAccessibilityEvent()
587 final int resolvedUserId = mSecurityPolicy in sendAccessibilityEvent()
591 event.setPackageName(mSecurityPolicy.resolveValidReportedPackageLocked( in sendAccessibilityEvent()
596 if (mSecurityPolicy.canDispatchAccessibilityEventLocked(event)) { in sendAccessibilityEvent()
597 mSecurityPolicy.updateActiveAndAccessibilityFocusedWindowLocked( in sendAccessibilityEvent()
600 mSecurityPolicy.updateEventSourceLocked(event); in sendAccessibilityEvent()
[all …]
DAccessibilityServiceConnection.java128 return mSecurityPolicy.canRetrieveWindowContentLocked(this) && mRetrieveInteractiveWindows; in canRetrieveInteractiveWindowsLocked()
234 final int resolvedUserId = mSecurityPolicy in isCalledForCurrentUserLocked()
334 && mSecurityPolicy.canCaptureFingerprintGestures(this) in isCapturingFingerprintGestures()
375 if (mSecurityPolicy.canPerformGestures(this)) { in sendGesture()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java235 private SecurityPolicy mSecurityPolicy; field in AppWidgetServiceImpl
264 mSecurityPolicy = new SecurityPolicy(); in onStart()
371 final int groupId = mSecurityPolicy.getGroupParent( in onConfigurationChanged()
706 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId); in ensureGroupStateLoadedLocked()
837 mSecurityPolicy.enforceCallFromPackage(callingPackage); in startListening()
841 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in startListening()
883 mSecurityPolicy.enforceCallFromPackage(callingPackage); in stopListening()
909 mSecurityPolicy.enforceCallFromPackage(callingPackage); in allocateAppWidgetId()
913 if (mSecurityPolicy.isInstantAppLocked(callingPackage, userId)) { in allocateAppWidgetId()
958 mSecurityPolicy.enforceCallFromPackage(callingPackage); in deleteAppWidgetId()
[all …]