Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModePreferenceControllerTest.java58 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceControllerTest
68 mSummaryBuilder = spy(new ZenModeSettings.SummaryBuilder(mContext)); in setUp()
69 ReflectionHelpers.setField(mController, "mSummaryBuilder", mSummaryBuilder); in setUp()
70 doReturn(0).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in setUp()
85 doReturn(1).when(mSummaryBuilder).getEnabledAutomaticRulesCount(); in updateState_preferenceEnabled_shouldSetSummary()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModePreferenceController.java26 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceController
30 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModePreferenceController()
47 preference.setSummary(mSummaryBuilder.getAutomaticRulesSummary()); in updateState()
DZenModeSettings.java68 private SummaryBuilder mSummaryBuilder; field in ZenModeSettings
83 mSummaryBuilder = new SummaryBuilder(getContext()); in onCreate()
121 mPrioritySettings.setSummary(mSummaryBuilder.getPrioritySettingSummary(mPolicy)); in updatePrioritySettingsSummary()
125 mVisualSettings.setSummary(mSummaryBuilder.getVisualSettingSummary(mPolicy)); in updateVisualSettingsSummary()