Searched refs:resolveProfileParentLocked (Results 1 – 5 of 5) sorted by relevance
425 assertEquals(mA11ySecurityPolicy.resolveProfileParentLocked(userId), in resolveProfileParent_userIdIsCurrentUser_returnCurrentUser()435 mA11ySecurityPolicy.resolveProfileParentLocked(userId); in resolveProfileParent_userIdNotCurrentUser_shouldGetProfileParent()446 verify(spySecurityPolicy).resolveProfileParentLocked(userId); in resolveCallingUserId_userIdIsCallingUser_shouldResolveProfileParent()457 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_callingParentIsCurrentUser_returnCurrentUser()473 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_callingParentNotCurrentUserAndNoPerm_shouldException()491 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithCrossUserPermission_returnUserId()509 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithCrossUserFullPermission_returnUserId()527 doReturn(callingParentId).when(spySecurityPolicy).resolveProfileParentLocked( in resolveCallingUserId_anotherUserIdWithoutCrossUserPermission_shouldException()
357 public int resolveProfileParentLocked(int userId) { in resolveProfileParentLocked() method in AccessibilitySecurityPolicy391 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()395 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()397 final int callingUserParentId = resolveProfileParentLocked(callingUserId); in resolveCallingUserIdEnforcingPermissionsLocked()412 return resolveProfileParentLocked(userId); in resolveCallingUserIdEnforcingPermissionsLocked()
242 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()
1200 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser()
4418 HSPLcom/android/server/accessibility/AccessibilitySecurityPolicy;->resolveProfileParentLocked(I)I