Home
last modified time | relevance | path

Searched refs:STATE_UNSET (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenAdaptersTest.java94 assertThat(zenPolicy.getPriorityCategoryConversations()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_conversationsAllowedSendersUnset()
130 assertThat(zenPolicy.getVisualEffectAmbient()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
131 assertThat(zenPolicy.getVisualEffectBadge()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
132 assertThat(zenPolicy.getVisualEffectFullScreenIntent()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
133 assertThat(zenPolicy.getVisualEffectLights()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
134 assertThat(zenPolicy.getVisualEffectNotificationList()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
135 assertThat(zenPolicy.getVisualEffectPeek()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
136 assertThat(zenPolicy.getVisualEffectStatusBar()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_unsetEffects()
162 assertThat(zenPolicy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_noModesApi_priorityChannelsUnset()
168 ZenPolicy.STATE_UNSET); in notificationPolicyToZenPolicy_noModesApi_priorityChannelsUnset()
DZenPolicyTest.java349 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in testZenPolicyMessagesInvalid()
382 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in testEmptyZenPolicy_emptyChannels()
699 assertThat(policy.getPriorityChannelsAllowed()).isEqualTo(ZenPolicy.STATE_UNSET); in testAllowChannels_noFlag()
730 assertThat(newPolicy.getPriorityCategoryCalls()).isEqualTo(ZenPolicy.STATE_UNSET); in testPolicyBuilder_constructFromPolicy()
735 assertThat(newPolicy.getVisualEffectPeek()).isEqualTo(ZenPolicy.STATE_UNSET); in testPolicyBuilder_constructFromPolicy()
744 longList.add(ZenPolicy.STATE_UNSET); in testTooLongLists_fromParcel()
802 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryReminders()); in assertAllPriorityCategoriesUnsetExcept()
806 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryEvents()); in assertAllPriorityCategoriesUnsetExcept()
810 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in assertAllPriorityCategoriesUnsetExcept()
814 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryCalls()); in assertAllPriorityCategoriesUnsetExcept()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java318 STATE_UNSET,
329 public static final int STATE_UNSET = 0; field in ZenPolicy
593 return STATE_UNSET; in getPriorityChannelsAllowed()
718 mZenPolicy.mPriorityCategories.set(category, STATE_UNSET); in unsetPriorityCategory()
737 mZenPolicy.mVisualEffects.set(effect, STATE_UNSET); in unsetVisualEffect()
769 if (audienceType == STATE_UNSET) { in allowConversations()
793 if (audienceType == STATE_UNSET) { in allowMessages()
817 if (audienceType == STATE_UNSET) { in allowCalls()
1162 if (mPriorityCategories.get(i) != STATE_UNSET) { in priorityCategoriesToString()
1176 if (mVisualEffects.get(i) != STATE_UNSET) { in visualEffectsToString()
[all …]
DZenModeConfig.java1275 final int repeatCallers = safeInt(parser, ALLOW_ATT_REPEAT_CALLERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1278 final int alarms = safeInt(parser, ALLOW_ATT_ALARMS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1279 final int media = safeInt(parser, ALLOW_ATT_MEDIA, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1280 final int system = safeInt(parser, ALLOW_ATT_SYSTEM, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1281 final int events = safeInt(parser, ALLOW_ATT_EVENTS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1282 final int reminders = safeInt(parser, ALLOW_ATT_REMINDERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1284 final int channels = safeInt(parser, ALLOW_ATT_CHANNELS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
1285 if (channels != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
1299 if (repeatCallers != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
1307 if (alarms != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/
DFakeNotificationsSoundPolicyRepository.kt54 state: Int = NotificationManager.Policy.STATE_UNSET,
/frameworks/base/core/java/android/app/
DNotificationManager.java2206 public static final int STATE_UNSET = -1; field in NotificationManager.Policy
2230 SUPPRESSED_EFFECTS_UNSET, STATE_UNSET, CONVERSATION_SENDERS_UNSET); in Policy()
2264 suppressedVisualEffects, STATE_UNSET, CONVERSATION_SENDERS_UNSET); in Policy()
2307 suppressedVisualEffects, STATE_UNSET, priorityConversationSenders); in Policy()
2434 sb.append((state == STATE_UNSET in toString()
2441 .append((state == STATE_UNSET in toString()
2723 if (state == STATE_UNSET) { in allowPriorityChannels()
/frameworks/proto_logging/stats/enums/dnd/
Ddnd_enums.proto36 STATE_UNSET = 0; enumerator
/frameworks/base/core/proto/android/service/
Dnotification.proto238 STATE_UNSET = 0; enumerator
315 STATE_UNSET = 0; enumerator
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationsSoundPolicyInteractorTest.kt113 state = NotificationManager.Policy.STATE_UNSET, in <lambda>()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41351 field public static final int STATE_UNSET = 0; // 0x0
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8100 Landroid/app/NotificationManager$Policy;->STATE_UNSET:I