Home
last modified time | relevance | path

Searched refs:NotificationsSentState (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
H A DAppStateNotificationBridgeTest.java385 NotificationsSentState neverSent = new NotificationsSentState(); in testSummary_recency()
386 NotificationsSentState sent = new NotificationsSentState(); in testSummary_recency()
398 NotificationsSentState sentRarely = new NotificationsSentState(); in testSummary_frequency()
400 NotificationsSentState sentOften = new NotificationsSentState(); in testSummary_frequency()
425 NotificationsSentState sentRarely = new NotificationsSentState(); in testSummary_alpha()
434 NotificationsSentState allowState = new NotificationsSentState(); in testFilterRecency()
442 NotificationsSentState denyState = new NotificationsSentState(); in testFilterRecency()
459 NotificationsSentState denyState = new NotificationsSentState(); in testFilterFrequency()
476 NotificationsSentState denyState = new NotificationsSentState(); in testFilterBlocked()
502 NotificationsSentState earlier = new NotificationsSentState(); in testRecencyComparator()
[all …]
H A DSpecialAppAccessPreferenceControllerTest.java114 entry.extraInfo = new AppStateNotificationBridge.NotificationsSentState(); in updateState_wrongExtraInfo_shouldNotIncludeInSummary()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStateNotificationBridge.java87 NotificationsSentState stats = in loadAllExtraInfo()
90 stats = new NotificationsSentState(); in loadAllExtraInfo()
100 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo()
135 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts()
161 NotificationsSentState stats = in getAggregatedUsageEvents()
164 stats = new NotificationsSentState(); in getAggregatedUsageEvents()
182 NotificationsSentState stats = null; in getAggregatedUsageEvents()
200 stats = new NotificationsSentState(); in getAggregatedUsageEvents()
217 if (entry.extraInfo instanceof NotificationsSentState) { in getNotificationsSentState()
218 return (NotificationsSentState) entry.extraInfo; in getNotificationsSentState()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java496 appRow.sentByApp = new NotificationsSentState(); in recordAggregatedUsageEvents()
505 NotificationsSentState stats = appRow.sentByChannel.get(channelId); in recordAggregatedUsageEvents()
507 stats = new NotificationsSentState(); in recordAggregatedUsageEvents()
525 public static CharSequence getSentSummary(Context context, NotificationsSentState state, in getSentSummary()
546 private void calculateAvgSentCounts(NotificationsSentState stats) { in calculateAvgSentCounts()
678 public static class NotificationsSentState { class in NotificationBackend
704 public Map<String, NotificationsSentState> sentByChannel;
705 public NotificationsSentState sentByApp;
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
H A DAppNotificationPreferenceControllerTest.java147 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_appNotBlocked()
164 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_channelsNotBlocked()
178 appRow.sentByApp = new NotificationBackend.NotificationsSentState(); in getNotificationSummary_noChannels()
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/app/
H A DChannelListPreferenceControllerTest.java45 import com.android.settings.notification.NotificationBackend.NotificationsSentState;
334 NotificationsSentState sentA = new NotificationsSentState(); in testUpdateFullList_channelUpdates()
337 NotificationsSentState sentB = new NotificationsSentState(); in testUpdateFullList_channelUpdates()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
H A DManageApplications.java101 import com.android.settings.applications.AppStateNotificationBridge.NotificationsSentState;
1484 && entry.extraInfo instanceof NotificationsSentState) { in updateSummary()
1486 (NotificationsSentState) entry.extraInfo, mLastSortMode)); in updateSummary()
1539 && entry.extraInfo instanceof NotificationsSentState) { in updateSwitch()
1541 (NotificationsSentState) entry.extraInfo, mLastSortMode)); in updateSwitch()