Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenPolicyTest.java191 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in testZenPolicyMessagesInvalid()
395 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryReminders()); in assertAllPriorityCategoriesUnsetExcept()
399 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryEvents()); in assertAllPriorityCategoriesUnsetExcept()
403 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMessages()); in assertAllPriorityCategoriesUnsetExcept()
407 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryCalls()); in assertAllPriorityCategoriesUnsetExcept()
411 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryRepeatCallers()); in assertAllPriorityCategoriesUnsetExcept()
415 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryAlarms()); in assertAllPriorityCategoriesUnsetExcept()
419 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryMedia()); in assertAllPriorityCategoriesUnsetExcept()
423 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategorySystem()); in assertAllPriorityCategoriesUnsetExcept()
429 assertEquals(ZenPolicy.STATE_UNSET, policy.getVisualEffectFullScreenIntent()); in assertAllVisualEffectsUnsetExcept()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java143 STATE_UNSET,
154 public static final int STATE_UNSET = 0; field in ZenPolicy
440 mZenPolicy.mPriorityCategories.set(category, STATE_UNSET); in unsetPriorityCategory()
443 mZenPolicy.mPriorityMessages = STATE_UNSET; in unsetPriorityCategory()
445 mZenPolicy.mPriorityCalls = STATE_UNSET; in unsetPriorityCategory()
457 mZenPolicy.mVisualEffects.set(effect, STATE_UNSET); in unsetVisualEffect()
488 if (audienceType == STATE_UNSET) { in allowMessages()
512 if (audienceType == STATE_UNSET) { in allowCalls()
751 if (mPriorityCategories.get(i) != STATE_UNSET) { in priorityCategoriesToString()
765 if (mVisualEffects.get(i) != STATE_UNSET) { in visualEffectsToString()
[all …]
DZenModeConfig.java733 final int repeatCallers = safeInt(parser, ALLOW_ATT_REPEAT_CALLERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
734 final int alarms = safeInt(parser, ALLOW_ATT_ALARMS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
735 final int media = safeInt(parser, ALLOW_ATT_MEDIA, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
736 final int system = safeInt(parser, ALLOW_ATT_SYSTEM, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
737 final int events = safeInt(parser, ALLOW_ATT_EVENTS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
738 final int reminders = safeInt(parser, ALLOW_ATT_REMINDERS, ZenPolicy.STATE_UNSET); in readZenPolicyXml()
748 if (repeatCallers != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
752 if (alarms != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
756 if (media != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
760 if (system != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java1543 public static final int STATE_UNSET = -1; field in NotificationManager.Policy
1567 SUPPRESSED_EFFECTS_UNSET, STATE_UNSET); in Policy()
1605 this.state = STATE_UNSET; in Policy()
/frameworks/base/core/proto/android/service/
Dnotification.proto229 STATE_UNSET = 0; enumerator
/frameworks/base/api/
Dcurrent.txt41631 field public static final int STATE_UNSET = 0; // 0x0
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8632 Landroid/app/NotificationManager$Policy;->STATE_UNSET:I