Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java245 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()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java119 state.avgSentWeekly, state.avgSentWeekly); in getSummary()
137 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()
348 public int avgSentWeekly = 0; field in NotificationsSentState
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java111 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
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java124 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java423 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
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java115 if (rightState.avgSentWeekly != leftState.avgSentWeekly) {
116 return rightState.avgSentWeekly - leftState.avgSentWeekly;
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java508 state.avgSentWeekly, state.avgSentWeekly); in getSentSummary()
516 stats.avgSentWeekly = stats.sentCount; in calculateAvgSentCounts()
585 public int avgSentWeekly = 0; field in NotificationBackend.NotificationsSentState
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java148 appRow.sentByApp.avgSentWeekly = 4; in getNotificationSummary_appNotBlocked()