Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java217 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method
430 mSystemSupport.getCurrentUserIdLocked(), windowId); in getWindow()
473 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByViewId()
478 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByViewId()
534 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfosByText()
539 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfosByText()
595 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId()
600 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findAccessibilityNodeInfoByAccessibilityId()
656 mSystemSupport.getCurrentUserIdLocked(), this, resolvedWindowId); in findFocus()
661 mSystemSupport.getCurrentUserIdLocked(), resolvedWindowId); in findFocus()
[all …]
DAccessibilitySecurityPolicy.java85 int getCurrentUserIdLocked(); in getCurrentUserIdLocked() method
358 if (userId != mAccessibilityUserManager.getCurrentUserIdLocked()) { in resolveProfileParentLocked()
383 final int currentUserId = mAccessibilityUserManager.getCurrentUserIdLocked(); in resolveCallingUserIdEnforcingPermissionsLocked()
DAccessibilityWindowManager.java363 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), in onWindowsForAccessibilityChanged()
483 updateWindowsLocked(mAccessibilityUserManager.getCurrentUserIdLocked(), windows); in clearWindowsLocked()
1621 mAccessibilityUserManager.getCurrentUserIdLocked(), windowId)); in clearAccessibilityFocusLocked()
DAccessibilityServiceConnection.java243 == mSystemSupport.getCurrentUserIdLocked()) { in hasRightsToCurrentUserLocked()
DAccessibilityManagerService.java328 public int getCurrentUserIdLocked() { in getCurrentUserIdLocked() method in AccessibilityManagerService
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java422 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveProfileParent_userIdIsCurrentUser_returnCurrentUser()
433 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(currentUserId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent()
455 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser()
471 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException()
489 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId()
507 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId()
525 when(mMockA11yUserManager.getCurrentUserIdLocked()) in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException()
DAbstractAccessibilityServiceConnectionTest.java176 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID); in setup()
547 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationScale_serviceNotBelongCurrentUser_returnNoScale()
577 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationRegion_serviceNotBelongCurrentUser_returnEmptyRegion()
601 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterX_serviceNotBelongCurrentUser_returnZero()
625 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in getMagnificationCenterY_serviceNotBelongCurrentUser_returnZero()
654 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in resetMagnification_serviceNotBelongCurrentUser_returnFalse()
699 when(mMockSystemSupport.getCurrentUserIdLocked()).thenReturn(USER_ID2); in setMagnificationScaleAndCenter_serviceNotBelongCurrentUser_returnFalse()
840 return mResolvedUserId == mSystemSupport.getCurrentUserIdLocked(); in hasRightsToCurrentUserLocked()
DAccessibilityWindowManagerTest.java131 when(mMockA11yUserManager.getCurrentUserIdLocked()).thenReturn(USER_SYSTEM_ID); in setUp()
/frameworks/base/services/
Dart-profile4273 HSPLcom/android/server/accessibility/AccessibilityManagerService;->getCurrentUserIdLocked()I