Home
last modified time | relevance | path

Searched refs:historyEnabled (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/notifications/data/repository/
DNotificationSettingsRepositoryTest.kt89 val historyEnabled by collectLastValue(underTest.isNotificationHistoryEnabled) in testGetIsNotificationHistoryEnabled() constant
95 assertThat(historyEnabled).isEqualTo(true) in testGetIsNotificationHistoryEnabled()
101 assertThat(historyEnabled).isEqualTo(false) in testGetIsNotificationHistoryEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java299 void onHistoryEnabledChanged(@UserIdInt int userId, boolean historyEnabled) { in onHistoryEnabledChanged() argument
301 if (historyEnabled) { in onHistoryEnabledChanged()
302 mHistoryEnabled.put(userId, historyEnabled); in onHistoryEnabledChanged()
307 if (!historyEnabled) { in onHistoryEnabledChanged()
311 mUserPendingHistoryDisables.put(userId, !historyEnabled); in onHistoryEnabledChanged()
426 boolean historyEnabled = Settings.Secure.getIntForUser(resolver, in update()
429 onHistoryEnabledChanged(userId, historyEnabled); in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java1134 Boolean historyEnabled = mHistoryEnabled; in isHistoryEnabled() local
1135 if (historyEnabled == null) { in isHistoryEnabled()
1140 mHistoryEnabled = historyEnabled = mSecureSettings.getIntForUser( in isHistoryEnabled()
1145 return historyEnabled; in isHistoryEnabled()