Home
last modified time | relevance | path

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

/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()
DScreenTimeoutSettings.java92 RestrictedLockUtils.EnforcedAdmin mAdmin; field in ScreenTimeoutSettings
214 if (mAdmin != null) { in updateCandidates()
232 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), mAdmin); in setupDisabledFooterPreference()
287 mAdmin = RestrictedLockUtilsInternal.checkIfMaximumTimeToLockIsSet(context); in getMaxScreenTimeout()
288 if (mAdmin != null) { in getMaxScreenTimeout()
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceController.java76 mAllNotificationsToggle.setDisabledByAdmin(mAdmin); in displayPreference()
78 (mAdmin == null || !mAllNotificationsToggle.isDisabledByAdmin())); in displayPreference()
168 channelPreference.setDisabledByAdmin(mAdmin); in populateList()
170 (mAdmin == null || !channelPreference.isDisabledByAdmin()) in populateList()
DBubblePreferenceController.java102 pref.setDisabledByAdmin(mAdmin); in updateState()
112 switchpref.setDisabledByAdmin(mAdmin); in updateState()
DNotificationPreferenceController.java52 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController
109 mAdmin = admin; in onResume()
DChannelListPreferenceController.java297 preference.setEnabled(mAdmin == null in addOrUpdateGroupToggle()
318 channelPref.setSwitchEnabled(mAdmin == null in updateSingleChannelPrefs()
DConversationDemotePreferenceController.java66 preference.setEnabled(mAdmin == null); in updateState()
DConversationPromotePreferenceController.java66 preference.setEnabled(mAdmin == null); in updateState()
DDndPreferenceController.java58 pref.setDisabledByAdmin(mAdmin); in updateState()
DInvalidConversationPreferenceController.java67 pref.setDisabledByAdmin(mAdmin); in updateState()
DVibrationPreferenceController.java66 pref.setDisabledByAdmin(mAdmin); in updateState()
DMinImportancePreferenceController.java71 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DLightsPreferenceController.java65 pref.setDisabledByAdmin(mAdmin); in updateState()
DHighImportancePreferenceController.java71 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DBadgePreferenceController.java79 pref.setDisabledByAdmin(mAdmin); in updateState()
DConversationPriorityPreferenceController.java65 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DAllowSoundPreferenceController.java70 pref.setDisabledByAdmin(mAdmin); in updateState()
DImportancePreferenceController.java69 preference.setEnabled(mAdmin == null && !mChannel.isImportanceLockedByOEM()); in updateState()
DSoundPreferenceController.java86 pref.setEnabled(mAdmin == null); in updateState()
DBlockPreferenceController.java81 bar.setDisabledByAdmin(mAdmin); in updateState()
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java136 private boolean mAdmin; field in UserTestingHelper.UserInfoBuilder
201 mAdmin = admin; in setAdmin()
232 if (mAdmin) { in build()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java408 private final RestrictedLockUtilsInternal.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem
427 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
444 RestrictedLockUtilsInternal.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction()
452 return mAdmin != null; in isRestrictedByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DScreenTimeoutSettingsTest.java179 mSettings.mAdmin = new RestrictedLockUtils.EnforcedAdmin(); in updateCandidates_enforcedAdmin_showDisabledByAdminPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationPreferenceControllerTest.java170 assertEquals(admin, mController.mAdmin); in testOnResume()