Home
last modified time | relevance | path

Searched refs:avgSentWeekly (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java246 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multipleEventsAgg()
280 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multiplePkgs()
285 assertThat(((NotificationsSentState) apps.get(1).extraInfo).avgSentWeekly).isEqualTo(1); in testLoadAllExtraInfo_multiplePkgs()
336 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0); in testLoadAllExtraInfo_multipleUsers()
341 assertThat(((NotificationsSentState) apps.get(1).extraInfo).avgSentWeekly).isEqualTo(4); in testLoadAllExtraInfo_multipleUsers()
377 assertThat(((NotificationsSentState) entry.extraInfo).avgSentWeekly).isEqualTo(0); in testUpdateExtraInfo_multipleEventsAgg()
399 sentRarely.avgSentWeekly = 1; in testSummary_frequency()
426 sentRarely.avgSentWeekly = 1; in testSummary_alpha()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java121 state.avgSentWeekly, state.avgSentWeekly); in getSummary()
139 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()
342 public int avgSentWeekly = 0; field in NotificationsSentState
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java150 assertThat(appRow.sentByChannel.get("channel1").avgSentWeekly).isEqualTo(2); in testGetAggregatedUsageEvents_multipleEventsAgg()
153 assertThat(appRow.sentByChannel.get("channel2").avgSentWeekly).isEqualTo(1); in testGetAggregatedUsageEvents_multipleEventsAgg()
156 assertThat(appRow.sentByApp.avgSentWeekly).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java542 state.avgSentWeekly, state.avgSentWeekly); in getSentSummary()
550 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()
680 public int avgSentWeekly = 0; field in NotificationBackend.NotificationsSentState
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java336 sentA.avgSentWeekly = 10; in testUpdateFullList_channelUpdates()
339 sentB.avgSentWeekly = 2; in testUpdateFullList_channelUpdates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java148 appRow.sentByApp.avgSentWeekly = 4; in getNotificationSummary_appNotBlocked()