Home
last modified time | relevance | path

Searched refs:zenDeviceEffectsUserModifiedFields (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java484 rule.zenDeviceEffectsUserModifiedFields = 1; in testCanBeUpdatedByApp_deviceEffectsModified()
510 rule.zenDeviceEffectsUserModifiedFields = 2; in testWriteToParcel()
538 assertEquals(rule.zenDeviceEffectsUserModifiedFields, in testWriteToParcel()
539 parceled.zenDeviceEffectsUserModifiedFields); in testWriteToParcel()
619 rule.zenDeviceEffectsUserModifiedFields = 2; in testRuleXml()
651 assertEquals(rule.zenDeviceEffectsUserModifiedFields, in testRuleXml()
652 fromXml.zenDeviceEffectsUserModifiedFields); in testRuleXml()
DZenModeHelperTest.java1294 rule.zenDeviceEffectsUserModifiedFields = ZenDeviceEffects.FIELD_GRAYSCALE; in testProtoWithAutoRuleWithModifiedFields()
1305 rule.zenDeviceEffectsUserModifiedFields); in testProtoWithAutoRuleWithModifiedFields()
4378 assertThat(storedRule.zenDeviceEffectsUserModifiedFields) in updateAutomaticZenRule_fromUser_updatesBitmaskAndValue()
4429 assertThat(storedRule.zenDeviceEffectsUserModifiedFields).isEqualTo(0); in updateAutomaticZenRule_fromSystemUi_updatesValues()
4476 assertThat(storedRule.zenDeviceEffectsUserModifiedFields).isEqualTo(0); in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
4484 int ruleDeviceEffectsModifiedFields = storedRule.zenDeviceEffectsUserModifiedFields; in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
4502 assertThat(storedRule.zenDeviceEffectsUserModifiedFields).isEqualTo( in updateAutomaticZenRule_fromApp_updatesValuesIfRuleNotUserModified()
4682 assertThat(storedRule.zenDeviceEffectsUserModifiedFields).isEqualTo( in automaticZenRuleToZenRule_nullToNonNullDeviceEffectsUpdate()
6214 copy.zenDeviceEffectsUserModifiedFields = 0;
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1166 rt.zenDeviceEffectsUserModifiedFields = safeInt(parser, in readRuleXml()
1222 rule.zenDeviceEffectsUserModifiedFields); in writeRuleXml()
2488 @ZenDeviceEffects.ModifiableField public int zenDeviceEffectsUserModifiedFields; field in ZenModeConfig.ZenRule
2524 zenDeviceEffectsUserModifiedFields = source.readInt(); in ZenRule()
2546 && zenDeviceEffectsUserModifiedFields == 0; in canBeUpdatedByApp()
2595 dest.writeInt(zenDeviceEffectsUserModifiedFields); in writeToParcel()
2639 if (zenDeviceEffectsUserModifiedFields != 0) { in toString()
2642 zenDeviceEffectsUserModifiedFields)); in toString()
2708 && other.zenDeviceEffectsUserModifiedFields in equals()
2709 == zenDeviceEffectsUserModifiedFields in equals()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1422 int userModifiedFields = zenRule.zenDeviceEffectsUserModifiedFields; in updateZenDeviceEffects()
1458 zenRule.zenDeviceEffectsUserModifiedFields = userModifiedFields; in updateZenDeviceEffects()
2413 rule.zenDeviceEffectsUserModifiedFields, in ruleToProtoLocked()