Home
last modified time | relevance | path

Searched refs:sentByChannel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java148 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()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java495 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
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java340 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()
/packages/apps/Settings/src/com/android/settings/notification/app/
DChannelListPreferenceController.java330 mContext, mAppRow.sentByChannel.get(channel.getId()), false)); in updateSingleChannelPrefs()