/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModePreferenceControllerTest.java | 60 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/ |
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 | 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 | 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 | 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()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
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 | 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 | 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 | 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 | ZenModeCallsPreferenceController.java | 30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeCallsPreferenceController 36 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeCallsPreferenceController() 53 preference.setSummary(mSummaryBuilder.getCallsSettingSummary(getPolicy())); in updateState()
|
D | ZenModeMessagesPreferenceController.java | 30 private final ZenModeSettings.SummaryBuilder mSummaryBuilder; field in ZenModeMessagesPreferenceController 35 mSummaryBuilder = new ZenModeSettings.SummaryBuilder(context); in ZenModeMessagesPreferenceController() 52 preference.setSummary(mSummaryBuilder.getMessagesSettingSummary(getPolicy())); in updateState()
|
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()
|