Home
last modified time | relevance | path

Searched refs:sentByApp (Results 1 – 7 of 7) 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.java88 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
93 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
96 NotificationBackend.getSentSummary(context, appRow.sentByApp, false), in getNotificationSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppNotificationPreferenceController.java88 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
93 return NotificationBackend.getSentSummary(context, appRow.sentByApp, false); in getNotificationSummary()
96 NotificationBackend.getSentSummary(context, appRow.sentByApp, false), in getNotificationSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java382 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()
398 appRow.sentByApp.lastSent = event.getTimeStamp(); in recordAggregatedUsageEvents()
401 appRow.sentByApp.sentCount++; in recordAggregatedUsageEvents()
407 calculateAvgSentCounts(appRow.sentByApp); in recordAggregatedUsageEvents()
494 public NotificationsSentState sentByApp; field in NotificationBackend.AppRow
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java128 assertThat(appRow.sentByApp.sentCount).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
129 assertThat(appRow.sentByApp.lastSent).isEqualTo(6); in testGetAggregatedUsageEvents_multipleEventsAgg()
130 assertThat(appRow.sentByApp.avgSentWeekly).isEqualTo(3); in testGetAggregatedUsageEvents_multipleEventsAgg()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java462 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()
478 appRow.sentByApp.lastSent = event.getTimeStamp(); in recordAggregatedUsageEvents()
481 appRow.sentByApp.sentCount++; in recordAggregatedUsageEvents()
487 calculateAvgSentCounts(appRow.sentByApp); in recordAggregatedUsageEvents()
610 public NotificationsSentState sentByApp; field in NotificationBackend.AppRow
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java396 final int sentCount = appRow.sentByApp.sentCount; in getMaxSentNotificationsPackage()