Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java105 assertFalse(UserUtils.shouldUseParentsContacts(c)); in testShouldUseParentsContacts()
106 assertFalse(UserUtils.shouldUseParentsContacts(c, in testShouldUseParentsContacts()
110 assertFalse(UserUtils.shouldUseParentsContacts(c)); in testShouldUseParentsContacts()
111 assertFalse(UserUtils.shouldUseParentsContacts(c, in testShouldUseParentsContacts()
115 assertFalse(UserUtils.shouldUseParentsContacts(c)); in testShouldUseParentsContacts()
116 assertFalse(UserUtils.shouldUseParentsContacts(c, in testShouldUseParentsContacts()
120 assertTrue(UserUtils.shouldUseParentsContacts(c)); in testShouldUseParentsContacts()
121 assertTrue(UserUtils.shouldUseParentsContacts(c, in testShouldUseParentsContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java86 public static boolean shouldUseParentsContacts(Context context) { in shouldUseParentsContacts() method in UserUtils
99 public static boolean shouldUseParentsContacts(Context context, UserHandle userHandle) { in shouldUseParentsContacts() method in UserUtils
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5746 UserUtils.shouldUseParentsContacts(getContext()) && in shouldRedirectQueryToParentProvider()
5846 (UserUtils.shouldUseParentsContacts(getContext(), callingUserHandle) && in doesCallingProviderUseCurrentUsersContacts()
5876 !UserUtils.shouldUseParentsContacts(getContext()); in areContactWritesEnabled()