Searched refs:deletionInstant (Results 1 – 4 of 4) sorted by relevance
1168 Long deletionInstant = tryParseLong( in readRuleXml() local1170 if (deletionInstant != null) { in readRuleXml()1171 rt.deletionInstant = Instant.ofEpochMilli(deletionInstant); in readRuleXml()1223 if (rule.deletionInstant != null) { in writeRuleXml()1225 rule.deletionInstant.toEpochMilli()); in writeRuleXml()2489 @Nullable public Instant deletionInstant; // Only set on deleted rules. field in ZenModeConfig.ZenRule2526 deletionInstant = Instant.ofEpochMilli(source.readLong()); in ZenRule()2596 if (deletionInstant != null) { in writeToParcel()2598 dest.writeLong(deletionInstant.toEpochMilli()); in writeToParcel()2644 if (deletionInstant != null) { in toString()[all …]
513 rule.deletionInstant = Instant.ofEpochMilli(1701790147000L); in testWriteToParcel()542 assertEquals(rule.deletionInstant, parceled.deletionInstant); in testWriteToParcel()622 rule.deletionInstant = Instant.ofEpochMilli(1701790147000L); in testRuleXml()655 assertEquals(rule.deletionInstant, fromXml.deletionInstant); in testRuleXml()
5606 rule.deletionInstant = deletedAt; in newZenRule()
517 ruleToRestore.deletionInstant = null; in maybeRestoreRemovedRule()866 deletedRule.deletionInstant = Instant.now(mClock); in maybePreserveRemovedRule()1810 if (deletedRule.deletionInstant == null in cleanUpZenRules()1811 || deletedRule.deletionInstant.isBefore(keptRuleThreshold)) { in cleanUpZenRules()