Home
last modified time | relevance | path

Searched refs:allowMessages (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DZenRuleMessagesPreferenceController.java51 int allowMessages = ZenModeBackend.getZenPolicySettingFromPrefKey( in onPreferenceChange() local
55 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allowMessages), in onPreferenceChange()
58 .allowMessages(allowMessages) in onPreferenceChange()
DZenModeBackend.java395 if (mPolicy.allowMessages()) { in setDefaultZenPolicy()
406 .allowMessages(messages) in setDefaultZenPolicy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenRuleMessagesPreferenceController.java51 int allowMessages = ZenModeBackend.getZenPolicySettingFromPrefKey( in onPreferenceChange() local
55 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allowMessages), in onPreferenceChange()
58 .allowMessages(allowMessages) in onPreferenceChange()
DZenModeBackend.java395 if (mPolicy.allowMessages()) { in setDefaultZenPolicy()
406 .allowMessages(messages) in setDefaultZenPolicy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenRuleStarredContactsPreferenceControllerTest.java138 .allowMessages(ZenPolicy.PEOPLE_TYPE_NONE) in isAvailable_noMessages()
147 .allowMessages(ZenPolicy.PEOPLE_TYPE_ANYONE) in isAvailable_anyMessages()
157 .allowMessages(ZenPolicy.PEOPLE_TYPE_STARRED) in isAvailable_starredMessageContacts()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DDndConditionalCardControllerTest.java101 config.allowMessages = false; in getCustomConfig()
119 config.allowMessages = false; in getMutedAllConfig()