/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 120 public UserInfo userInfo; field in AccountPreferenceController.ProfileData 178 UserInfo userInfo = profiles.get(i); in updateRawDataToIndex() local 179 if (userInfo.isEnabled()) { in updateRawDataToIndex() 180 if (!mHelper.hasBaseUserRestriction(DISALLOW_MODIFY_ACCOUNTS, userInfo.id)) { in updateRawDataToIndex() 186 if (userInfo.isManagedProfile()) { in updateRawDataToIndex() 236 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick() 242 final int userId = profileData.userInfo.id; in onPreferenceClick() 249 arguments.putParcelable(Intent.EXTRA_USER, profileData.userInfo.getUserHandle()); in onPreferenceClick() 275 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId()); in updateUi() local 276 updateProfileUi(userInfo); in updateUi() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsInitialize.java | 53 UserInfo userInfo = um.getUserInfo(UserHandle.myUserId()); in onReceive() local 55 managedProfileSetup(context, pm, broadcast, userInfo); in onReceive() 56 webviewSettingSetup(context, pm, userInfo); in onReceive() 60 UserInfo userInfo) { in managedProfileSetup() argument 61 if (userInfo == null || !userInfo.isManagedProfile()) { in managedProfileSetup() 67 pm.clearCrossProfileIntentFilters(userInfo.id); in managedProfileSetup() 85 pm.addCrossProfileIntentFilter(info.filter, userInfo.id, in managedProfileSetup() 86 userInfo.profileGroupId, PackageManager.SKIP_CURRENT_PROFILE); in managedProfileSetup() 102 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup() argument 103 if (userInfo == null) { in webviewSettingSetup() [all …]
|
D | MasterClear.java | 273 final UserInfo userInfo = profiles.get(profileIndex); in loadAccountList() local 274 final int profileId = userInfo.id; in loadAccountList() 290 titleText.setText(userInfo.isManagedProfile() ? R.string.category_work in loadAccountList()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | UserUtil.java | 35 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle); in isManagedProfile() local 36 return userInfo != null && userInfo.isManagedProfile(); in isManagedProfile() 40 UserInfo userInfo = getUserInfoFromUserHandle(context, userHandle); in isProfile() local 41 return userInfo != null && userInfo.profileGroupId != userInfo.id; in isProfile()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityFragment.java | 149 UserInfo userInfo = findRestrictedUser(mUserManager); in onResume() local 150 if (userInfo != null) { in onResume() 151 onRestrictedUserCreated(userInfo); in onResume() 411 for (UserInfo userInfo : userManager.getUsers()) { in findRestrictedUser() 412 if (userInfo.isRestricted()) { in findRestrictedUser() 413 return userInfo; in findRestrictedUser() 461 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in isRestrictedProfileInEffect() local 462 return userInfo.isRestricted(); in isRestrictedProfileInEffect() 466 UserInfo userInfo = userManager.getUserInfo(UserHandle.myUserId()); in isRestrictedProfileInEffect() local 467 return userInfo.isRestricted(); in isRestrictedProfileInEffect()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 619 UserInfo userInfo = mUserManager.createUser( in doInBackground() local 623 if (userInfo != null) { in doInBackground() 624 ProvisionLogger.logi("Created user " + userInfo.id + " to hold the device owner"); in doInBackground() 626 return userInfo; in doInBackground() 630 protected void onPostExecute(UserInfo userInfo) { in onPostExecute() argument 631 if (userInfo == null) { in onPostExecute() 636 mActivityManager.switchUser(userInfo.id); in onPostExecute() 639 mUi.startProvisioning(userInfo.id, mParams); in onPostExecute() 665 UserInfo userInfo = mUserManager.getUserInfo(mUserManager.getUserHandle()); in showManagedProfileErrorAndClose() local 676 if (!userInfo.canHaveProfile()) { in showManagedProfileErrorAndClose()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | UserAppInfo.java | 30 public final UserInfo userInfo; field in UserAppInfo 34 this.userInfo = mUserInfo; in UserAppInfo() 50 return that.userInfo.id == userInfo.id && TextUtils.equals(that.appInfo.packageName, in equals() 56 return Objects.hash(userInfo.id, appInfo.packageName); in hashCode()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 71 for (final UserInfo userInfo : mUm.getProfiles(MY_USER_ID)) { in getManagedProfileUserId() 72 if (userInfo.isManagedProfile()) { in getManagedProfileUserId() 73 return userInfo.id; in getManagedProfileUserId() 219 for (final UserInfo userInfo : mUm.getProfiles(MY_USER_ID)) { in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile() 221 = mDpm.getActiveAdminsAsUser(userInfo.id); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
|
D | EnterpriseSetDefaultAppsListPreferenceController.java | 90 mUsers.add(apps.get(0).userInfo); in buildAppList() 124 final UserInfo userInfo = mUsers.get(i); in updateUi() local 127 if (userInfo.isManagedProfile()) { in updateUi()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | CreateManagedProfileTask.java | 67 UserInfo userInfo = mUserManager.createProfileForUserEvenWhenDisallowed( in run() local 71 if (userInfo == null) { in run() 75 mProfileUserId = userInfo.id; in run() 76 mNonRequiredAppsLogic.maybeTakeSystemAppsSnapshot(userInfo.id); in run()
|
D | DisallowAddUserTask.java | 62 for (UserInfo userInfo : mUserManager.getUsers()) { in run() 63 UserHandle userHandle = userInfo.getUserHandle(); in run() 66 ProvisionLogger.logi("DISALLOW_ADD_USER restriction set on user: " + userInfo.id); in run()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | UserAndAccountDashboardFragmentTest.java | 94 final UserInfo userInfo = new UserInfo(); in updateSummary_shouldDisplaySignedInUser() local 95 userInfo.name = "test_name"; in updateSummary_shouldDisplaySignedInUser() 98 when(mUserManager.getUserInfo(anyInt())).thenReturn(userInfo); in updateSummary_shouldDisplaySignedInUser() 105 userInfo.name); in updateSummary_shouldDisplaySignedInUser()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | OtaController.java | 82 for (UserInfo userInfo : mUserManager.getUsers()) { in run() 83 if (userInfo.isManagedProfile()) { in run() 84 addManagedProfileTasks(userInfo.id, mContext); in run() 88 mCrossProfileIntentFiltersSetter.resetFilters(userInfo.id); in run()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 145 final UserInfo userInfo = mUserManager.getUserInfo(UserHandle.myUserId()); in updateSummary() local 147 if (userInfo.isRestricted()) { in updateSummary() 148 uid = userInfo.restrictedProfileParentId; in updateSummary() 150 uid = userInfo.id; in updateSummary()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 225 final UserInfo userInfo = allUsers.get(userIndex); in update() local 226 if (Utils.isProfileOf(mCurrentUser, userInfo)) { in update() 228 addCategory(screen, userInfo.name) : screen; in update() 229 addDetailItems(details, showShared, userInfo.id); in update() 239 final UserInfo userInfo = allUsers.get(userIndex); in update() local 240 if (!Utils.isProfileOf(mCurrentUser, userInfo)) { in update() 241 addItem(otherUsers, /* titleRes */ 0, userInfo.name, userInfo.id); in update()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | UserIconLoader.java | 70 for (UserInfo userInfo : um.getUsers()) { in loadUserIconsWithContext() 71 value.put(userInfo.id, Utils.getUserIcon(context, um, userInfo)); in loadUserIconsWithContext()
|
D | StorageAsyncLoader.java | 79 public int compare(UserInfo userInfo, UserInfo otherUser) { in loadApps() 80 return Integer.compare(userInfo.id, otherUser.id); in loadApps()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 63 final UserInfo userInfo = new UserInfo(); in setListening_shouldSetSummaryWithUserName() local 64 userInfo.name = name; in setListening_shouldSetSummaryWithUserName() 65 when(mUserManager.getUserInfo(anyInt())).thenReturn(userInfo); in setListening_shouldSetSummaryWithUserName()
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
D | WorkModeCondition.java | 46 UserInfo userInfo = profiles.get(i); in updateUserHandle() local 47 if (userInfo.isManagedProfile()) { in updateUserHandle() 49 mUserHandle = userInfo.getUserHandle(); in updateUserHandle()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDialogs.java | 54 UserInfo userInfo = um.getUserInfo(removingUserId); in createRemoveDialog() local 58 if (userInfo.isManagedProfile()) { in createRemoveDialog() 69 } else if (userInfo.isRestricted()) { in createRemoveDialog()
|
/packages/apps/Settings/src/com/android/settings/system/ |
D | FactoryResetPreferenceController.java | 60 for (UserInfo userInfo : profiles) { in updateState() 61 final int profileId = userInfo.id; in updateState()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 69 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local 71 getString(R.string.uninstall_application_text_user, userInfo.name)); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultHomePicker.java | 115 for (UserInfo userInfo : profiles) { in hasManagedProfile() 116 if (userInfo.isManagedProfile()) { in hasManagedProfile()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 73 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() local 75 getString(R.string.uninstall_application_text_user, userInfo.name)); in onCreateGuidance()
|
/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()
|