Home
last modified time | relevance | path

Searched defs:zenMode (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesSummaryHelperTest.java66 ZenMode zenMode = new ZenMode("id", rule, true); in getPeopleSummary_noOne() local
78 ZenMode zenMode = new ZenMode("id", rule, true); in getPeopleSummary_some() local
92 ZenMode zenMode = new ZenMode("id", rule, true); in getPeopleSummary_all() local
104 ZenMode zenMode = new ZenMode("id", rule, true); in getOtherSoundCategoriesSummary_single() local
117 ZenMode zenMode = new ZenMode("id", rule, true); in getOtherSoundCategoriesSummary_duo() local
134 ZenMode zenMode = new ZenMode("id", rule, true); in getOtherSoundCategoriesSummary_trio() local
152 ZenMode zenMode = new ZenMode("id", rule, true); in getOtherSoundCategoriesSummary_quad() local
171 ZenMode zenMode = new ZenMode("id", rule, true); in getOtherSoundCategoriesSummary_all() local
187 ZenMode zenMode = new ZenMode("id", rule, true); in getBlockedEffectsSummary_none() local
203 ZenMode zenMode = new ZenMode("id", rule, true); in getBlockedEffectsSummary_some() local
[all …]
DZenModeTest.java48 ZenMode zenMode = new ZenMode("id", ZEN_RULE, true); in testBasicMethods() local
65 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterPriority_returnsZenPolicy() local
75 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterAll_returnsPolicyAllowingAll() local
87 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterAlarms_returnsPolicyAllowingAlarms() local
103 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterNone_returnsPolicyAllowingNothing() local
118 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_setsInterruptionFilterPriority() local
132 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_withAllChannelsAllowed_setsInterruptionFilterAll() local
148 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_priorityToAllChannelsAndBack_restoresOldPolicy() local
171 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_alarmsOnlyToAllChannelsAndBack_restoresPolicySimilarToAlarmsOnly() local
DZenModeAppsPreferenceControllerTest.java117 ZenMode zenMode = new ZenMode("id", in testUpdateState_All() local
132 ZenMode zenMode = new ZenMode("id", in testUpdateState_All_Unchecked() local
147 ZenMode zenMode = new ZenMode("id", in testUpdateState_None() local
162 ZenMode zenMode = new ZenMode("id", in testUpdateState_None_Unchecked() local
177 ZenMode zenMode = new ZenMode("id", in testUpdateState_Priority() local
192 ZenMode zenMode = new ZenMode("id", in testUpdateState_Priority_Unchecked() local
207 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_All() local
227 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_All() local
267 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_None() local
307 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_Priority() local
DZenModeOtherPreferenceControllerTest.java64 ZenMode zenMode = new ZenMode("id", in testUpdateState_alarms() local
82 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_alarms() local
107 ZenMode zenMode = new ZenMode("id", in testUpdateState_media() local
125 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_media() local
150 ZenMode zenMode = new ZenMode("id", in testUpdateState_system() local
168 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_system() local
193 ZenMode zenMode = new ZenMode("id", in testUpdateState_reminders() local
212 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_reminders() local
238 ZenMode zenMode = new ZenMode("id", in testUpdateState_events() local
256 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_events() local
DZenModeButtonPreferenceControllerTest.java74 ZenMode zenMode = new ZenMode("id", in isAvailable_notIfAppOptsOut() local
88 ZenMode zenMode = new ZenMode("id", in isAvailable_notIfModeDisabled() local
102 ZenMode zenMode = new ZenMode("id", in isAvailable_appOptedIn_modeEnabled() local
119 ZenMode zenMode = new ZenMode("id", in updateState_ruleActive() local
137 ZenMode zenMode = new ZenMode("id", in updateState_ruleNotActive() local
155 ZenMode zenMode = new ZenMode("id", in updateStateThenClick_ruleActive() local
174 ZenMode zenMode = new ZenMode("id", in updateStateThenClick_ruleNotActive() local
DZenModeDisplayEffectPreferenceControllerTest.java65 ZenMode zenMode = new ZenMode("id", in testUpdateState_grayscale() local
87 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_grayscale() local
113 ZenMode zenMode = new ZenMode("id", in testUpdateState_aod() local
134 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_aod() local
160 ZenMode zenMode = new ZenMode("id", in testUpdateState_wallpaper() local
182 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_wallpaper() local
208 ZenMode zenMode = new ZenMode("id", in testUpdateState_darkTheme() local
230 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange_darkTheme() local
DZenModeNotifVisPreferenceControllerTest.java99 ZenMode zenMode = new ZenMode("id", in updateState_notChecked() local
118 ZenMode zenMode = new ZenMode("id", in updateState_checked() local
141 ZenMode zenMode = new ZenMode("id", in updateState_checkedFalse_parentChecked() local
171 ZenMode zenMode = new ZenMode("id", in updateState_checkedFalse_parentNotChecked() local
191 ZenMode zenMode = new ZenMode("id", in onPreferenceChanged_checkedFalse() local
216 ZenMode zenMode = new ZenMode("id", in onPreferenceChanged_checkedTrue() local
DZenModeAppsLinkPreferenceControllerTest.java127 ZenMode zenMode = createPriorityChannelsZenMode(); in testUpdateSetsIntent() local
131 mController.updateState((Preference) preference, zenMode); in testUpdateSetsIntent() local
163 ZenMode zenMode = createPriorityChannelsZenMode(); in testUpdateTriggersRebuild() local
176 mController.updateZenMode((Preference) preference, zenMode); in testUpdateTriggersRebuild() local
DZenModeRepeatCallersPreferenceControllerTest.java67 ZenMode zenMode = new ZenMode("id", in testUpdateState_allCalls() local
88 ZenMode zenMode = new ZenMode("id", in testUpdateState_someCalls() local
110 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange() local
DZenModeSetTriggerLinkPreferenceControllerTest.java97 ZenMode zenMode = new ZenMode("id", in testIsAvailable() local
110 ZenMode zenMode = new ZenMode("id", in testUpdateState() local
130 ZenMode zenMode = new ZenMode("id", in testOnPreferenceChange() local
DZenModePrioritySendersPreferenceControllerTest.java441 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_startingUnchecked_messages() local
466 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_startingChecked_messages() local
492 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_startingUnchecked_calls() local
517 ZenMode zenMode = new ZenMode("id", in testPreferenceClick_passesCorrectCheckedState_startingChecked_calls() local
DZenModeMessagesLinkPreferenceControllerTest.java68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
DZenModeOtherLinkPreferenceControllerTest.java68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
DZenModeDisplayLinkPreferenceControllerTest.java67 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
DZenModePeopleLinkPreferenceControllerTest.java68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
DZenModeNotifVisLinkPreferenceControllerTest.java67 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
/packages/apps/Settings/src/com/android/settings/notification/modes/
DAbstractZenModePreferenceController.java75 public boolean isAvailable(@NonNull ZenMode zenMode) { in isAvailable()
82 protected final void setZenMode(@NonNull ZenMode zenMode) { in setZenMode()
87 public void updateZenMode(@NonNull Preference preference, @NonNull ZenMode zenMode) { in updateZenMode()
100 abstract void updateState(Preference preference, @NonNull ZenMode zenMode); in updateState()
112 protected CharSequence getSummary(@NonNull ZenMode zenMode) { in getSummary()
DZenModeSummaryHelper.java82 String getOtherSoundCategoriesSummary(ZenMode zenMode) { in getOtherSoundCategoriesSummary()
109 String getCallsSettingSummary(ZenMode zenMode) { in getCallsSettingSummary()
144 String getBlockedEffectsSummary(ZenMode zenMode) { in getBlockedEffectsSummary()
187 String getDisplayEffectsSummary(ZenMode zenMode) { in getDisplayEffectsSummary()
383 public String getPeopleSummary(ZenMode zenMode) { in getPeopleSummary()
408 public @NonNull String getAppsSummary(@NonNull ZenMode zenMode, in getAppsSummary()
DZenModesListItemPreference.java30 ZenModesListItemPreference(Context context, ZenMode zenMode) { in ZenModesListItemPreference()
42 public void setZenMode(ZenMode zenMode) { in setZenMode()
DZenModeButtonPreferenceController.java37 public boolean isAvailable(ZenMode zenMode) { in isAvailable()
42 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
DZenModeDisplayLinkPreferenceController.java40 void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
52 public CharSequence getSummary(@NonNull ZenMode zenMode) { in getSummary()
DZenModeNotifVisLinkPreferenceController.java40 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
52 public CharSequence getSummary(@NonNull ZenMode zenMode) { in getSummary()
DZenModeSetTriggerLinkPreferenceController.java48 public boolean isAvailable(@NonNull ZenMode zenMode) { in isAvailable()
53 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
DZenModeActionsPreferenceController.java40 void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSliceBuilder.java114 final int zenMode; in handleUriChange() local
143 final int zenMode = manager.getZenMode(); in isZenModeEnabled() local

12