Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java147 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_appNotBlocked()
148 appRow.sentByApp.avgSentWeekly = 4; in getNotificationSummary_appNotBlocked()
154 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false))) in getNotificationSummary_appNotBlocked()
164 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_channelsNotBlocked()
165 appRow.sentByApp.avgSentDaily = 4; in getNotificationSummary_channelsNotBlocked()
169 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false)); in getNotificationSummary_channelsNotBlocked()
178 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_noChannels()
179 appRow.sentByApp.avgSentDaily = 7; in getNotificationSummary_noChannels()
183 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false)); in getNotificationSummary_noChannels()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceController.java91 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
96 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
99 NotificationBackend.getSentSummary(context, appRow.sentByApp, false), in getNotificationSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java154 assertThat(appRow.sentByApp.sentCount).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
155 assertThat(appRow.sentByApp.lastSent).isEqualTo(6); in testGetAggregatedUsageEvents_multipleEventsAgg()
156 assertThat(appRow.sentByApp.avgSentWeekly).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java496 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()
512 appRow.sentByApp.lastSent = event.getTimeStamp(); in recordAggregatedUsageEvents()
515 appRow.sentByApp.sentCount++; in recordAggregatedUsageEvents()
521 calculateAvgSentCounts(appRow.sentByApp); in recordAggregatedUsageEvents()
705 public NotificationsSentState sentByApp; field in NotificationBackend.AppRow