Home
last modified time | relevance | path

Searched refs:mSummaryBuilder (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModePreferenceControllerTest.java60 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceControllerTest
71 mSummaryBuilder = spy(new ZenModeSettings.SummaryBuilder(mContext)); in setUp()
72 ReflectionHelpers.setField(mController, "mSummaryBuilder", mSummaryBuilder); in setUp()
73 doReturn(0).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in setUp()
88 doReturn(1).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in updateState_automaticRuleEnabled_shouldSetSummary()
90 verify(mPreference).setSummary(mSummaryBuilder.getSoundSummary()); in updateState_automaticRuleEnabled_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/notification/
DZenCustomRuleConfigSettings.java48 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenCustomRuleConfigSettings
53 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(mContext); in onCreate()
114 mCallsPreference.setSummary(mSummaryBuilder.getCallsSettingSummary(noManPolicy)); in updateSummaries()
115 mMessagesPreference.setSummary(mSummaryBuilder.getMessagesSettingSummary(noManPolicy)); in updateSummaries()
116 mNotificationsPreference.setSummary(mSummaryBuilder.getBlockedEffectsSummary(noManPolicy)); in updateSummaries()
DZenModeAutomationPreferenceController.java30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeAutomationPreferenceController
34 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeAutomationPreferenceController()
49 preference.setSummary(mSummaryBuilder.getAutomaticRulesSummary()); in updateState()
DZenModeBlockedEffectsPreferenceController.java28 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeBlockedEffectsPreferenceController
32 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeBlockedEffectsPreferenceController()
47 return mSummaryBuilder.getBlockedEffectsSummary(getPolicy()); in getSummary()
DZenModeSettingsFooterPreferenceController.java199 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeSettingsFooterPreferenceController.ZenCustomSettingsDialog
215 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in onCreateDialog()
257 allowCallsText.setText(mSummaryBuilder.getCallsSettingSummary(mPolicy)); in onCreateDialog()
258 allowMessagesText.setText(mSummaryBuilder.getMessagesSettingSummary(mPolicy)); in onCreateDialog()
264 notificationsText.setText(mSummaryBuilder.getBlockedEffectsSummary(mPolicy)); in onCreateDialog()
DZenModeCallsPreferenceController.java32 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeCallsPreferenceController
38 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeCallsPreferenceController()
64 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
DZenModeMessagesPreferenceController.java32 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeMessagesPreferenceController
37 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeMessagesPreferenceController()
63 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
DZenModePreferenceController.java39 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceController
43 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModePreferenceController()
75 preference.setSummary(mSummaryBuilder.getSoundSummary()); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenCustomRuleConfigSettings.java48 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenCustomRuleConfigSettings
53 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(mContext); in onCreate()
114 mCallsPreference.setSummary(mSummaryBuilder.getCallsSettingSummary(noManPolicy)); in updateSummaries()
115 mMessagesPreference.setSummary(mSummaryBuilder.getMessagesSettingSummary(noManPolicy)); in updateSummaries()
116 mNotificationsPreference.setSummary(mSummaryBuilder.getBlockedEffectsSummary(noManPolicy)); in updateSummaries()
DZenModeBlockedEffectsPreferenceController.java28 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeBlockedEffectsPreferenceController
32 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeBlockedEffectsPreferenceController()
47 return mSummaryBuilder.getBlockedEffectsSummary(getPolicy()); in getSummary()
DZenModeAutomationPreferenceController.java30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeAutomationPreferenceController
34 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeAutomationPreferenceController()
49 preference.setSummary(mSummaryBuilder.getAutomaticRulesSummary()); in updateState()
DZenModeSettingsFooterPreferenceController.java199 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeSettingsFooterPreferenceController.ZenCustomSettingsDialog
215 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in onCreateDialog()
257 allowCallsText.setText(mSummaryBuilder.getCallsSettingSummary(mPolicy)); in onCreateDialog()
258 allowMessagesText.setText(mSummaryBuilder.getMessagesSettingSummary(mPolicy)); in onCreateDialog()
264 notificationsText.setText(mSummaryBuilder.getBlockedEffectsSummary(mPolicy)); in onCreateDialog()
DZenModeCallsPreferenceController.java30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeCallsPreferenceController
36 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeCallsPreferenceController()
53 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
DZenModeMessagesPreferenceController.java30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeMessagesPreferenceController
35 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeMessagesPreferenceController()
52 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
DZenModePreferenceController.java39 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceController
43 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModePreferenceController()
75 preference.setSummary(mSummaryBuilder.getSoundSummary()); in updateState()