Home
last modified time | relevance | path

Searched refs:getCurrentUserIdLocked (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnection.java234 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method
471 mSystemSupport.getCurrentUserIdLocked(), windowId); in getWindow()
521 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByViewId()
526 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByViewId()
594 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByText()
599 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByText()
668 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId()
673 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId()
747 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findFocus()
820 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in focusSearch()
[all …]
H A DAccessibilitySecurityPolicy.java89 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method
373 if (userId != mAccessibilityUserManager.getCurrentUserIdLocked()) { in resolveProfileParentLocked()
398 final int currentUserId = mAccessibilityUserManager.getCurrentUserIdLocked(); in resolveCallingUserIdEnforcingPermissionsLocked()
603 if (mAccessibilityUserManager.getCurrentUserIdLocked() != userId) { in onBoundServicesChangedLocked()
666 if (mAccessibilityUserManager.getCurrentUserIdLocked() != userId) { in onEnabledServicesChangedLocked()
H A DAccessibilityWindowManager.java379 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), in onWindowsForAccessibilityChanged()
516 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), windows); in clearWindowsLocked()
1693 mAccessibilityUserManager.getCurrentUserIdLocked(), windowId)); in clearAccessibilityFocusLocked()
H A DAccessibilityServiceConnection.java253 == mSystemSupport.getCurrentUserIdLocked()) { in hasRightsToCurrentUserLocked()
H A DAccessibilityManagerService.java350 public int getCurrentUserIdLocked() { in getCurrentUserIdLocked() method in AccessibilityManagerService
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilitySecurityPolicyTest.java470 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveProfileParent_userIdIsCurrentUser_returnCurrentUser()
481 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(currentUserId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent()
503 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser()
519 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException()
539 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId()
557 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId()
575 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException()
H A DAccessibilityManagerServiceTest.java137 mA11yms.getCurrentUserIdLocked(), mMockContext, mA11yms); in setUp()
138 mA11yms.mUserStates.put(mA11yms.getCurrentUserIdLocked(), userState); in setUp()
225 mA11yms.getCurrentUserIdLocked()); in testOnMagnificationTransitionFailed_capabilitiesIsAll_fallBackToPreviousMode()
H A DAbstractAccessibilityServiceConnectionTest.java180 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID); in setup()
572 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationScale_serviceNotBelongCurrentUser_returnNoScale()
604 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationRegion_serviceNotBelongCurrentUser_returnEmptyRegion()
628 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterX_serviceNotBelongCurrentUser_returnZero()
652 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterY_serviceNotBelongCurrentUser_returnZero()
681 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in resetMagnification_serviceNotBelongCurrentUser_returnFalse()
726 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in setMagnificationScaleAndCenter_serviceNotBelongCurrentUser_returnFalse()
868 return mResolvedUserId == mSystemSupport.getCurrentUserIdLocked(); in hasRightsToCurrentUserLocked()
H A DAccessibilityWindowManagerTest.java132 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(USER_SYSTEM_ID); in setUp()
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DMagnificationController.java389 mFullScreenMagnificationController.setUserId(mAms.getCurrentUserIdLocked()); in getFullScreenMagnificationController()
414 mAms.getCurrentUserIdLocked(), this, mAms.getTraceManager()); in getWindowMagnificationMgr()
/aosp12/frameworks/base/services/
H A Dart-profile4023 HSPLcom/android/server/accessibility/AccessibilityManagerService;->getCurrentUserIdLocked()I+]Lcom/…