Home
last modified time | relevance | path

Searched refs:UserUtils (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DUserUtilsTest.java50 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
56 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser()
59 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
66 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser()
69 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
72 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
78 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
81 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java45 import com.android.providers.contacts.util.UserUtils;
166 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
181 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update()
196 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete()
222 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openFile()
DCallLogProvider.java50 import com.android.providers.contacts.util.UserUtils;
238 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
399 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update()
436 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete()
543 final UserManager userManager = UserUtils.getUserManager(getContext()); in syncEntries()
DContactMetadataProvider.java44 import com.android.providers.contacts.util.UserUtils;
128 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
DContactsProvider2.java171 import com.android.providers.contacts.util.UserUtils;
3611 " User=" + UserUtils.getCurrentUserHandle(getContext())); in deleteInTransaction()
4026 " User=" + UserUtils.getCurrentUserHandle(getContext())); in updateInTransaction()
5517 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
5553 return Binder.getCallingUserHandle().getIdentifier() == UserUtils in isCallerFromSameUser()
5672 " User=" + UserUtils.getCurrentUserHandle(getContext())); in queryDirectoryAuthority()
5702 final int corpUserId = UserUtils.getCorpUserId(getContext()); in queryCorpContactsProvider()
7264 final int corpUserId = UserUtils.getCorpUserId(getContext()); in queryMergedDataPhones()
7363 final int corpUserId = UserUtils.getCorpUserId(getContext()); in queryCorpLookupIfNecessary()
8692 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openAssetFile()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java27 public final class UserUtils { class
32 private UserUtils() { in UserUtils() method in UserUtils
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java31 import com.android.providers.contacts.util.UserUtils;
61 final UserHandle currentHandle = new UserHandle(UserUtils.getCurrentUserHandle(mContext)); in isCrossProfileAllowed()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java103 import com.android.providers.contacts.util.UserUtils;
2832 assertEquals(-1, UserUtils.getCorpUserId(mActor.getProviderContext())); in testQueryCorpContactsProvider()