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.java425 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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java357 public int resolveProfileParentLocked(int userId) { in resolveProfileParentLocked() method in AccessibilitySecurityPolicy
391 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()
DAccessibilityServiceConnection.java242 if (mSecurityPolicy.resolveProfileParentLocked(UserHandle.getUserId(callingUid)) in hasRightsToCurrentUserLocked()
DAccessibilityManagerService.java1200 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser()
/frameworks/base/services/
Dart-profile4418 HSPLcom/android/server/accessibility/AccessibilitySecurityPolicy;->resolveProfileParentLocked(I)I