Searched refs:sentByChannel (Results 1 – 4 of 4) sorted by relevance
148 assertThat(appRow.sentByChannel.get("channel1").sentCount).isEqualTo(2); in testGetAggregatedUsageEvents_multipleEventsAgg()149 assertThat(appRow.sentByChannel.get("channel1").lastSent).isEqualTo(6); in testGetAggregatedUsageEvents_multipleEventsAgg()150 assertThat(appRow.sentByChannel.get("channel1").avgSentWeekly).isEqualTo(2); in testGetAggregatedUsageEvents_multipleEventsAgg()151 assertThat(appRow.sentByChannel.get("channel2").sentCount).isEqualTo(1); in testGetAggregatedUsageEvents_multipleEventsAgg()152 assertThat(appRow.sentByChannel.get("channel2").lastSent).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()153 assertThat(appRow.sentByChannel.get("channel2").avgSentWeekly).isEqualTo(1); in testGetAggregatedUsageEvents_multipleEventsAgg()
495 appRow.sentByChannel = new HashMap<>(); in recordAggregatedUsageEvents()505 NotificationsSentState stats = appRow.sentByChannel.get(channelId); in recordAggregatedUsageEvents()508 appRow.sentByChannel.put(channelId, stats); in recordAggregatedUsageEvents()704 public Map<String, NotificationsSentState> sentByChannel; field in NotificationBackend.AppRow
340 mAppRow.sentByChannel.put("channelA", sentA); in testUpdateFullList_channelUpdates()368 mAppRow.sentByChannel.remove("channelA"); in testUpdateFullList_channelUpdates()369 mAppRow.sentByChannel.put("channelB", sentB); in testUpdateFullList_channelUpdates()
330 mContext, mAppRow.sentByChannel.get(channel.getId()), false)); in updateSingleChannelPrefs()