Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java179 STATE_UNSET,
190 public static final int STATE_UNSET = 0; field in ZenPolicy
497 mZenPolicy.mPriorityCategories.set(category, STATE_UNSET); in unsetPriorityCategory()
500 mZenPolicy.mPriorityMessages = STATE_UNSET; in unsetPriorityCategory()
502 mZenPolicy.mPriorityCalls = STATE_UNSET; in unsetPriorityCategory()
504 mZenPolicy.mConversationSenders = STATE_UNSET; in unsetPriorityCategory()
516 mZenPolicy.mVisualEffects.set(effect, STATE_UNSET); in unsetVisualEffect()
548 if (audienceType == STATE_UNSET) { in allowConversations()
572 if (audienceType == STATE_UNSET) { in allowMessages()
596 if (audienceType == STATE_UNSET) { in allowCalls()
[all …]
DZenModeConfig.java758 final int repeatCallers = safeInt(parser, ALLOW_ATT_REPEAT_CALLERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
759 final int alarms = safeInt(parser, ALLOW_ATT_ALARMS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
760 final int media = safeInt(parser, ALLOW_ATT_MEDIA, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
761 final int system = safeInt(parser, ALLOW_ATT_SYSTEM, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
762 final int events = safeInt(parser, ALLOW_ATT_EVENTS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
763 final int reminders = safeInt(parser, ALLOW_ATT_REMINDERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
773 if (repeatCallers != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
777 if (alarms != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
781 if (media != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
785 if (system != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java195 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in testZenPolicyMessagesInvalid()
529 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryReminders()); in assertAllPriorityCategoriesUnsetExcept()
533 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryEvents()); in assertAllPriorityCategoriesUnsetExcept()
537 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in assertAllPriorityCategoriesUnsetExcept()
541 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryCalls()); in assertAllPriorityCategoriesUnsetExcept()
545 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryRepeatCallers()); in assertAllPriorityCategoriesUnsetExcept()
549 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryAlarms()); in assertAllPriorityCategoriesUnsetExcept()
553 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMedia()); in assertAllPriorityCategoriesUnsetExcept()
557 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategorySystem()); in assertAllPriorityCategoriesUnsetExcept()
563 assertEquals(ZenPolicy.STATE_UNSET, policy.getVisualEffectFullScreenIntent()); in assertAllVisualEffectsUnsetExcept()
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java1747 public static final int STATE_UNSET = -1; field in NotificationManager.Policy
1771 SUPPRESSED_EFFECTS_UNSET, STATE_UNSET, CONVERSATION_SENDERS_UNSET); in Policy()
1805 suppressedVisualEffects, STATE_UNSET, CONVERSATION_SENDERS_UNSET); in Policy()
1848 suppressedVisualEffects, STATE_UNSET, priorityConversationSenders); in Policy()
/frameworks/base/core/proto/android/service/
Dnotification.proto229 STATE_UNSET = 0; enumerator
307 STATE_UNSET = 0; enumerator
/frameworks/base/cmds/statsd/src/
Datoms.proto6275 STATE_UNSET = 0; enumerator
/frameworks/base/api/
Dcurrent.txt43953 field public static final int STATE_UNSET = 0; // 0x0