Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java20 import android.app.NotificationHistory;
21 import android.app.NotificationHistory.HistoricalNotification;
82 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()
[all …]
DNotificationHistoryDatabaseTest.java28 import android.app.NotificationHistory;
29 import android.app.NotificationHistory.HistoricalNotification;
227 NotificationHistory nh = mDataBase.readNotificationHistory(); in testReadNotificationHistory_readsBuffer()
250 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveNotificationRunnable()
261 mDataBase.mBuffer = mock(NotificationHistory.class); in testRemoveNotificationRunnable()
273 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveNotificationRunnable_noChanges()
284 mDataBase.mBuffer = mock(NotificationHistory.class); in testRemoveNotificationRunnable_noChanges()
296 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveConversationRunnable()
307 mDataBase.mBuffer = mock(NotificationHistory.class); in testRemoveConversationRunnable()
319 NotificationHistory nh = mock(NotificationHistory.class); in testRemoveConversationRunnable_noChanges()
[all …]
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()
DNotificationHistoryManagerTest.java30 import android.app.NotificationHistory;
31 import android.app.NotificationHistory.HistoricalNotification;
530 NotificationHistory nhSystem = mock(NotificationHistory.class); in testReadNotificationHistory()
538 NotificationHistory nhAll = mock(NotificationHistory.class); in testReadNotificationHistory()
545 NotificationHistory nh = mHistoryManager.readNotificationHistory( in testReadNotificationHistory()
556 NotificationHistory nhSystem = mock(NotificationHistory.class); in testReadNotificationHistory_historyDisabled()
568 NotificationHistory nh = in testReadNotificationHistory_historyDisabled()
575 NotificationHistory nh = in testReadFilteredNotificationHistory_userLocked()
587 NotificationHistory nh = in testReadFilteredNotificationHistory_historyDisabled()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryDatabase.java19 import android.app.NotificationHistory;
20 import android.app.NotificationHistory.HistoricalNotification;
73 NotificationHistory mBuffer;
81 mBuffer = new NotificationHistory(); in NotificationHistoryDatabase()
172 public NotificationHistory readNotificationHistory() { in readNotificationHistory()
174 NotificationHistory notifications = new NotificationHistory(); in readNotificationHistory()
190 public NotificationHistory readNotificationHistory(String packageName, String channelId, in readNotificationHistory()
193 NotificationHistory notifications = new NotificationHistory(); in readNotificationHistory()
290 private void writeLocked(AtomicFile file, NotificationHistory notifications) in writeLocked()
303 private static void readLocked(AtomicFile file, NotificationHistory notificationsOut, in readLocked()
[all …]
DNotificationHistoryFilter.java20 import android.app.NotificationHistory;
21 import android.app.NotificationHistory.HistoricalNotification;
75 public boolean matchesCountFilter(NotificationHistory notifications) { in matchesCountFilter()
DNotificationHistoryManager.java22 import android.app.NotificationHistory;
23 import android.app.NotificationHistory.HistoricalNotification;
260 public @NonNull NotificationHistory readNotificationHistory(@UserIdInt int[] userIds) { in readNotificationHistory()
262 NotificationHistory mergedHistory = new NotificationHistory(); in readNotificationHistory()
279 public @NonNull android.app.NotificationHistory readFilteredNotificationHistory( in readFilteredNotificationHistory()
286 return new android.app.NotificationHistory(); in readFilteredNotificationHistory()
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()
DNotificationManagerService.java192 import android.app.NotificationHistory;
193 import android.app.NotificationHistory.HistoricalNotification;
4825 public NotificationHistory getNotificationHistory(String callingPkg,
4843 return new NotificationHistory();
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java21 import android.app.NotificationHistory.HistoricalNotification;
121 NotificationHistory history = new NotificationHistory(); in testAddNotificationToWrite()
136 NotificationHistory history = new NotificationHistory(); in testAddNotificationsToWrite()
144 NotificationHistory secondHistory = new NotificationHistory(); in testAddNotificationsToWrite()
166 NotificationHistory history = new NotificationHistory(); in testPoolStringsFromNotifications()
196 NotificationHistory history = new NotificationHistory(); in testAddPooledStrings()
227 NotificationHistory history = new NotificationHistory(); in testRemoveNotificationsFromWrite()
265 NotificationHistory history = new NotificationHistory(); in testRemoveNotificationFromWrite()
302 NotificationHistory history = new NotificationHistory(); in testRemoveConversationNotificationFromWrite()
340 NotificationHistory history = new NotificationHistory(); in testRemoveChannelFromWrite()
[all …]
/frameworks/base/core/java/android/app/
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()
616 public static final @NonNull Creator<NotificationHistory> CREATOR
617 = new Creator<NotificationHistory>() {
619 public NotificationHistory createFromParcel(Parcel source) {
620 return new NotificationHistory(source);
624 public NotificationHistory[] newArray(int size) {
625 return new NotificationHistory[size];
DNotificationHistory.aidl19 parcelable NotificationHistory;
DINotificationManager.aidl25 import android.app.NotificationHistory;
146 NotificationHistory getNotificationHistory(String callingPkg, String callingAttributionTag); in getNotificationHistory()
/frameworks/base/boot/
Dpreloaded-classes648 android.app.NotificationHistory$1
649 android.app.NotificationHistory$HistoricalNotification$Builder
650 android.app.NotificationHistory$HistoricalNotification
651 android.app.NotificationHistory
Dboot-image-profile.txt23023 Landroid/app/NotificationHistory$1;
23024 Landroid/app/NotificationHistory$HistoricalNotification$Builder;
23025 Landroid/app/NotificationHistory$HistoricalNotification;
23026 Landroid/app/NotificationHistory;
/frameworks/base/config/
Dpreloaded-classes648 android.app.NotificationHistory$1
649 android.app.NotificationHistory$HistoricalNotification$Builder
650 android.app.NotificationHistory$HistoricalNotification
651 android.app.NotificationHistory
Dboot-image-profile.txt33153 Landroid/app/NotificationHistory$1;
33154 Landroid/app/NotificationHistory$HistoricalNotification$Builder;
33155 Landroid/app/NotificationHistory$HistoricalNotification;
33156 Landroid/app/NotificationHistory;
/frameworks/base/services/
Dart-profile2065 …/NotificationChannel;]Landroid/app/NotificationHistory$HistoricalNotification$Builder;Landroid/app…
Dart-wear-profile15821 …ndroid/server/notification/NotificationHistoryManager;Landroid/app/NotificationHistory$HistoricalN…
15826 …ndroid/server/notification/NotificationHistoryManager;Landroid/app/NotificationHistory$HistoricalN…
15832 …fication/NotificationHistoryManager;->addNotification(Landroid/app/NotificationHistory$HistoricalN…
15835 …NotificationHistoryManager;->lambda$addNotification$0(Landroid/app/NotificationHistory$HistoricalN…