/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModePreferenceControllerTest.java | 58 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/ |
D | ZenCustomRuleConfigSettings.java | 48 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()
|
D | ZenModeAutomationPreferenceController.java | 30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeAutomationPreferenceController 34 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeAutomationPreferenceController() 49 preference.setSummary(mSummaryBuilder.getAutomaticRulesSummary()); in updateState()
|
D | ZenModeBlockedEffectsPreferenceController.java | 28 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeBlockedEffectsPreferenceController 32 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeBlockedEffectsPreferenceController() 47 return mSummaryBuilder.getBlockedEffectsSummary(getPolicy()); in getSummary()
|
D | ZenModeCallsPreferenceController.java | 32 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeCallsPreferenceController 38 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeCallsPreferenceController() 64 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
|
D | ZenModeMessagesPreferenceController.java | 32 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeMessagesPreferenceController 37 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeMessagesPreferenceController() 63 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
|
D | ZenModeSoundVibrationPreferenceController.java | 35 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeSoundVibrationPreferenceController 41 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeSoundVibrationPreferenceController() 69 preference.setSummary(mSummaryBuilder.getOtherSoundCategoriesSummary(getPolicy())); in updateState()
|
D | ZenModeSettingsFooterPreferenceController.java | 199 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()
|
D | ZenModePreferenceController.java | 39 private ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModePreferenceController 43 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModePreferenceController() 75 preference.setSummary(mSummaryBuilder.getSoundSummary()); in updateState()
|