Home
last modified time | relevance | path

Searched refs:mAdmin (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutListPreference.java40 private EnforcedAdmin mAdmin; field in TimeoutListPreference
54 if (mAdmin != null) { in onPrepareDialogBuilder()
65 if (mAdmin != null) { in onDialogCreated()
72 getContext(), mAdmin); in onDialogCreated()
85 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts()
115 mAdmin = admin; in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java40 private EnforcedAdmin mAdmin; field in TimeoutListPreference
54 if (mAdmin != null) { in onPrepareDialogBuilder()
65 if (mAdmin != null) { in onDialogCreated()
72 getContext(), mAdmin); in onDialogCreated()
85 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts()
115 mAdmin = admin; in removeUnusableTimeouts()
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceController.java76 mAllNotificationsToggle.setDisabledByAdmin(mAdmin); in displayPreference()
78 (mAdmin == null || !mAllNotificationsToggle.isDisabledByAdmin())); in displayPreference()
162 channelPreference.setDisabledByAdmin(mAdmin); in populateList()
164 (mAdmin == null || !channelPreference.isDisabledByAdmin()) in populateList()
DBubblePreferenceController.java95 pref.setDisabledByAdmin(mAdmin); in updateState()
105 switchpref.setDisabledByAdmin(mAdmin); in updateState()
DNotificationPreferenceController.java51 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController
103 mAdmin = admin; in onResume()
DChannelListPreferenceController.java163 preference.setEnabled(mAdmin == null in populateGroupToggle()
181 channelPref.setSwitchEnabled(mAdmin == null in populateSingleChannelPrefs()
DConversationDemotePreferenceController.java60 preference.setEnabled(mAdmin == null); in updateState()
DDndPreferenceController.java53 pref.setDisabledByAdmin(mAdmin); in updateState()
DConversationPromotePreferenceController.java60 preference.setEnabled(mAdmin == null); in updateState()
DVibrationPreferenceController.java60 pref.setDisabledByAdmin(mAdmin); in updateState()
DInvalidConversationPreferenceController.java59 pref.setDisabledByAdmin(mAdmin); in updateState()
DHighImportancePreferenceController.java66 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DLightsPreferenceController.java59 pref.setDisabledByAdmin(mAdmin); in updateState()
DMinImportancePreferenceController.java66 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DConversationPriorityPreferenceController.java58 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java128 private boolean mAdmin; field in UserTestingHelper.UserInfoBuilder
193 mAdmin = admin; in setAdmin()
224 if (mAdmin) { in build()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserPhotoController.java405 private final RestrictedLockUtils.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem
423 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
440 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction()
448 return mAdmin != null; in isRestrictedByAdmin()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java391 private final RestrictedLockUtils.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem
409 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
426 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction()
434 return mAdmin != null; in isRestrictedByAdmin()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java399 private final RestrictedLockUtilsInternal.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem
418 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
435 RestrictedLockUtilsInternal.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction()
443 return mAdmin != null; in isRestrictedByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationPreferenceController.java47 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController
91 mAdmin = admin; in onResume()
DDndPreferenceController.java52 pref.setDisabledByAdmin(mAdmin); in updateState()
DVibrationPreferenceController.java58 pref.setDisabledByAdmin(mAdmin); in updateState()
DHighImportancePreferenceController.java65 preference.setEnabled(mAdmin == null && isChannelConfigurable()); in updateState()
DLightsPreferenceController.java58 pref.setDisabledByAdmin(mAdmin); in updateState()
DMinImportancePreferenceController.java65 preference.setEnabled(mAdmin == null && isChannelConfigurable()); in updateState()

12