/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSettings.java | 118 public UserInfo userInfo; field in AccountSettings.ProfileData 157 final UserHandle managedProfile = mProfiles.valueAt(1).userInfo.getUserHandle(); in onPrepareOptionsMenu() 209 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick() 215 final int userId = profileData.userInfo.id; in onPreferenceClick() 244 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId()); in updateUi() local 245 updateProfileUi(userInfo, false /* no category needed */, preferenceScreen); in updateUi() 268 private void updateProfileUi(final UserInfo userInfo, boolean addCategory, in updateProfileUi() argument 272 profileData.userInfo = userInfo; in updateProfileUi() 275 if (userInfo.isManagedProfile()) { in updateProfileUi() 278 String workGroupSummary = getWorkGroupSummary(context, userInfo); in updateProfileUi() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | PreBootListener.java | 82 for (UserInfo userInfo : profiles) { in onReceive() 83 if (!userInfo.isManagedProfile()) { in onReceive() 86 pm.clearCrossProfileIntentFilters(userInfo.id); in onReceive() 88 pm, UserHandle.USER_OWNER, userInfo.id); in onReceive() 90 ComponentName profileOwner = dpm.getProfileOwnerAsUser(userInfo.id); in onReceive() 93 ProvisionLogger.loge("No profile owner on managed profile " + userInfo.id); in onReceive() 98 um.setUserRestriction(UserManager.DISALLOW_WALLPAPER, true, userInfo.getUserHandle()); in onReceive() 104 userInfo.id); in onReceive() 110 userInfo.id, in onReceive()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 193 final UserInfo userInfo = allUsers.get(userIndex); in update() local 194 if (isProfileOf(mCurrentUser, userInfo)) { in update() 196 addCategory(screen, userInfo.name) : screen; in update() 197 addDetailItems(details, showShared, userInfo.id); in update() 207 final UserInfo userInfo = allUsers.get(userIndex); in update() local 208 if (!isProfileOf(mCurrentUser, userInfo)) { in update() 209 addItem(otherUsers, /* titleRes */ 0, userInfo.name, userInfo.id); in update()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserAdapter.java | 53 UserInfo userInfo = um.getUserInfo(mUserHandle.getIdentifier()); in UserDetails() local 55 if (userInfo.isManagedProfile()) { in UserDetails() 60 mName = userInfo.name; in UserDetails() 61 final int userId = userInfo.id; in UserDetails()
|
D | MasterClear.java | 212 final UserInfo userInfo = profiles.get(profileIndex); in loadAccountList() local 213 final int profileId = userInfo.id; in loadAccountList() 228 titleText.setText(userInfo.isManagedProfile() ? R.string.category_work in loadAccountList()
|
D | HomeSettings.java | 236 for (UserInfo userInfo : profiles) { in hasManagedProfile() 237 if (userInfo.isManagedProfile()) return true; in hasManagedProfile()
|
D | TrustedCredentialsSettings.java | 334 final UserInfo userInfo = mUserManager.getUserInfo(profile.getIdentifier()); in getGroupView() local 335 if (userInfo.isManagedProfile()) { in getGroupView()
|
D | Utils.java | 741 final UserInfo userInfo = userManager.getUserInfo(profile.getIdentifier()); in getManagedProfile() local 742 if (userInfo.isManagedProfile()) { in getManagedProfile()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileDialogFragment.java | 278 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in isRestrictedProfileInEffect() local 279 return userInfo.isRestricted(); in isRestrictedProfileInEffect() 295 for (UserInfo userInfo : userManager.getUsers()) { in findRestrictedUser() 296 if (userInfo.isRestricted()) { in findRestrictedUser() 297 return userInfo; in findRestrictedUser()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDialogs.java | 54 UserInfo userInfo = um.getUserInfo(removingUserId); in createRemoveDialog() local 61 } else if (userInfo.isRestricted()) { in createRemoveDialog() 64 } else if (userInfo.isManagedProfile()) { in createRemoveDialog()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 310 public void setLogin(String userInfo) { in setLogin() argument 313 if (!TextUtils.isEmpty(userInfo)) { in setLogin() 314 String[] userInfoParts = userInfo.split(":", 2); in setLogin()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapStore.java | 117 String[] userInfo = recvAuth.getLogin(); in ImapStore() local 118 mUsername = userInfo[0]; in ImapStore() 119 mPassword = userInfo[1]; in ImapStore()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallerActivity.java | 84 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local 86 getString(R.string.uninstall_application_text_user, userInfo.name)); in onCreateDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | NewStorageActivity.java | 260 final UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in onReceive() local 262 if (userInfo.isRestricted() || in onReceive()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pLinkManager.java | 495 UserInfo userInfo = userManager.getUserInfo(UserHandle.getUserId(uid)); in isBeamDisabled() local 497 UserManager.DISALLOW_OUTGOING_BEAM, userInfo.getUserHandle()); in isBeamDisabled()
|
D | NfcService.java | 846 UserInfo userInfo = mUserManager.getUserInfo(UserHandle.getCallingUserId()); in setAppCallback() local 848 UserManager.DISALLOW_OUTGOING_BEAM, userInfo.getUserHandle())) { in setAppCallback()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 254 for (UserInfo userInfo : userInfos) { in isProfileOrDeviceOwner() 255 ComponentName cn = dpm.getProfileOwnerAsUser(userInfo.id); in isProfileOrDeviceOwner()
|