Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModePreferenceControllerTest.java58 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceControllerTest
69 mSummaryBuilder = spy(new ZenModeSettings.SummaryBuilder(mContext)); in setUp()
70 ReflectionHelpers.setField(mController, "mSummaryBuilder", mSummaryBuilder); in setUp()
71 doReturn(0).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in setUp()
86 doReturn(1).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in updateState_automaticRuleEnabled_shouldSetSummary()
88 verify(mPreference).setSummary(mSummaryBuilder.getSoundSummary()); in updateState_automaticRuleEnabled_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/notification/zen/
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()
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()
DZenModeSoundVibrationPreferenceController.java35 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeSoundVibrationPreferenceController
41 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeSoundVibrationPreferenceController()
69 preference.setSummary(mSummaryBuilder.getOtherSoundCategoriesSummary(getPolicy())); 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()
DZenModePreferenceController.java39 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceController
43 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModePreferenceController()
75 preference.setSummary(mSummaryBuilder.getSoundSummary()); in updateState()