HomeSort by relevance Sort by last modified time
    Searched refs:enforcedAdmin (Results 1 - 10 of 10) sorted by null

  /packages/apps/Settings/src/com/android/settings/
ShowAdminSupportDetailsDialog.java 43 import com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
52 private EnforcedAdmin mEnforcedAdmin;
75 EnforcedAdmin admin = getAdminDetailsFromIntent(intent);
82 private EnforcedAdmin getAdminDetailsFromIntent(Intent intent) {
83 EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.myUserId());
130 setAdminSupportDetails(this, root, new EnforcedAdmin(admin, userId), true);
134 final EnforcedAdmin enforcedAdmin, final boolean finishActivity) {
135 if (enforcedAdmin == null)
    [all...]
RestrictedListPreference.java 41 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
85 public void setDisabledByAdmin(EnforcedAdmin admin) {
217 item.enforcedAdmin);
257 public final EnforcedAdmin enforcedAdmin;
260 EnforcedAdmin enforcedAdmin) {
263 this.enforcedAdmin = enforcedAdmin;
ChooseLockGeneric.java 53 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
446 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.checkIfPasswordQualityIsSet(
494 } else if (disabledByAdmin && enforcedAdmin != null) {
495 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin);
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedLockUtils.java 64 * @return EnforcedAdmin Object containing the enforced admin component and admin user details,
69 public static EnforcedAdmin checkIfRestrictionEnforced(Context context,
94 // if the admin is for the {@param userId} otherwise return a default EnforcedAdmin.
95 final EnforcedAdmin deviceOwner = getDeviceOwner(context);
98 : EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN;
114 * @return EnforcedAdmin Object containing the enforced admin component and admin user details,
119 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context,
128 EnforcedAdmin enforcedAdmin = null;
136 if (enforcedAdmin == null)
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
RestrictedDropDownPreference.java 34 import com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
140 public void setDisabledByAdmin(EnforcedAdmin admin) {
179 item.enforcedAdmin);
244 item.enforcedAdmin);
253 public final EnforcedAdmin enforcedAdmin;
256 EnforcedAdmin enforcedAdmin) {
259 this.enforcedAdmin = enforcedAdmin;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSTile.java 57 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
320 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext,
325 state.enforcedAdmin = admin;
328 state.enforcedAdmin = null;
371 mContext, mState.enforcedAdmin);
558 public EnforcedAdmin enforcedAdmin;
578 || !Objects.equals(other.enforcedAdmin, enforcedAdmin);
588 if (enforcedAdmin == null)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
ManagedProfileSettings.java 113 RestrictedLockUtils.EnforcedAdmin enforcedAdmin =
116 mContactPrefrence.setDisabledByAdmin(enforcedAdmin);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
PermissionAppsFragment.java 52 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
223 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner(
227 isPolicyFixed ? enforcedAdmin : null);
248 EnforcedAdmin enforcedAdmin = RestrictedLockUtils.getProfileOrDeviceOwner(
251 if (!isTelevision && enforcedAdmin != null) {
252 pref.setDisabledByAdmin(enforcedAdmin);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
UserDetailView.java 98 mContext, tag.enforcedAdmin);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java 67 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
696 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext,
701 record.enforcedAdmin = admin;
704 record.enforcedAdmin = null;
721 public EnforcedAdmin enforcedAdmin;
766 sb.append(" enforcedAdmin=").append(enforcedAdmin);
    [all...]

Completed in 232 milliseconds