/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 44 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()
|
D | ScreenTimeoutSettings.java | 89 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/ |
D | AppChannelsBypassingDndPreferenceController.java | 76 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()
|
D | BubblePreferenceController.java | 102 pref.setDisabledByAdmin(mAdmin); in updateState() 112 switchpref.setDisabledByAdmin(mAdmin); in updateState()
|
D | NotificationPreferenceController.java | 55 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController 117 mAdmin = admin; in onResume()
|
D | ConversationPromotePreferenceController.java | 66 preference.setEnabled(mAdmin == null); in updateState()
|
D | DndPreferenceController.java | 58 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | ConversationDemotePreferenceController.java | 66 preference.setEnabled(mAdmin == null); in updateState()
|
D | InvalidConversationPreferenceController.java | 67 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | VibrationPreferenceController.java | 65 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | LightsPreferenceController.java | 65 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | HighImportancePreferenceController.java | 71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | MinImportancePreferenceController.java | 71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | BadgePreferenceController.java | 79 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | AllowSoundPreferenceController.java | 70 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | ConversationPriorityPreferenceController.java | 65 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | ChannelListPreferenceController.java | 297 preference.setEnabled(mAdmin == null in addOrUpdateGroupToggle() 318 channelPref.setSwitchEnabled(mAdmin == null in updateSingleChannelPrefs()
|
D | ImportancePreferenceController.java | 69 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | SoundPreferenceController.java | 86 pref.setEnabled(mAdmin == null); in updateState()
|
D | BlockPreferenceController.java | 81 bar.setDisabledByAdmin(mAdmin); in updateState()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 155 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/ |
D | EditUserPhotoController.java | 424 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/ |
D | ScreenTimeoutSettingsTest.java | 179 mSettings.mAdmin = new RestrictedLockUtils.EnforcedAdmin(); in updateCandidates_enforcedAdmin_showDisabledByAdminPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | NotificationPreferenceControllerTest.java | 172 assertEquals(admin, mController.mAdmin); in testOnResume()
|