Searched refs:mHistoryManager (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationHistoryManagerTest.java | 64 NotificationHistoryManager mHistoryManager; field in NotificationHistoryManagerTest 144 mHistoryManager.onUserStopped(USER_SYSTEM); in testOnUserUnlocked_historyDisabled() 163 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile() 167 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile() 219 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 405 mHistoryManager.triggerWriteToDisk(); in testTriggerWriteToDisk() 423 mHistoryManager.triggerWriteToDisk(); in testTriggerWriteToDisk_onlyUnlockedUsers() 439 mHistoryManager.triggerWriteToDisk(); in testTriggerWriteToDisk_historyDisabled() 448 mHistoryManager.addNotification(hn); in testAddNotification_userLocked_noCrash() 460 mHistoryManager.addNotification(hn); in testAddNotification_historyDisabled() [all …]
|
H A D | NotificationManagerServiceTest.java | 418 NotificationHistoryManager mHistoryManager; field in NotificationManagerServiceTest 622 mAppOpsManager, mUm, mHistoryManager, mStatsManager, in setUp() 630 verify(mHistoryManager, never()).onBootPhaseAppsCanStart(); in setUp() 632 verify(mHistoryManager).onBootPhaseAppsCanStart(); in setUp() 3589 verifyNoMoreInteractions(mHistoryManager); in testDeleteChannelOnlyDoExtraWorkIfExisted() 6887 verify(mHistoryManager, times(1)).addNotification(any()); in testMaybeRecordInterruptionLocked_doesNotRecordTwice() 6903 verify(mHistoryManager, never()).addNotification(any()); in testMaybeRecordInterruptionLocked_smallIconsRequiredForHistory() 9806 verify(mHistoryManager, timeout(MAX_POST_DELAY).times(1)).onUserUnlocked(ui.id); 9816 verify(mHistoryManager, timeout(MAX_POST_DELAY).times(1)).onUserStopped(ui.id); 9826 verify(mHistoryManager, never()).onPackageRemoved(anyInt(), anyString()); [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 673 private NotificationHistoryManager mHistoryManager; field in NotificationManagerService 1113 mHistoryManager.triggerWriteToDisk(); 1885 mHistoryManager.onUserRemoved(userId); 2356 mHistoryManager = historyManager; in init() 2779 mHistoryManager.onBootPhaseAppsCanStart(); 2796 mHistoryManager.onUserUnlocked(user.getUserIdentifier()); 2825 mHistoryManager.onUserStopped(user.getUserIdentifier()); 3722 mHistoryManager.deleteNotificationHistoryItem(pkg, uid, postedTime); 6615 mHistoryManager.cleanupHistoryFiles(); 6913 mHistoryManager.deleteConversations(pkg, uid, shortcuts); [all …]
|