Home
last modified time | relevance | path

Searched refs:resolveProfileParentLocked (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java457 assertEquals(mA11ySecurityPolicy.resolveProfileParentLocked(userId), in resolveProfileParent_userIdIsCurrentUser_returnCurrentUser()
467 mA11ySecurityPolicy.resolveProfileParentLocked(userId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent()
478 verify(spySecurityPolicy).resolveProfileParentLocked(userId); in resolveCallingUserId_userIdIsCallingUser_shouldResolveProfileParent()
489 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser()
505 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException()
525 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId()
543 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId()
561 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java447 public int resolveProfileParentLocked(int userId) { in resolveProfileParentLocked() method in AccessibilitySecurityPolicy
481 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()
485 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()
487 final int callingUserParentId = resolveProfileParentLocked(callingUserId); in resolveCallingUserIdEnforcingPermissionsLocked()
502 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()
DAccessibilityServiceConnection.java324 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()
DAccessibilityManagerService.java2026 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser()
/frameworks/base/services/
Dart-wear-profile3474 PLcom/android/server/accessibility/AccessibilitySecurityPolicy;->resolveProfileParentLocked(I)I