Home
last modified time | relevance | path

Searched refs:getPriorityCategoryAlarms (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java301 assertEquals(expected.getPriorityCategoryAlarms(), actual.getPriorityCategoryAlarms()); in testZenConfigToZenPolicy_classic()
349 assertEquals(expected.getPriorityCategoryAlarms(), actual.getPriorityCategoryAlarms()); in testZenConfigToZenPolicy()
812 assertEquals(policy.getPriorityCategoryAlarms(), fromXml.getPriorityCategoryAlarms()); in testZenPolicyXml_classic()
862 assertEquals(policy.getPriorityCategoryAlarms(), fromXml.getPriorityCategoryAlarms()); in testZenPolicyXml()
DZenPolicyTest.java535 assertEquals(ZenPolicy.STATE_ALLOW, policy.getPriorityCategoryAlarms()); in testAllowAlarms()
542 assertEquals(ZenPolicy.STATE_DISALLOW, policy.getPriorityCategoryAlarms()); in testAllowAlarms()
729 assertThat(newPolicy.getPriorityCategoryAlarms()).isEqualTo(ZenPolicy.STATE_DISALLOW); in testPolicyBuilder_constructFromPolicy()
822 assertEquals(ZenPolicy.STATE_UNSET, policy.getPriorityCategoryAlarms()); in assertAllPriorityCategoriesUnsetExcept()
874 assertEquals(policy.getPriorityCategoryAlarms(), proto.alarms); in assertProtoMatches()
DZenModeHelperTest.java2002 assertThat(rule.zenPolicy.getPriorityCategoryAlarms()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_makesCustomPolicies()
2060 assertThat(rule.zenPolicy.getPriorityCategoryAlarms()).isEqualTo(STATE_ALLOW); in testReadXml_upgradeToModesApi_fillsInCustomPolicies()
2123 assertThat(rule.zenPolicy.getPriorityCategoryAlarms()).isEqualTo(STATE_DISALLOW); in testReadXml_upgradeToModesApi_existingDefaultRulesGetCustomPolicy()
2451 assertThat(rule2InConfig.zenPolicy.getPriorityCategoryAlarms()) in testAddAutomaticZenRule_modesApi_fillsInDefaultValues()
2834 assertThat(savedRule.getZenPolicy().getPriorityCategoryAlarms()) in updateAutomaticZenRule_overwritesExistingPolicy()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java492 public @State int getPriorityCategoryAlarms() { in getPriorityCategoryAlarms() method in ZenPolicy
1333 return getPriorityCategoryAlarms(); in getZenPolicyPriorityCategoryState()
1503 proto.write(ZenPolicyProto.ALARMS, getPriorityCategoryAlarms()); in dumpDebug()
1535 proto.write(DNDPolicyProto.ALARMS, getPriorityCategoryAlarms()); in toProto()
DZenModeConfig.java1383 writeZenPolicyState(ALLOW_ATT_ALARMS, policy.getPriorityCategoryAlarms(), out); in writeZenPolicyXml()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1344 if (oldPolicy.getPriorityCategoryAlarms() != newPolicy.getPriorityCategoryAlarms()) { in updatePolicy()
/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.txt41319 method public int getPriorityCategoryAlarms();