Searched refs:NotificationsSentState (Results 1 – 7 of 7) sorted by relevance
385 NotificationsSentState neverSent = new NotificationsSentState(); in testSummary_recency()386 NotificationsSentState sent = new NotificationsSentState(); in testSummary_recency()398 NotificationsSentState sentRarely = new NotificationsSentState(); in testSummary_frequency()400 NotificationsSentState sentOften = new NotificationsSentState(); in testSummary_frequency()425 NotificationsSentState sentRarely = new NotificationsSentState(); in testSummary_alpha()434 NotificationsSentState allowState = new NotificationsSentState(); in testFilterRecency()442 NotificationsSentState denyState = new NotificationsSentState(); in testFilterRecency()459 NotificationsSentState denyState = new NotificationsSentState(); in testFilterFrequency()476 NotificationsSentState denyState = new NotificationsSentState(); in testFilterBlocked()502 NotificationsSentState earlier = new NotificationsSentState(); in testRecencyComparator()[all …]
114 entry.extraInfo = new AppStateNotificationBridge.NotificationsSentState(); in updateState_wrongExtraInfo_shouldNotIncludeInSummary()
87 NotificationsSentState stats = in loadAllExtraInfo()90 stats = new NotificationsSentState(); in loadAllExtraInfo()100 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo()135 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts()161 NotificationsSentState stats = in getAggregatedUsageEvents()164 stats = new NotificationsSentState(); in getAggregatedUsageEvents()182 NotificationsSentState stats = null; in getAggregatedUsageEvents()200 stats = new NotificationsSentState(); in getAggregatedUsageEvents()217 if (entry.extraInfo instanceof NotificationsSentState) { in getNotificationsSentState()218 return (NotificationsSentState) entry.extraInfo; in getNotificationsSentState()[all …]
496 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()505 NotificationsSentState stats = appRow.sentByChannel.get(channelId); in recordAggregatedUsageEvents()507 stats = new NotificationsSentState(); in recordAggregatedUsageEvents()525 public static CharSequence getSentSummary(Context context, NotificationsSentState state, in getSentSummary()546 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts()678 public static class NotificationsSentState { class in NotificationBackend704 public Map<String, NotificationsSentState> sentByChannel;705 public NotificationsSentState sentByApp;
147 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_appNotBlocked()164 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_channelsNotBlocked()178 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_noChannels()
45 import com.android.settings.notification.NotificationBackend.NotificationsSentState;334 NotificationsSentState sentA = new NotificationsSentState(); in testUpdateFullList_channelUpdates()337 NotificationsSentState sentB = new NotificationsSentState(); in testUpdateFullList_channelUpdates()
101 import com.android.settings.applications.AppStateNotificationBridge.NotificationsSentState;1484 && entry.extraInfo instanceof NotificationsSentState) { in updateSummary()1486 (NotificationsSentState) entry.extraInfo, mLastSortMode)); in updateSummary()1539 && entry.extraInfo instanceof NotificationsSentState) { in updateSwitch()1541 (NotificationsSentState) entry.extraInfo, mLastSortMode)); in updateSwitch()