Searched refs:avgSentWeekly (Results 1 – 8 of 8) sorted by relevance
245 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multipleEventsAgg()279 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multiplePkgs()284 assertThat(((NotificationsSentState) apps.get(1).extraInfo).avgSentWeekly).isEqualTo(1); in testLoadAllExtraInfo_multiplePkgs()335 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multipleUsers()340 assertThat(((NotificationsSentState) apps.get(1).extraInfo).avgSentWeekly).isEqualTo(4); in testLoadAllExtraInfo_multipleUsers()376 assertThat(((NotificationsSentState) entry.extraInfo).avgSentWeekly).isEqualTo(0); in testUpdateExtraInfo_multipleEventsAgg()398 sentRarely.avgSentWeekly = 1; in testSummary_frequency()425 sentRarely.avgSentWeekly = 1; in testSummary_alpha()
119 state.avgSentWeekly, state.avgSentWeekly); in getSummary()137 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()348 public int avgSentWeekly = 0; field in NotificationsSentState
111 if (state.avgSentWeekly > 0) { in getSummary()112 return context.getString(R.string.notifications_sent_weekly, state.avgSentWeekly); in getSummary()132 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()343 public int avgSentWeekly = 0; field in NotificationsSentState
124 assertThat(appRow.sentByChannel.get("channel1").avgSentWeekly).isEqualTo(2); in testGetAggregatedUsageEvents_multipleEventsAgg()127 assertThat(appRow.sentByChannel.get("channel2").avgSentWeekly).isEqualTo(1); in testGetAggregatedUsageEvents_multipleEventsAgg()130 assertThat(appRow.sentByApp.avgSentWeekly).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
423 if (state.avgSentWeekly > 0) { in getSentSummary()424 return context.getString(R.string.notifications_sent_weekly, state.avgSentWeekly); in getSentSummary()434 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()468 public int avgSentWeekly = 0; field in NotificationBackend.NotificationsSentState
115 if (rightState.avgSentWeekly != leftState.avgSentWeekly) {116 return rightState.avgSentWeekly - leftState.avgSentWeekly;
508 state.avgSentWeekly, state.avgSentWeekly); in getSentSummary()516 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()585 public int avgSentWeekly = 0; field in NotificationBackend.NotificationsSentState
148 appRow.sentByApp.avgSentWeekly = 4; in getNotificationSummary_appNotBlocked()