Home
last modified time | relevance | path

Searched refs:isParentUser (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java136 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/
DUserUtils.java116 public static boolean isParentUser(Context context, UserHandle user1, UserHandle user2) { in isParentUser() method in UserUtils
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5847 UserUtils.isParentUser(getContext(), currentUserHandle, callingUserHandle)); in doesCallingProviderUseCurrentUsersContacts()