Searched refs:historyEnabled (Results 1 – 3 of 3) sorted by relevance
89 val historyEnabled by collectLastValue(underTest.isNotificationHistoryEnabled) in testGetIsNotificationHistoryEnabled() constant95 assertThat(historyEnabled).isEqualTo(true) in testGetIsNotificationHistoryEnabled()101 assertThat(historyEnabled).isEqualTo(false) in testGetIsNotificationHistoryEnabled()
299 void onHistoryEnabledChanged(@UserIdInt int userId, boolean historyEnabled) { in onHistoryEnabledChanged() argument301 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()
1134 Boolean historyEnabled = mHistoryEnabled; in isHistoryEnabled() local1135 if (historyEnabled == null) { in isHistoryEnabled()1140 mHistoryEnabled = historyEnabled = mSecureSettings.getIntForUser( in isHistoryEnabled()1145 return historyEnabled; in isHistoryEnabled()