Searched refs:zenDeviceEffectsUserModifiedFields (Results 1 – 4 of 4) sorted by relevance
484 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()
1294 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;
1166 rt.zenDeviceEffectsUserModifiedFields = safeInt(parser, in readRuleXml()1222 rule.zenDeviceEffectsUserModifiedFields); in writeRuleXml()2488 @ZenDeviceEffects.ModifiableField public int zenDeviceEffectsUserModifiedFields; field in ZenModeConfig.ZenRule2524 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 …]
1422 int userModifiedFields = zenRule.zenDeviceEffectsUserModifiedFields; in updateZenDeviceEffects()1458 zenRule.zenDeviceEffectsUserModifiedFields = userModifiedFields; in updateZenDeviceEffects()2413 rule.zenDeviceEffectsUserModifiedFields, in ruleToProtoLocked()