Searched refs:readNotificationHistory (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryManagerTest.java | 534 when(userHistorySystem.readNotificationHistory()).thenReturn(nhSystem); in testReadNotificationHistory() 542 when(userHistoryAll.readNotificationHistory()).thenReturn(nhAll); in testReadNotificationHistory() 545 NotificationHistory nh = mHistoryManager.readNotificationHistory( in testReadNotificationHistory() 560 when(mDb.readNotificationHistory()).thenReturn(nhSystem); in testReadNotificationHistory_historyDisabled() 569 mHistoryManager.readNotificationHistory(new int[] {USER_SYSTEM,}); in testReadNotificationHistory_historyDisabled() 597 verify(mDb, times(1)).readNotificationHistory("pkg", "chn", 1000); in readFilteredNotificationHistory()
|
D | NotificationHistoryDatabaseTest.java | 215 mDataBase.readNotificationHistory(); in testReadNotificationHistory_readsAllFiles() 227 NotificationHistory nh = mDataBase.readNotificationHistory(); in testReadNotificationHistory_readsBuffer() 242 mDataBase.readNotificationHistory(null, null, 0); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryManager.java | 260 public @NonNull NotificationHistory readNotificationHistory(@UserIdInt int[] userIds) { in readNotificationHistory() method in NotificationHistoryManager 273 mergedHistory.addNotificationsToWrite(userHistory.readNotificationHistory()); in readNotificationHistory() 289 return userHistory.readNotificationHistory(packageName, channelId, maxNotifications); in readFilteredNotificationHistory()
|
D | NotificationHistoryDatabase.java | 172 public NotificationHistory readNotificationHistory() { in readNotificationHistory() method in NotificationHistoryDatabase 190 public NotificationHistory readNotificationHistory(String packageName, String channelId, in readNotificationHistory() method in NotificationHistoryDatabase
|
D | NotificationManagerService.java | 4838 return mHistoryManager.readNotificationHistory(currentUserIds.toArray());
|