Searched refs:enforcedAdmin (Results 1 – 7 of 7) sorted by relevance
160 final EnforcedAdmin enforcedAdmin, final boolean finishActivity) { in setAdminSupportDetails() argument161 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 …]
217 item.enforcedAdmin); in getOnItemClickListener()257 public final EnforcedAdmin enforcedAdmin;260 EnforcedAdmin enforcedAdmin) {263 this.enforcedAdmin = enforcedAdmin;
416 EnforcedAdmin enforcedAdmin = getAdminEnforcingCantRemoveProfile(); in showPolicyTransparencyDialogIfRequired() local417 if (enforcedAdmin != null) { in showPolicyTransparencyDialogIfRequired()420 enforcedAdmin); in showPolicyTransparencyDialogIfRequired()
179 item.enforcedAdmin);244 item.enforcedAdmin); in setSelection()253 public final EnforcedAdmin enforcedAdmin; field in RestrictedDropDownPreference.RestrictedItem256 EnforcedAdmin enforcedAdmin) { in RestrictedItem() argument259 this.enforcedAdmin = enforcedAdmin; in RestrictedItem()
245 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner( in onPermissionsLoaded() local249 isPolicyFixed ? enforcedAdmin : null); in onPermissionsLoaded()270 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner( in onPermissionsLoaded() local273 if (!isTelevision && enforcedAdmin != null) { in onPermissionsLoaded()274 pref.setDisabledByAdmin(enforcedAdmin); in onPermissionsLoaded()
115 RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in loadDataAndPopulateUi() local118 mContactPrefrence.setDisabledByAdmin(enforcedAdmin); in loadDataAndPopulateUi()
539 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.checkIfPasswordQualityIsSet( in disableUnusablePreferencesImpl() local555 } else if (disabledByAdmin && enforcedAdmin != null) { in disableUnusablePreferencesImpl()556 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin); in disableUnusablePreferencesImpl()