/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 48 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser() 54 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser() 57 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser() 64 assertEquals(MockUserManager.CORP_USER.id, UserUtils.getCorpUserId(c)); in testGetCorpUser() 67 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser() 70 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser() 76 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser() 79 assertEquals(-1, UserUtils.getCorpUserId(c)); in testGetCorpUser()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | HomeRoleBehavior.java | 38 import com.android.packageinstaller.role.utils.UserUtils; 58 return !UserUtils.isWorkProfile(user, context); in isAvailableAsUser() 112 PackageManager userPackageManager = UserUtils.getUserContext(context, user) in preparePreferenceAsUser() 148 boolean hasWorkProfile = UserUtils.getWorkProfile(context) != null; in isMissingWorkProfileSupport()
|
D | AssistantRoleBehavior.java | 42 import com.android.packageinstaller.role.utils.UserUtils; 80 return !UserUtils.isWorkProfile(user, context); in isAvailableAsUser() 114 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUser()
|
D | RequiredBroadcastReceiver.java | 30 import com.android.packageinstaller.role.utils.UserUtils; 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
|
D | RequiredActivity.java | 30 import com.android.packageinstaller.role.utils.UserUtils; 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
|
D | RequiredContentProvider.java | 30 import com.android.packageinstaller.role.utils.UserUtils; 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
|
D | RequiredService.java | 30 import com.android.packageinstaller.role.utils.UserUtils; 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser()
|
D | SmsRoleBehavior.java | 29 import com.android.packageinstaller.role.utils.UserUtils; 46 if (UserUtils.isWorkProfile(user, context)) { in isAvailableAsUser()
|
D | Role.java | 40 import com.android.packageinstaller.role.utils.UserUtils; 564 PackageManager userPackageManager = UserUtils.getUserContext(context, user) in isPackageMinimallyQualifiedAsUser() 696 Utils.getDeviceProtectedSharedPreferences(UserUtils.getUserContext(context, user)).edit() in onHolderAddedAsUser() 736 Utils.getDeviceProtectedSharedPreferences(UserUtils.getUserContext(context, user)).edit() in onNoneHolderSelectedAsUser()
|
D | BrowserRoleBehavior.java | 31 import com.android.packageinstaller.role.utils.UserUtils; 92 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUserInternal()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UserDetailsFragmentTest.java | 87 UserUtils.getUserDisplayName(mContext, mCarUserManagerHelper, testUser)); in testCarUserManagerHelperUpdateListener_showsCorrectText() 98 UserUtils.getUserDisplayName(mContext, mCarUserManagerHelper, testUser)); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate() 105 UserUtils.getUserDisplayName(mContext, mCarUserManagerHelper, testUserUpdated)); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentProvider.java | 47 import com.android.providers.contacts.util.UserUtils; 201 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query() 216 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update() 231 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete() 257 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openFile()
|
D | CallLogProvider.java | 55 import com.android.providers.contacts.util.UserUtils; 316 " User=" + UserUtils.getCurrentUserHandle(getContext())); in queryInternal() 516 " User=" + UserUtils.getCurrentUserHandle(getContext())); in updateInternal() 552 " User=" + UserUtils.getCurrentUserHandle(getContext())); in deleteInternal() 659 final UserManager userManager = UserUtils.getUserManager(getContext()); in syncEntries()
|
D | ContactMetadataProvider.java | 44 import com.android.providers.contacts.util.UserUtils; 128 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserUtils.java | 29 public class UserUtils { class 30 private UserUtils() { in UserUtils() method in UserUtils
|
D | UserDetailsBaseFragment.java | 75 mUserInfo = UserUtils.getUserInfo(getContext(), userId); in onAttach() 118 mUserInfo = UserUtils.getUserInfo(getContext(), mUserInfo.id); in refreshUserInfo()
|
D | UsersListPreferenceController.java | 35 if (UserUtils.isAdminViewingNonAdmin(getCarUserManagerHelper(), userInfo)) { in userClicked()
|
D | UserDetailsPermissionsFragment.java | 58 UserUtils.getUserDisplayName(getContext(), getCarUserManagerHelper(), in getTitleText()
|
D | UserDetailsFragment.java | 74 return UserUtils.getUserDisplayName(getContext(), getCarUserManagerHelper(), getUserInfo()); in getTitleText()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | SpecialAppAccessListViewModel.java | 29 import com.android.packageinstaller.role.utils.UserUtils; 46 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessListViewModel()
|
D | DefaultAppListViewModel.java | 30 import com.android.packageinstaller.role.utils.UserUtils; 55 mWorkProfile = UserUtils.getWorkProfile(application); in DefaultAppListViewModel()
|
D | SpecialAppAccessViewModel.java | 36 import com.android.packageinstaller.role.utils.UserUtils; 64 UserHandle workProfile = UserUtils.getWorkProfile(application); in SpecialAppAccessViewModel()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | UserUtils.java | 27 public final class UserUtils { class 32 private UserUtils() { in UserUtils() method in UserUtils
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/ |
D | UserUtils.java | 34 public class UserUtils { class 36 private UserUtils() {} in UserUtils() method in UserUtils
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuard.java | 31 import com.android.providers.contacts.util.UserUtils; 61 final UserHandle currentHandle = new UserHandle(UserUtils.getCurrentUserHandle(mContext)); in isCrossProfileAllowed()
|