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.java44 private EnforcedAdmin mAdmin; field in TimeoutListPreference
58 if (mAdmin != null) { in onPrepareDialogBuilder()
83 if (mAdmin != null) { in onDialogCreated()
90 getContext(), mAdmin); in onDialogCreated()
103 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts()
133 mAdmin = admin; in removeUnusableTimeouts()
DScreenTimeoutSettings.java89 RestrictedLockUtils.EnforcedAdmin mAdmin; field in ScreenTimeoutSettings
212 if (mAdmin != null) { in updateCandidates()
230 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), mAdmin); in setupDisabledFooterPreference()
273 mAdmin = RestrictedLockUtilsInternal.checkIfMaximumTimeToLockIsSet(context); in getMaxScreenTimeout()
274 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.java55 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController
117 mAdmin = admin; in onResume()
DConversationPromotePreferenceController.java66 preference.setEnabled(mAdmin == null); in updateState()
DDndPreferenceController.java58 pref.setDisabledByAdmin(mAdmin); in updateState()
DConversationDemotePreferenceController.java66 preference.setEnabled(mAdmin == null); in updateState()
DInvalidConversationPreferenceController.java67 pref.setDisabledByAdmin(mAdmin); in updateState()
DVibrationPreferenceController.java65 pref.setDisabledByAdmin(mAdmin); in updateState()
DLightsPreferenceController.java65 pref.setDisabledByAdmin(mAdmin); in updateState()
DHighImportancePreferenceController.java71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
DMinImportancePreferenceController.java71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
DBadgePreferenceController.java79 pref.setDisabledByAdmin(mAdmin); in updateState()
DAllowSoundPreferenceController.java70 pref.setDisabledByAdmin(mAdmin); in updateState()
DConversationPriorityPreferenceController.java65 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
DChannelListPreferenceController.java297 preference.setEnabled(mAdmin == null in addOrUpdateGroupToggle()
318 channelPref.setSwitchEnabled(mAdmin == null in updateSingleChannelPrefs()
DImportancePreferenceController.java69 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); 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.java155 private boolean mAdmin; field in UserTestingHelper.UserInfoBuilder
220 mAdmin = admin; in setAdmin()
251 if (mAdmin) { in build()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java424 private final RestrictedLockUtilsInternal.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem
443 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
460 RestrictedLockUtilsInternal.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction()
468 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.java172 assertEquals(admin, mController.mAdmin); in testOnResume()