Searched refs:whenAgo (Results 1 – 2 of 2) sorted by relevance
91 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowConversationFromAfterEvent()103 whenMs = whenAgo(5) in testAvalancheFilter_duringAvalanche_allowConversationFromAfterEvent()111 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_suppressConversationFromBeforeEvent()123 whenMs = whenAgo(15) in testAvalancheFilter_duringAvalanche_suppressConversationFromBeforeEvent()131 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowHighPriorityConversation()149 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowCall()167 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowCategoryReminder()185 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowCategoryEvent()203 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowFsi()215 avalancheProvider.startTime = whenAgo(10) in testAvalancheFilter_duringAvalanche_allowColorized()[all …]
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>()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>()1368 protected fun whenAgo(whenAgeMs: Long) = systemClock.currentTimeMillis() - whenAgeMs in <lambda>() method in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase