Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DSelfTrackingLifetimeExtenderTest.kt57 private lateinit var shouldExtend: Predicate<NotificationEntry>
79 `when`(shouldExtend.test(entry1)).thenReturn(false)
88 `when`(shouldExtend.test(entry1)).thenReturn(true)
110 `when`(shouldExtend.test(entry1)).thenReturn(true)
121 `when`(shouldExtend.test(entry1)).thenReturn(true)
143 `when`(shouldExtend.test(entry1)).thenReturn(true)
144 `when`(shouldExtend.test(entry2)).thenReturn(true)
162 `when`(shouldExtend.test(entry1)).thenReturn(true)
176 `when`(shouldExtend.test(entry1)).thenReturn(true, false)
190 `when`(shouldExtend.test(entry1)).thenReturn(true)
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DSelfTrackingLifetimeExtender.kt76 val shouldExtend = queryShouldExtendLifetime(entry) regex
80 " shouldExtend=$shouldExtend")
83 if (shouldExtend && mEntriesExtended.put(entry.key, entry) == null) {
86 return shouldExtend