Home
last modified time | relevance | path

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

/aosp12/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 …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DSelfTrackingLifetimeExtender.kt77 val shouldExtend = queryShouldExtendLifetime(entry) regex
81 " shouldExtend=$shouldExtend")
84 if (shouldExtend && mEntriesExtended.put(entry.key, entry) == null) {
87 return shouldExtend
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationRemoteInputManager.java945 boolean shouldExtend) { in setShouldManageLifetime() argument
946 if (shouldExtend) { in setShouldManageLifetime()
986 boolean shouldExtend) { in setShouldManageLifetime() argument
987 if (shouldExtend) { in setShouldManageLifetime()
1024 boolean shouldExtend) { in setShouldManageLifetime() argument
1025 if (shouldExtend) { in setShouldManageLifetime()
H A DAlertingNotificationManager.java265 public void setShouldManageLifetime(NotificationEntry entry, boolean shouldExtend) { in setShouldManageLifetime() argument
266 if (shouldExtend) { in setShouldManageLifetime()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationGutsManager.java686 public void setShouldManageLifetime(NotificationEntry entry, boolean shouldExtend) { in setShouldManageLifetime() argument
687 if (shouldExtend) { in setShouldManageLifetime()