Home
last modified time | relevance | path

Searched refs:EnforcedAdmin (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java69 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced()
95 final EnforcedAdmin deviceOwner = getDeviceOwner(context); in checkIfRestrictionEnforced()
98 : EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfRestrictionEnforced()
119 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled()
128 EnforcedAdmin enforcedAdmin = null; in checkIfKeyguardFeaturesDisabled()
137 enforcedAdmin = new EnforcedAdmin(admin, userId); in checkIfKeyguardFeaturesDisabled()
139 return EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfKeyguardFeaturesDisabled()
158 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled()
160 return EnforcedAdmin.MULTIPLE_ENFORCED_ADMIN; in checkIfKeyguardFeaturesDisabled()
176 enforcedAdmin = new EnforcedAdmin(admin, userInfo.id); in checkIfKeyguardFeaturesDisabled()
[all …]
DRestrictedPreferenceHelper.java30 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
41 private EnforcedAdmin mEnforcedAdmin;
134 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled()
146 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedPreference.java28 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
102 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java31 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
164 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTile.java58 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
318 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly()
557 public EnforcedAdmin enforcedAdmin;
590 other.enforcedAdmin = new EnforcedAdmin(enforcedAdmin); in copyTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java67 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin;
680 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly()
705 public EnforcedAdmin enforcedAdmin;