Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java125 history.addNotificationToWrite(n2); in testAddNotificationToWrite()
126 history.addNotificationToWrite(n); in testAddNotificationToWrite()
140 history.addNotificationToWrite(n2); in testAddNotificationsToWrite()
141 history.addNotificationToWrite(n); in testAddNotificationsToWrite()
142 history.addNotificationToWrite(n5); in testAddNotificationsToWrite()
147 secondHistory.addNotificationToWrite(n4); in testAddNotificationsToWrite()
148 secondHistory.addNotificationToWrite(n3); in testAddNotificationsToWrite()
177 history.addNotificationToWrite(n); in testPoolStringsFromNotifications()
207 history.addNotificationToWrite(n); in testAddPooledStrings()
245 history.addNotificationToWrite(n); in testRemoveNotificationsFromWrite()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
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()
/frameworks/base/core/java/android/app/
DNotificationHistory.java325 public void addNotificationToWrite(@NonNull HistoricalNotification notification) { in addNotificationToWrite() method in NotificationHistory
346 addNotificationToWrite(hn); in addNotificationsToWrite()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java83 notifications.addNotificationToWrite(notification); in readNotification()