/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...] |
RestrictedPreferenceHelper.java | 30 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 41 private EnforcedAdmin mEnforcedAdmin; 134 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, 142 * @param EnforcedAdmin Details of the admin who enforced the restriction. If it 146 public boolean setDisabledByAdmin(EnforcedAdmin admin) {
|
RestrictedPreference.java | 28 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 102 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
RestrictedSwitchPreference.java | 31 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 164 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
/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...] |
RestrictedCheckBox.java | 19 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 37 private EnforcedAdmin mEnforcedAdmin; 57 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
RestrictedRadioButton.java | 29 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 34 private EnforcedAdmin mEnforcedAdmin; 63 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
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;
|
TimeoutListPreference.java | 31 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 34 private EnforcedAdmin mAdmin; 72 public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin) {
|
RestrictedSettingsFragment.java | 36 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 69 private EnforcedAdmin mEnforcedAdmin; 214 public EnforcedAdmin getRestrictionEnforcedAdmin() { 231 final EnforcedAdmin admin = getRestrictionEnforcedAdmin();
|
MasterClearConfirm.java | 38 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 142 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(
|
ResetNetworkConfirm.java | 41 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 124 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(
|
TrustAgentSettings.java | 42 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 103 final EnforcedAdmin admin = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled(context,
|
TrustAgentUtils.java | 36 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 62 EnforcedAdmin admin = null;
|
/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...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
ProviderPreference.java | 26 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 50 EnforcedAdmin admin = RestrictedLockUtils.checkIfAccountManagementDisabled(
|
ManagedProfileSettings.java | 113 RestrictedLockUtils.EnforcedAdmin enforcedAdmin = 116 mContactPrefrence.setDisabledByAdmin(enforcedAdmin);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
RestrictedSwitchPreference.java | 29 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 34 private EnforcedAdmin mEnforcedAdmin; 68 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
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/ |
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/services/Telephony/src/com/android/phone/ |
RestrictedSwitchPreference.java | 29 import com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 98 new EnforcedAdmin());
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
HotspotCondition.java | 33 import com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 101 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(context,
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
AndroidBeam.java | 41 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 69 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SwitchBar.java | 41 import static com.android.settingslib.RestrictedLockUtils.EnforcedAdmin; 68 private EnforcedAdmin mEnforcedAdmin = null; 191 public void setDisabledByAdmin(EnforcedAdmin admin) {
|
/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...] |