Searched refs:UserUtils (Results 1 – 8 of 8) sorted by relevance
50 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()
45 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()
50 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()
44 import com.android.providers.contacts.util.UserUtils;128 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
171 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 …]
27 public final class UserUtils { class32 private UserUtils() { in UserUtils() method in UserUtils
31 import com.android.providers.contacts.util.UserUtils;61 final UserHandle currentHandle = new UserHandle(UserUtils.getCurrentUserHandle(mContext)); in isCrossProfileAllowed()
103 import com.android.providers.contacts.util.UserUtils;2832 assertEquals(-1, UserUtils.getCorpUserId(mActor.getProviderContext())); in testQueryCorpContactsProvider()