Home
last modified time | relevance | path

Searched refs:NotificationListenerService (Results 1 – 25 of 134) sorted by relevance

123456

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DPreprocessingManager.java29 import android.service.notification.NotificationListenerService;
78 private NotificationListenerService.RankingMap mOldRankingMap;
253 NotificationListenerService.Ranking ranking = in isLessImportantForegroundNotification()
254 new NotificationListenerService.Ranking(); in isLessImportantForegroundNotification()
616 NotificationListenerService.Ranking newRanking = new NotificationListenerService.Ranking(); in insertRankedNotification()
620 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in insertRankedNotification()
701 NotificationListenerService.Ranking leftRanking = in compare()
702 new NotificationListenerService.Ranking(); in compare()
705 NotificationListenerService.Ranking rightRanking = in compare()
706 new NotificationListenerService.Ranking(); in compare()
[all …]
H A DCarHeadsUpNotificationManager.java36 import android.service.notification.NotificationListenerService;
152 NotificationListenerService.RankingMap rankingMap, in maybeShowHeadsUp()
328 NotificationListenerService.RankingMap rankingMap) { in showHeadsUp()
454 NotificationListenerService.RankingMap rankingMap) { in playSound()
455 NotificationListenerService.Ranking ranking = getRanking(); in playSound()
582 NotificationListenerService.RankingMap rankingMap) { in shouldShowHeadsUp()
615 NotificationListenerService.Ranking ranking = getRanking(); in shouldShowHeadsUp()
656 protected NotificationListenerService.Ranking getRanking() { in getRanking()
657 return new NotificationListenerService.Ranking(); in getRanking()
H A DNotificationDataManager.java20 import android.service.notification.NotificationListenerService;
250 NotificationListenerService.RankingMap rankingMap) { in getNonLowImportanceUnseenNotificationCount()
254 NotificationListenerService.Ranking ranking = in getNonLowImportanceUnseenNotificationCount()
255 new NotificationListenerService.Ranking(); in getNonLowImportanceUnseenNotificationCount()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DNotificationDataManagerTest.java20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
28 import android.service.notification.NotificationListenerService;
155 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addHighImportanceNotification_updatesUnseenCount()
172 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addLowImportanceNotification_unseenCountZero()
251 NotificationListenerService.RankingMap rankingMap = in setNotificationsAsSeen_notificationIsSeen_decrementsUnseenCount()
286 NotificationListenerService.RankingMap rankingMap = in clearAll_clearsAllUnseenData()
297 private NotificationListenerService.RankingMap generateRankingMap( in generateRankingMap()
299 NotificationListenerService.Ranking[] rankings = in generateRankingMap()
300 new NotificationListenerService.Ranking[keys.size()]; in generateRankingMap()
305 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in generateRankingMap()
[all …]
H A DCarNotificationListenerTest.java34 import android.service.notification.NotificationListenerService;
59 private NotificationListenerService.RankingMap mRankingMap;
340 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in createMockRankingMap()
366 mRankingMap = new NotificationListenerService.RankingMap( in createMockRankingMap()
367 new NotificationListenerService.Ranking[]{ranking}); in createMockRankingMap()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
H A DTypeFilterPreferenceController.java19 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ALERTING;
20 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO…
21 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING;
22 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT;
29 import android.service.notification.NotificationListenerService;
130 NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES)) { in updateState()
132 NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES).toString(); in updateState()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenersTest.java18 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ALERTING;
19 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO…
20 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING;
21 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT;
41 import android.service.notification.NotificationListenerService;
200 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, "1|2"); in testEnsureFilters_newServiceWithMetadata()
215 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_namesNotNumbers()
231 si.metaData.putInt(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, 2); in testEnsureFilters_newServiceWithMetadata_onlyOneListed()
261 si.metaData.putString(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_disabledTypes_mixedText()
278 si.metaData.putInt(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, 1); in testEnsureFilters_newServiceWithMetadata_metaDataDisagrees()
[all …]
H A DNotificationListenerServiceTest.java20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT…
21 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
22 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT…
49 import android.service.notification.NotificationListenerService;
50 import android.service.notification.NotificationListenerService.Ranking;
51 import android.service.notification.NotificationListenerService.RankingMap;
91 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull()
94 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_notNull()
459 public static class TestListenerService extends NotificationListenerService {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollection.java19 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
20 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL;
21 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
22 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
24 import static android.service.notification.NotificationListenerService.REASON_CLICK;
25 import static android.service.notification.NotificationListenerService.REASON_ERROR;
34 import static android.service.notification.NotificationListenerService.REASON_SNOOZED;
35 import static android.service.notification.NotificationListenerService.REASON_TIMEOUT;
54 import android.service.notification.NotificationListenerService;
55 import android.service.notification.NotificationListenerService.Ranking;
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationHandler.java22 import android.service.notification.NotificationListenerService;
65 NotificationListenerService.RankingMap rankingMap) { in onNotificationPosted()
80 NotificationListenerService.RankingMap rankingMap) { in onNotificationRemoved()
94 NotificationListenerService.RankingMap rankingMap, int reason) { in onNotificationRemoved()
99 public void onNotificationRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onNotificationRankingUpdate()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DNotificationRankingUpdate.java26 private final NotificationListenerService.RankingMap mRankingMap;
28 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate()
29 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
36 public NotificationListenerService.RankingMap getRankingMap() { in getRankingMap()
H A DNotificationListenerFilter.java18 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ALERTING;
19 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO…
20 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING;
21 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DForegroundServiceSectionController.kt20 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL
21 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL
22 import android.service.notification.NotificationListenerService.REASON_CANCEL
23 import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL
24 import android.service.notification.NotificationListenerService.REASON_CLICK
25 import android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELED
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DShadeEventCoordinator.kt19 import android.service.notification.NotificationListenerService
51 reason == NotificationListenerService.REASON_CLICK ||
52 reason == NotificationListenerService.REASON_CANCEL_ALL ||
53 reason == NotificationListenerService.REASON_CANCEL
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
H A DLegacyNotificationRanker.kt19 import android.service.notification.NotificationListenerService
23 val rankingMap: NotificationListenerService.RankingMap?
26 newRankingMap: NotificationListenerService.RankingMap?,
H A DLegacyNotificationRankerStub.java19 import android.service.notification.NotificationListenerService.Ranking;
20 import android.service.notification.NotificationListenerService.RankingMap;
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java482 NotificationListenerService listenerService = in testNotificationOpened()
496 NotificationListenerService listenerService = in testUncacheShortcutsWhenNotificationsDismissed()
537 NotificationListenerService listenerService = in testConversationIsNotRecentIfCustomized()
710 NotificationListenerService listenerService = in testOnNotificationChannelModified()
737 NotificationListenerService listenerService = in testGetConversation_demoted()
793 NotificationListenerService listenerService = in testIsConversation_demoted()
811 NotificationListenerService listenerService = in testNotificationChannelCreated()
836 NotificationListenerService listenerService = in testNotificationChannelModified()
859 NotificationListenerService listenerService = in testNotificationChannelDeleted()
1599 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in sendGenericNotification()
[all …]
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
H A DTypeFilterPreferenceControllerTest.java19 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO…
20 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING;
21 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT;
39 import android.service.notification.NotificationListenerService;
154 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_enabled_metaData_disableFilter_notThisField()
167 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_enabled_metaData_disableFilter_thisField_stateIsChecked()
191 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_disabled_metaData_disableFilter_thisField_stateIsNotChecked()
/aosp12/frameworks/base/core/tests/coretests/src/android/service/notification/
H A DNotificationListenerFilterTest.java19 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ALERTING;
20 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO…
21 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING;
22 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT;
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecordLogger.java19 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
20 import static android.service.notification.NotificationListenerService.REASON_CLICK;
21 import static android.service.notification.NotificationListenerService.REASON_TIMEOUT;
29 import android.service.notification.NotificationListenerService;
83 @NotificationListenerService.NotificationCancelReason int reason, in logNotificationCancelled()
194 @NotificationListenerService.NotificationCancelReason int reason, in fromCancelReason()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DOnUserInteractionCallback.java19 import android.service.notification.NotificationListenerService;
38 @NotificationListenerService.NotificationCancelReason int cancellationReason, in onDismiss()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DServiceLiveData.kt28 import android.service.notification.NotificationListenerService
79 if (intentAction == NotificationListenerService.SERVICE_INTERFACE) {
132 if (intentAction == NotificationListenerService.SERVICE_INTERFACE &&
200 NotificationListenerService.SERVICE_INTERFACE -> {
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DVisibilityPreferenceController.java27 import android.service.notification.NotificationListenerService;
113 == NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE) { in updateState()
127 sensitive = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in onPreferenceChange()
149 int globalVis = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in getGlobalVisibility()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationEntryListener.java19 import android.service.notification.NotificationListenerService;
20 import android.service.notification.NotificationListenerService.RankingMap;
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DNotifCollectionListener.java20 import android.service.notification.NotificationListenerService;
116 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()

123456