Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java118 history.addNotificationToWrite(n2); in testAddNotificationToWrite()
119 history.addNotificationToWrite(n); in testAddNotificationToWrite()
133 history.addNotificationToWrite(n2); in testAddNotificationsToWrite()
134 history.addNotificationToWrite(n); in testAddNotificationsToWrite()
135 history.addNotificationToWrite(n5); in testAddNotificationsToWrite()
170 history.addNotificationToWrite(n); in testPoolStringsFromNotifications()
200 history.addNotificationToWrite(n); in testAddPooledStrings()
238 history.addNotificationToWrite(n); in testRemoveNotificationsFromWrite()
275 history.addNotificationToWrite(n); in testRemoveNotificationFromWrite()
312 history.addNotificationToWrite(n); in testRemoveConversationNotificationFromWrite()
[all …]
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryProtoHelperTest.java89 history.addNotificationToWrite(n); in testReadWriteNotifications()
116 history.addNotificationToWrite(n); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()
153 history.addNotificationToWrite(n); in testReadNotificationsWithPkgFilter()
195 history.addNotificationToWrite(n); in testReadNotificationsWithNumberFilter()
226 history.addNotificationToWrite(old1); in testReadNotificationsWithNumberFilter_preExistingNotifs()
230 history.addNotificationToWrite(old2); in testReadNotificationsWithNumberFilter_preExistingNotifs()
247 history.addNotificationToWrite(n); in testReadNotificationsWithNumberFilter_preExistingNotifs()
285 history.addNotificationToWrite(n); in testReadMergeIntoExistingHistory()
303 actualHistory.addNotificationToWrite(n); in testReadMergeIntoExistingHistory()
H A DNotificationHistoryFilterTest.java88 history.addNotificationToWrite(getHistoricalNotification(1)); in testMatchesCountFilter()
90 history.addNotificationToWrite(getHistoricalNotification(2)); in testMatchesCountFilter()
92 history.addNotificationToWrite(getHistoricalNotification(3)); in testMatchesCountFilter()
103 history.addNotificationToWrite(getHistoricalNotification(1)); in testMatchesCountFilter_noCountFilter()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationHistory.java325 public void addNotificationToWrite(@NonNull HistoricalNotification notification) { in addNotificationToWrite() method in NotificationHistory
346 addNotificationToWrite(hn); in addNotificationsToWrite()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationHistoryProtoHelper.java83 notifications.addNotificationToWrite(notification); in readNotification()