Searched refs:resolveProfileParentLocked (Results 1 – 5 of 5) sorted by relevance
457 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()
447 public int resolveProfileParentLocked(int userId) { in resolveProfileParentLocked() method in AccessibilitySecurityPolicy481 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()
324 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()
2026 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser()
3474 PLcom/android/server/accessibility/AccessibilitySecurityPolicy;->resolveProfileParentLocked(I)I