Searched refs:mHistoryManager (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryManagerTest.java | 64 NotificationHistoryManager mHistoryManager; field in NotificationHistoryManagerTest 119 mHistoryManager = new NotificationHistoryManager(getContext(), null); in setUp() 124 mHistoryManager.mSettingsObserver.update(null, info.id); in setUp() 130 assertThat(mHistoryManager.doesHistoryExistForUser(USER_SYSTEM)).isFalse(); in testOnUserUnlocked() 131 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserUnlocked() 132 mHistoryManager.onUserUnlocked(USER_SYSTEM); in testOnUserUnlocked() 133 assertThat(mHistoryManager.doesHistoryExistForUser(USER_SYSTEM)).isTrue(); in testOnUserUnlocked() 134 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isTrue(); in testOnUserUnlocked() 141 mHistoryManager.onUserUnlocked(USER_SYSTEM); in testOnUserUnlocked_historyDisabled() 142 assertThat(mHistoryManager.doesHistoryExistForUser(USER_SYSTEM)).isTrue(); in testOnUserUnlocked_historyDisabled() [all …]
|
D | NotificationManagerServiceTest.java | 500 NotificationHistoryManager mHistoryManager; field in NotificationManagerServiceTest 752 mAppOpsManager, mUm, mHistoryManager, mStatsManager, in initNMS() 771 Mockito.reset(mHistoryManager); in initNMS() 772 verify(mHistoryManager, never()).onBootPhaseAppsCanStart(); in initNMS() 776 verify(mHistoryManager).onBootPhaseAppsCanStart(); in initNMS() 4043 verifyNoMoreInteractions(mHistoryManager); in testDeleteChannelOnlyDoExtraWorkIfExisted() 7722 verify(mHistoryManager, times(1)).addNotification(any()); in testMaybeRecordInterruptionLocked_doesNotRecordTwice() 7738 verify(mHistoryManager, never()).addNotification(any()); in testMaybeRecordInterruptionLocked_smallIconsRequiredForHistory() 11052 verify(mHistoryManager, timeout(MAX_POST_DELAY).times(1)).onUserUnlocked(ui.id); 11062 verify(mHistoryManager, timeout(MAX_POST_DELAY).times(1)).onUserStopped(ui.id); [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 721 private NotificationHistoryManager mHistoryManager; field in NotificationManagerService 1238 mHistoryManager.triggerWriteToDisk(); 2067 mHistoryManager.onUserAdded(userId); 2078 mHistoryManager.onUserRemoved(userId); 2525 mHistoryManager = historyManager; in init() 2935 mHistoryManager.onBootPhaseAppsCanStart(); 2979 mHistoryManager.onUserUnlocked(user.getUserIdentifier()); 3028 mHistoryManager.onUserStopped(user.getUserIdentifier()); 3364 mHistoryManager.addNotification(new HistoricalNotification.Builder() 3952 mHistoryManager.deleteNotificationHistoryItem(pkg, uid, postedTime); [all …]
|