Home
last modified time | relevance | path

Searched refs:getUserInfo (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java52 when(mUserManager.getUserInfo(TEST_PRIMARY_USER_ID)).thenReturn(primaryUser); in setUp()
55 when(mUserManager.getUserInfo(eq(TEST_MANAGED_PROFILE_ID))).thenReturn(managedProfile); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java109 UserInfo myUserInfo = UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId()); in isPinCorrect()
130 UserInfo myUserInfo = UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId()); in isPinSet()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java332 UserInfo user = mUserManager.getUserInfo(UserHandle.myUserId()); in loadProfile()
430 UserInfo info = mUserManager.getUserInfo(userId); in onManageUserClicked()
458 if (mUserManager.getUserInfo(userId).isRestricted()) { in onUserCreated()
938 UserInfo user = mUserManager.getUserInfo(userId); in onPreferenceClick()
1047 final UserInfo myUserInfo = userManager.getUserInfo(UserHandle.myUserId()); in create()
1109 UserInfo info = mContext.getSystemService(UserManager.class).getUserInfo( in setListening()
DUserDialogs.java54 UserInfo userInfo = um.getUserInfo(removingUserId); in createRemoveDialog()
DUserDetailsSettings.java93 mUserInfo = mUserManager.getUserInfo(userId); in onCreate()
DEditUserInfoController.java122 UserInfo info = mUserManager.getUserInfo(mUser.getIdentifier()); in createDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java371 UserManager.get(getActivity()).getUserInfo(UserHandle.myUserId()); in pinFragmentDone()
445 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in isRestrictedProfileInEffect()
450 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in isRestrictedProfileInEffect()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java193 public UserInfo getUserInfo(int userHandle) { in getUserInfo() method in ContactsActor.MockUserManager
204 final UserInfo child = getUserInfo(userHandle); in getProfileParent()
238 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()
/packages/services/Telecomm/src/com/android/server/telecom/
DUserUtil.java31 return userManager.getUserInfo(userHandle.getIdentifier()); in getUserInfoFromUserHandle()
/packages/apps/Settings/src/com/android/settings/
DSaveChosenLockWorkerBase.java76 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
DSettingsInitialize.java51 UserInfo userInfo = um.getUserInfo(UserHandle.myUserId()); in onReceive()
DUtils.java607 final UserInfo userInfo = userManager.getUserInfo(profile.getIdentifier()); in getManagedProfile()
648 UserInfo userInfo = userManager.getUserInfo(userId); in isManagedProfile()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultSmsPreference.java75 .getUserInfo(UserHandle.myUserId()).isRestricted(); in isAvailable()
DRunningState.java784 UserInfo userInfo = mUm.getUserInfo(mMyUserId); in RunningState()
873 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java146 when(userManager.getUserInfo(eq(CURRENT_USER_ID))).thenReturn(userInfo); in setUp()
147 when(userManager.getUserInfo(eq(OTHER_USER_ID))).thenReturn(otherUserInfo); in setUp()
148 when(userManager.getUserInfo(eq(MANAGED_USER_ID))).thenReturn(managedProfileUserInfo); in setUp()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java88 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningController.java459 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showProvisioningError()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java166 UserInfo info = um.getUserInfo(sipper.userId); in BatteryEntry()
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java222 UserInfo info = userManager.getUserInfo(users[i]); in notifyOfDownload()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java244 mManagedProfileOrUserInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in startManagedProfileOrUserProvisioning()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java198 final UserInfo info = um.getUserInfo(userId); in onCreate()
DDataUsageList.java348 final UserInfo info = userManager.getUserInfo(userId); in bindStats()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java538 setLogin(uri.getUserInfo()); in setHostAuthFromString()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java276 UserInfo user = um.getUserInfo(UserHandle.myUserId()); in isManagedProfile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java364 final UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in onReceive()

12