Searched refs:whenMs (Results 1 – 4 of 4) sorted by relevance
266 assertShouldNotHeadsUp(buildPeekEntry { whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS) }) in <lambda>()274 val entry = buildPeekEntry { whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS) } in <lambda>()290 assertShouldHeadsUp(buildPeekEntry { whenMs = whenAgo(0) }) in <lambda>()297 assertShouldHeadsUp(buildPeekEntry { whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS - 1) }) in <lambda>()304 assertShouldHeadsUp(buildPeekEntry { whenMs = 0L }) in <lambda>()311 assertShouldHeadsUp(buildPeekEntry { whenMs = -1L }) in <lambda>()318 assertShouldHeadsUp(buildFsiEntry { whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS) }) in <lambda>()327 whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS) in <lambda>()339 whenMs = whenAgo(MAX_HUN_WHEN_AGE_MS) in <lambda>()1157 var whenMs: Long? = null in <lambda>() variable in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase.EntryBuilder[all …]
103 whenMs = whenAgo(5) in testAvalancheFilter_duringAvalanche_allowConversationFromAfterEvent()123 whenMs = whenAgo(15) in testAvalancheFilter_duringAvalanche_suppressConversationFromBeforeEvent()
226 long whenMs = Duration.ofMinutes(2).toMillis(); in testGetAgeInMinutes() local227 int age = NotificationRecordLogger.getAgeInMinutes(postTimeMs, whenMs); in testGetAgeInMinutes()
609 static int getAgeInMinutes(long postTimeMs, long whenMs) { in getAgeInMinutes() argument610 return (int) Duration.ofMillis(postTimeMs - whenMs).toMinutes(); in getAgeInMinutes()