Searched refs:NotificationHistoryDatabase (Results 1 – 6 of 6) sorted by relevance
59 NotificationHistoryDatabase mDb;336 NotificationHistoryDatabase userHistory = mock(NotificationHistoryDatabase.class); in testOnPackageRemoved_userUnlocked()371 NotificationHistoryDatabase userHistorySystem = mock(NotificationHistoryDatabase.class); in testOnPackageRemoved_multiUser()372 NotificationHistoryDatabase userHistoryAll = mock(NotificationHistoryDatabase.class); in testOnPackageRemoved_multiUser()390 NotificationHistoryDatabase userHistory = mock(NotificationHistoryDatabase.class); in testDeleteNotificationHistoryItem_userUnlocked()404 NotificationHistoryDatabase userHistory = mock(NotificationHistoryDatabase.class); in testDeleteConversation_userUnlocked()418 NotificationHistoryDatabase userHistory = mock(NotificationHistoryDatabase.class); in testDeleteNotificationChannel_userUnlocked()430 NotificationHistoryDatabase userHistorySystem = mock(NotificationHistoryDatabase.class); in testTriggerWriteToDisk()431 NotificationHistoryDatabase userHistoryAll = mock(NotificationHistoryDatabase.class); in testTriggerWriteToDisk()447 NotificationHistoryDatabase userHistorySystem = mock(NotificationHistoryDatabase.class); in testTriggerWriteToDisk_onlyUnlockedUsers()[all …]
61 NotificationHistoryDatabase mDataBase;97 mDataBase = new NotificationHistoryDatabase(mFileWriteHandler, mRootDir); in setUp()251 NotificationHistoryDatabase.RemoveNotificationRunnable rnr = in testRemoveNotificationRunnable()274 NotificationHistoryDatabase.RemoveNotificationRunnable rnr = in testRemoveNotificationRunnable_noChanges()297 NotificationHistoryDatabase.RemoveConversationRunnable rcr = in testRemoveConversationRunnable()320 NotificationHistoryDatabase.RemoveConversationRunnable rcr = in testRemoveConversationRunnable_noChanges()343 NotificationHistoryDatabase.RemoveChannelRunnable rcr = in testRemoveChannelRunnable()366 NotificationHistoryDatabase.RemoveChannelRunnable rcr = in testRemoveChannelRunnable_noChanges()391 NotificationHistoryDatabase.WriteBufferRunnable wbr = in testWriteBufferRunnable()
27 private static NotificationHistoryDatabase sTestingNotificationHistoryDb;29 public static void setTestingNotificationHistoryDatabase(NotificationHistoryDatabase db) { in setTestingNotificationHistoryDatabase()33 public static NotificationHistoryDatabase create(@NonNull Context context, in create()38 return new NotificationHistoryDatabase(handler, rootDir); in create()
64 private final SparseArray<NotificationHistoryDatabase> mUserState = new SparseArray<>();98 final NotificationHistoryDatabase userHistory = in onUserUnlocked()154 final NotificationHistoryDatabase userHistory = mUserState.get(userId); in onPackageRemoved()170 final NotificationHistoryDatabase userHistory = in cleanupHistoryFiles()184 final NotificationHistoryDatabase userHistory = in deleteNotificationHistoryItem()200 final NotificationHistoryDatabase userHistory = in deleteConversations()216 final NotificationHistoryDatabase userHistory = in deleteNotificationChannel()237 NotificationHistoryDatabase userHistory = mUserState.get(userId); in triggerWriteToDisk()248 final NotificationHistoryDatabase userHistory = in addNotification()267 final NotificationHistoryDatabase userHistory = in readNotificationHistory()[all …]
51 public class NotificationHistoryDatabase { class75 public NotificationHistoryDatabase(Handler fileWriteHandler, File dir) { in NotificationHistoryDatabase() method in NotificationHistoryDatabase
15834 …rHistoryAndInitializeIfNeededLocked(I)Lcom/android/server/notification/NotificationHistoryDatabase;