Home
last modified time | relevance | path

Searched refs:enforcedAdmin (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DShowAdminSupportDetailsDialog.java160 final EnforcedAdmin enforcedAdmin, final boolean finishActivity) { in setAdminSupportDetails() argument
161 if (enforcedAdmin == null) { in setAdminSupportDetails()
165 if (enforcedAdmin.component != null) { in setAdminSupportDetails()
169 enforcedAdmin.component) || !RestrictedLockUtils.isCurrentUserOrProfile( in setAdminSupportDetails()
170 activity, enforcedAdmin.userId)) { in setAdminSupportDetails()
171 enforcedAdmin.component = null; in setAdminSupportDetails()
173 if (enforcedAdmin.userId == UserHandle.USER_NULL) { in setAdminSupportDetails()
174 enforcedAdmin.userId = UserHandle.myUserId(); in setAdminSupportDetails()
179 enforcedAdmin.component, enforcedAdmin.userId); in setAdminSupportDetails()
193 if (enforcedAdmin.component != null) { in setAdminSupportDetails()
[all …]
DRestrictedListPreference.java217 item.enforcedAdmin); in getOnItemClickListener()
257 public final EnforcedAdmin enforcedAdmin;
260 EnforcedAdmin enforcedAdmin) {
263 this.enforcedAdmin = enforcedAdmin;
DDeviceAdminAdd.java416 EnforcedAdmin enforcedAdmin = getAdminEnforcingCantRemoveProfile(); in showPolicyTransparencyDialogIfRequired() local
417 if (enforcedAdmin != null) { in showPolicyTransparencyDialogIfRequired()
420 enforcedAdmin); in showPolicyTransparencyDialogIfRequired()
/packages/apps/Settings/src/com/android/settings/notification/
DRestrictedDropDownPreference.java179 item.enforcedAdmin);
244 item.enforcedAdmin); in setSelection()
253 public final EnforcedAdmin enforcedAdmin; field in RestrictedDropDownPreference.RestrictedItem
256 EnforcedAdmin enforcedAdmin) { in RestrictedItem() argument
259 this.enforcedAdmin = enforcedAdmin; in RestrictedItem()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java245 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner( in onPermissionsLoaded() local
249 isPolicyFixed ? enforcedAdmin : null); in onPermissionsLoaded()
270 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner( in onPermissionsLoaded() local
273 if (!isTelevision && enforcedAdmin != null) { in onPermissionsLoaded()
274 pref.setDisabledByAdmin(enforcedAdmin); in onPermissionsLoaded()
/packages/apps/Settings/src/com/android/settings/accounts/
DManagedProfileSettings.java115 RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in loadDataAndPopulateUi() local
118 mContactPrefrence.setDisabledByAdmin(enforcedAdmin); in loadDataAndPopulateUi()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java539 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.checkIfPasswordQualityIsSet( in disableUnusablePreferencesImpl() local
555 } else if (disabledByAdmin && enforcedAdmin != null) { in disableUnusablePreferencesImpl()
556 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin); in disableUnusablePreferencesImpl()