Home
last modified time | relevance | path

Searched refs:shouldExtend (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DSelfTrackingLifetimeExtenderTest.kt57 private lateinit var shouldExtend: Predicate<NotificationEntry> variable in com.android.systemui.statusbar.notification.collection.notifcollection.SelfTrackingLifetimeExtenderTest
79 `when`(shouldExtend.test(entry1)).thenReturn(false) in testNoExtend()
88 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendThenCancelForRepost()
110 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendThenEnd()
121 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendThenEndAfterDelay()
143 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendThenEndAll()
144 `when`(shouldExtend.test(entry2)).thenReturn(true) in testExtendThenEndAll()
162 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendWithinEndCanReExtend()
176 `when`(shouldExtend.test(entry1)).thenReturn(true, false) in testExtendWithinEndCanNotReExtend()
190 `when`(shouldExtend.test(entry1)).thenReturn(true) in testExtendWithinEndAllCanReExtend()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DSelfTrackingLifetimeExtender.kt80 val shouldExtend = queryShouldExtendLifetime(entry) in <lambda>() constant
84 " shouldExtend=$shouldExtend") in <lambda>()
87 if (shouldExtend && mEntriesExtended.put(entry.key, entry) == null) { in <lambda>()
90 return shouldExtend in <lambda>()