/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModesSummaryHelperTest.java | 66 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 …]
|
D | ZenModeTest.java | 48 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
|
D | ZenModeAppsPreferenceControllerTest.java | 117 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
|
D | ZenModeOtherPreferenceControllerTest.java | 64 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
|
D | ZenModeButtonPreferenceControllerTest.java | 74 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
|
D | ZenModeDisplayEffectPreferenceControllerTest.java | 65 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
|
D | ZenModeNotifVisPreferenceControllerTest.java | 99 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
|
D | ZenModeAppsLinkPreferenceControllerTest.java | 127 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
|
D | ZenModeRepeatCallersPreferenceControllerTest.java | 67 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
|
D | ZenModeSetTriggerLinkPreferenceControllerTest.java | 97 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
|
D | ZenModePrioritySendersPreferenceControllerTest.java | 441 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
|
D | ZenModeMessagesLinkPreferenceControllerTest.java | 68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
|
D | ZenModeOtherLinkPreferenceControllerTest.java | 68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
|
D | ZenModeDisplayLinkPreferenceControllerTest.java | 67 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
|
D | ZenModePeopleLinkPreferenceControllerTest.java | 68 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
|
D | ZenModeNotifVisLinkPreferenceControllerTest.java | 67 ZenMode zenMode = new ZenMode("id", in testHasSummary() local
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | AbstractZenModePreferenceController.java | 75 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()
|
D | ZenModeSummaryHelper.java | 82 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()
|
D | ZenModesListItemPreference.java | 30 ZenModesListItemPreference(Context context, ZenMode zenMode) { in ZenModesListItemPreference() 42 public void setZenMode(ZenMode zenMode) { in setZenMode()
|
D | ZenModeButtonPreferenceController.java | 37 public boolean isAvailable(ZenMode zenMode) { in isAvailable() 42 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
|
D | ZenModeDisplayLinkPreferenceController.java | 40 void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState() 52 public CharSequence getSummary(@NonNull ZenMode zenMode) { in getSummary()
|
D | ZenModeNotifVisLinkPreferenceController.java | 40 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState() 52 public CharSequence getSummary(@NonNull ZenMode zenMode) { in getSummary()
|
D | ZenModeSetTriggerLinkPreferenceController.java | 48 public boolean isAvailable(@NonNull ZenMode zenMode) { in isAvailable() 53 public void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
|
D | ZenModeActionsPreferenceController.java | 40 void updateState(Preference preference, @NonNull ZenMode zenMode) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSliceBuilder.java | 114 final int zenMode; in handleUriChange() local 143 final int zenMode = manager.getZenMode(); in isZenModeEnabled() local
|