Searched refs:isParentUser (Results 1 – 3 of 3) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 136 assertTrue(UserUtils.isParentUser(c, primaryProfileUserHandle, cloneUserHandle)); in testIsParentUser() 137 assertTrue(UserUtils.isParentUser(c, primaryProfileUserHandle, corpUserHandle)); in testIsParentUser() 138 assertFalse(UserUtils.isParentUser(c, primaryProfileUserHandle, primaryProfileUserHandle)); in testIsParentUser() 139 assertFalse(UserUtils.isParentUser(c, cloneUserHandle, cloneUserHandle)); in testIsParentUser() 140 assertFalse(UserUtils.isParentUser(c, cloneUserHandle, primaryProfileUserHandle)); in testIsParentUser() 141 assertFalse(UserUtils.isParentUser(c, corpUserHandle, primaryProfileUserHandle)); in testIsParentUser()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UserUtils.java | 116 public static boolean isParentUser(Context context, UserHandle user1, UserHandle user2) { in isParentUser() method in UserUtils
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 5847 UserUtils.isParentUser(getContext(), currentUserHandle, callingUserHandle)); in doesCallingProviderUseCurrentUsersContacts()
|