Home
last modified time | relevance | path

Searched refs:NotificationHistory (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryProtoHelperTest.java82 NotificationHistory history = new NotificationHistory(); in testReadWriteNotifications()
96 NotificationHistory actualHistory = new NotificationHistory(); in testReadWriteNotifications()
109 NotificationHistory history = new NotificationHistory(); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()
122 NotificationHistory actualHistory = new NotificationHistory(); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()
135 NotificationHistory history = new NotificationHistory(); in testReadNotificationsWithPkgFilter()
160 NotificationHistory actualHistory = new NotificationHistory(); in testReadNotificationsWithPkgFilter()
179 NotificationHistory history = new NotificationHistory(); in testReadNotificationsWithNumberFilter()
202 NotificationHistory actualHistory = new NotificationHistory(); in testReadNotificationsWithNumberFilter()
224 NotificationHistory history = new NotificationHistory(); in testReadNotificationsWithNumberFilter_preExistingNotifs()
254 NotificationHistory actualHistory = new NotificationHistory(); in testReadNotificationsWithNumberFilter_preExistingNotifs()
[all …]
H A DNotificationHistoryDatabaseTest.java30 import android.app.NotificationHistory;
31 import android.app.NotificationHistory.HistoricalNotification;
265 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveNotificationRunnable()
276 mDataBase.mBuffer = mock(NotificationHistory.class); in testRemoveNotificationRunnable()
288 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveNotificationRunnable_noChanges()
299 mDataBase.mBuffer = mock(NotificationHistory.class); in testRemoveNotificationRunnable_noChanges()
311 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveConversationRunnable()
334 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveConversationRunnable_noChanges()
357 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveChannelRunnable()
380 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveChannelRunnable_noChanges()
[all …]
H A DNotificationHistoryFilterTest.java20 import android.app.NotificationHistory;
21 import android.app.NotificationHistory.HistoricalNotification;
86 NotificationHistory history = new NotificationHistory(); in testMatchesCountFilter()
101 NotificationHistory history = new NotificationHistory(); in testMatchesCountFilter_noCountFilter()
H A DNotificationHistoryManagerTest.java30 import android.app.NotificationHistory;
31 import android.app.NotificationHistory.HistoricalNotification;
496 NotificationHistory nhSystem = mock(NotificationHistory.class); in testReadNotificationHistory()
504 NotificationHistory nhAll = mock(NotificationHistory.class); in testReadNotificationHistory()
511 NotificationHistory nh = mHistoryManager.readNotificationHistory( in testReadNotificationHistory()
522 NotificationHistory nhSystem = mock(NotificationHistory.class); in testReadNotificationHistory_historyDisabled()
534 NotificationHistory nh = in testReadNotificationHistory_historyDisabled()
541 NotificationHistory nh = in testReadFilteredNotificationHistory_userLocked()
553 NotificationHistory nh = in testReadFilteredNotificationHistory_historyDisabled()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationHistoryDatabase.java20 import android.app.NotificationHistory;
21 import android.app.NotificationHistory.HistoricalNotification;
88 NotificationHistory mBuffer;
98 mBuffer = new NotificationHistory(); in NotificationHistoryDatabase()
193 public NotificationHistory readNotificationHistory() { in readNotificationHistory()
195 NotificationHistory notifications = new NotificationHistory(); in readNotificationHistory()
214 NotificationHistory notifications = new NotificationHistory(); in readNotificationHistory()
408 mBuffer = new NotificationHistory(); in run()
436 final NotificationHistory notifications = new NotificationHistory(); in run()
453 private NotificationHistory mNotificationHistory;
[all …]
H A DNotificationHistoryFilter.java20 import android.app.NotificationHistory;
21 import android.app.NotificationHistory.HistoricalNotification;
75 public boolean matchesCountFilter(NotificationHistory notifications) { in matchesCountFilter()
H A DNotificationHistoryManager.java22 import android.app.NotificationHistory;
23 import android.app.NotificationHistory.HistoricalNotification;
233 public @NonNull NotificationHistory readNotificationHistory(@UserIdInt int[] userIds) { in readNotificationHistory()
235 NotificationHistory mergedHistory = new NotificationHistory(); in readNotificationHistory()
252 public @NonNull android.app.NotificationHistory readFilteredNotificationHistory( in readFilteredNotificationHistory()
259 return new android.app.NotificationHistory(); in readFilteredNotificationHistory()
H A DNotificationHistoryProtoHelper.java18 import android.app.NotificationHistory;
19 import android.app.NotificationHistory.HistoricalNotification;
65 final NotificationHistory notifications) { in writeStringPool()
76 NotificationHistory notifications, NotificationHistoryFilter filter) in readNotification()
305 public static void read(InputStream in, NotificationHistory notifications, in read()
328 public static void write(OutputStream out, NotificationHistory notifications, int version) { in write()
H A DNotificationManagerService.java147 import android.app.NotificationHistory;
148 import android.app.NotificationHistory.HistoricalNotification;
4201 public NotificationHistory getNotificationHistory(String callingPkg,
4221 return new NotificationHistory();
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java114 NotificationHistory history = new NotificationHistory(); in testAddNotificationToWrite()
129 NotificationHistory history = new NotificationHistory(); in testAddNotificationsToWrite()
137 NotificationHistory secondHistory = new NotificationHistory(); in testAddNotificationsToWrite()
159 NotificationHistory history = new NotificationHistory(); in testPoolStringsFromNotifications()
189 NotificationHistory history = new NotificationHistory(); in testAddPooledStrings()
220 NotificationHistory history = new NotificationHistory(); in testRemoveNotificationsFromWrite()
258 NotificationHistory history = new NotificationHistory(); in testRemoveNotificationFromWrite()
295 NotificationHistory history = new NotificationHistory(); in testRemoveConversationNotificationFromWrite()
333 NotificationHistory history = new NotificationHistory(); in testRemoveChannelFromWrite()
375 NotificationHistory history = new NotificationHistory(); in testParceling()
[all …]
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationHistory.java37 public final class NotificationHistory implements Parcelable { class
243 private NotificationHistory(Parcel in) { in NotificationHistory() method in NotificationHistory
266 public NotificationHistory() { in NotificationHistory() method in NotificationHistory
344 public void addNotificationsToWrite(@NonNull NotificationHistory notificationHistory) { in addNotificationsToWrite()
609 public static final @NonNull Creator<NotificationHistory> CREATOR
610 = new Creator<NotificationHistory>() {
612 public NotificationHistory createFromParcel(Parcel source) {
613 return new NotificationHistory(source);
617 public NotificationHistory[] newArray(int size) {
618 return new NotificationHistory[size];
H A DNotificationHistory.aidl19 parcelable NotificationHistory;
H A DINotificationManager.aidl25 import android.app.NotificationHistory;
137 NotificationHistory getNotificationHistory(String callingPkg, String callingAttributionTag); in getNotificationHistory()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/history/
H A DHistoryLoader.java19 import android.app.NotificationHistory;
20 import android.app.NotificationHistory.HistoricalNotification;
52 NotificationHistory history = in load()
H A DNotificationHistoryPackage.java19 import android.app.NotificationHistory;
32 TreeSet<NotificationHistory.HistoricalNotification> notifications;
H A DNotificationHistoryAdapter.java24 import android.app.NotificationHistory.HistoricalNotification;
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java27 import android.app.NotificationHistory;
472 public NotificationHistory getNotificationHistory(String pkg, String attributionTag) { in getNotificationHistory()
478 return new NotificationHistory(); in getNotificationHistory()
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes494 android.app.NotificationHistory$1
495 android.app.NotificationHistory$HistoricalNotification$Builder
496 android.app.NotificationHistory$HistoricalNotification
497 android.app.NotificationHistory
H A Dboot-image-profile.txt23260 Landroid/app/NotificationHistory$1;
23261 Landroid/app/NotificationHistory$HistoricalNotification$Builder;
23262 Landroid/app/NotificationHistory$HistoricalNotification;
23263 Landroid/app/NotificationHistory;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes492 android.app.NotificationHistory$1
493 android.app.NotificationHistory$HistoricalNotification$Builder
494 android.app.NotificationHistory$HistoricalNotification
495 android.app.NotificationHistory
H A Dboot-image-profile.txt32893 Landroid/app/NotificationHistory$1;
32894 Landroid/app/NotificationHistory$HistoricalNotification$Builder;
32895 Landroid/app/NotificationHistory$HistoricalNotification;
32896 Landroid/app/NotificationHistory;
/aosp12/frameworks/base/services/
H A Dart-profile26321NotificationHistory$HistoricalNotification;)V+]Landroid/os/Handler;Landroid/os/Handler;]Landroid/a…
26334 …tification/NotificationHistoryDatabase;->readNotificationHistory()Landroid/app/NotificationHistory;
26351 …matchesCountFilter(Landroid/app/NotificationHistory;)Z+]Landroid/app/NotificationHistory;Landroid/…
26364 …fication/NotificationHistoryManager;->addNotification(Landroid/app/NotificationHistory$HistoricalN…
26369NotificationHistory$HistoricalNotification;)V+]Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;]…
26376 …ification/NotificationHistoryManager;->readNotificationHistory([I)Landroid/app/NotificationHistory;
26378NotificationHistory$HistoricalNotification$Builder;Ljava/lang/String;)V+]Landroid/app/Notification…
26379NotificationHistory;Lcom/android/server/notification/NotificationHistoryFilter;)V+]Landroid/util/p…
26380 …d/app/NotificationHistory$HistoricalNotification;+]Landroid/app/NotificationHistory$HistoricalNoti…
26383 …n/NotificationHistoryProtoHelper;->write(Ljava/io/OutputStream;Landroid/app/NotificationHistory;I)V
[all …]