Searched refs:dismissedAt (Results 1 – 4 of 4) sorted by relevance
42 @Nullable Instant dismissedAt, in PersistedSafetyCenterIssue() argument47 mDismissedAt = dismissedAt; in PersistedSafetyCenterIssue()140 public Builder setDismissedAt(@Nullable Instant dismissedAt) { in setDismissedAt() argument141 mDismissedAt = dismissedAt; in setDismissedAt()
285 Instant dismissedAt = persistedSafetyCenterIssue.getDismissedAt(); in serializeIssues() local286 if (dismissedAt != null) { in serializeIssues()288 null, ATTRIBUTE_DISMISSED_AT, Long.toString(dismissedAt.toEpochMilli())); in serializeIssues()
113 Instant dismissedAt = issueData.getDismissedAt(); in isIssueDismissed() local114 boolean isNotCurrentlyDismissed = dismissedAt == null; in isIssueDismissed()128 Duration timeSinceLastDismissal = Duration.between(dismissedAt, Instant.now()); in isIssueDismissed()233 Instant dismissedAt = getNotificationDismissedAt(issueKey); in isNotificationDismissedNow() local234 if (dismissedAt == null) { in isNotificationDismissedNow()245 Instant canResurfaceAt = dismissedAt.plus(resurfaceDelay); in isNotificationDismissedNow()552 private void setDismissedAt(@Nullable Instant dismissedAt) { in setDismissedAt() argument553 mDismissedAt = dismissedAt; in setDismissedAt()
44 assertThat(ACTIVE_ISSUE.dismissedAt).isEqualTo(null) in getDismissedAt_returnsDismissedAt()45 assertThat(DISMISSED_ISSUE.dismissedAt).isEqualTo(INSTANT) in getDismissedAt_returnsDismissedAt()