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.java151 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_appNotBlocked()
152 appRow.sentByApp.avgSentWeekly = 4; in getNotificationSummary_appNotBlocked()
158 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false))) in getNotificationSummary_appNotBlocked()
168 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_channelsNotBlocked()
169 appRow.sentByApp.avgSentDaily = 4; in getNotificationSummary_channelsNotBlocked()
173 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false)); in getNotificationSummary_channelsNotBlocked()
182 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_noChannels()
183 appRow.sentByApp.avgSentDaily = 7; in getNotificationSummary_noChannels()
187 NotificationBackend.getSentSummary(mContext, appRow.sentByApp, false)); in getNotificationSummary_noChannels()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceController.java104 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
109 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
117 NotificationBackend.getSentSummary(context, appRow.sentByApp, false), in getNotificationSummary()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java484 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()
500 appRow.sentByApp.lastSent = event.getTimeStamp(); in recordAggregatedUsageEvents()
503 appRow.sentByApp.sentCount++; in recordAggregatedUsageEvents()
509 calculateAvgSentCounts(appRow.sentByApp); in recordAggregatedUsageEvents()
701 public NotificationsSentState sentByApp; field in NotificationBackend.AppRow
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java189 assertThat(appRow.sentByApp.sentCount).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
190 assertThat(appRow.sentByApp.lastSent).isEqualTo(6); in testGetAggregatedUsageEvents_multipleEventsAgg()
191 assertThat(appRow.sentByApp.avgSentWeekly).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()