Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/core/tests/coretests/src/android/service/notification/
H A DNotificationRankingUpdateTest.java78 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in createTestRanking()
114 new NotificationListenerService.Ranking[]{ranking}); in testRankingUpdate_rankingConstructor()
117 NotificationListenerService.Ranking retrievedRanking = in testRankingUpdate_rankingConstructor()
118 new NotificationListenerService.Ranking(); in testRankingUpdate_rankingConstructor()
127 new NotificationListenerService.Ranking[]{ranking}); in testRankingUpdate_parcelConstructor()
136 NotificationListenerService.RankingMap retrievedRankings = in testRankingUpdate_parcelConstructor()
144 NotificationListenerService.Ranking retrievedRanking = in testRankingUpdate_parcelConstructor()
145 new NotificationListenerService.Ranking(); in testRankingUpdate_parcelConstructor()
156 new NotificationListenerService.Ranking[]{ranking}); in testRankingUpdate_emptyParcelInCheck()
172 new NotificationListenerService.Ranking[]{ranking}); in testRankingUpdate_describeContents()
[all …]
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;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DNotifCollectionLogger.kt20 import android.service.notification.NotificationListenerService
21 import android.service.notification.NotificationListenerService.RankingMap
41 NotificationListenerService.REASON_CLICK -> "REASON_CLICK"
42 NotificationListenerService.REASON_CANCEL -> "REASON_CANCEL"
43 NotificationListenerService.REASON_CANCEL_ALL -> "REASON_CANCEL_ALL"
44 NotificationListenerService.REASON_ERROR -> "REASON_ERROR"
46 NotificationListenerService.REASON_USER_STOPPED -> "REASON_USER_STOPPED"
48 NotificationListenerService.REASON_APP_CANCEL -> "REASON_APP_CANCEL"
58 NotificationListenerService.REASON_SNOOZED -> "REASON_SNOOZED"
59 NotificationListenerService.REASON_TIMEOUT -> "REASON_TIMEOUT"
[all …]
H A DNotifCollectionListener.java22 import android.service.notification.NotificationListenerService;
118 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationHandler.java21 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
H A DDreamOverlayNotificationCountProvider.java20 import android.service.notification.NotificationListenerService;
47 StatusBarNotification sbn, NotificationListenerService.RankingMap rankingMap) {
58 StatusBarNotification sbn, NotificationListenerService.RankingMap rankingMap) {
66 NotificationListenerService.RankingMap rankingMap,
73 public void onNotificationRankingUpdate(NotificationListenerService.RankingMap rankingMap) {
/aosp14/frameworks/base/core/java/android/service/notification/
H A DNotificationRankingUpdate.java40 private final NotificationListenerService.RankingMap mRankingMap;
50 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate()
51 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
86 android.service.notification.NotificationListenerService.RankingMap.class); in NotificationRankingUpdate()
100 android.service.notification.NotificationListenerService.RankingMap.class); in NotificationRankingUpdate()
116 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;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DShadeEventCoordinator.kt19 import android.service.notification.NotificationListenerService
54 reason == NotificationListenerService.REASON_CLICK ||
55 reason == NotificationListenerService.REASON_CANCEL_ALL ||
56 reason == NotificationListenerService.REASON_CANCEL
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DNotifCollection.java19 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
22 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
23 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
26 import static android.service.notification.NotificationListenerService.REASON_CLEAR_DATA;
27 import static android.service.notification.NotificationListenerService.REASON_CLICK;
28 import static android.service.notification.NotificationListenerService.REASON_ERROR;
37 import static android.service.notification.NotificationListenerService.REASON_SNOOZED;
38 import static android.service.notification.NotificationListenerService.REASON_TIMEOUT;
59 import android.service.notification.NotificationListenerService;
60 import android.service.notification.NotificationListenerService.Ranking;
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java483 NotificationListenerService listenerService = in testNotificationOpened()
497 NotificationListenerService listenerService = in testUncacheShortcutsWhenNotificationsDismissed()
542 NotificationListenerService listenerService = in testConversationIsNotRecentIfCustomized()
713 NotificationListenerService listenerService = in testGetConversation_trackActiveConversations()
772 NotificationListenerService listenerService = in testOnNotificationChannelModified()
799 NotificationListenerService listenerService = in testGetConversation_demoted()
855 NotificationListenerService listenerService = in testIsConversation_demoted()
873 NotificationListenerService listenerService = in testNotificationChannelCreated()
898 NotificationListenerService listenerService = in testNotificationChannelModified()
1737 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in sendGenericNotificationWithKey()
[all …]
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenersTest.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;
67 import android.service.notification.NotificationListenerService;
287 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, "1|2"); in testEnsureFilters_newServiceWithMetadata()
302 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_namesNotNumbers()
318 si.metaData.putInt(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, 2); in testEnsureFilters_newServiceWithMetadata_onlyOneListed()
348 si.metaData.putString(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_disabledTypes_mixedText()
365 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…
55 import android.service.notification.NotificationListenerService;
56 import android.service.notification.NotificationListenerService.Ranking;
57 import android.service.notification.NotificationListenerService.RankingMap;
99 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull()
102 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_notNull()
506 public static class TestListenerService extends NotificationListenerService {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationEntryListener.java21 import android.service.notification.NotificationListenerService;
22 import android.service.notification.NotificationListenerService.RankingMap;
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecordLogger.java19 import static android.service.notification.NotificationListenerService.REASON_ASSISTANT_CANCEL;
20 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
21 import static android.service.notification.NotificationListenerService.REASON_CLEAR_DATA;
22 import static android.service.notification.NotificationListenerService.REASON_CLICK;
31 import android.service.notification.NotificationListenerService;
111 @NotificationListenerService.NotificationCancelReason int reason, in logNotificationCancelled()
231 @NotificationListenerService.NotificationCancelReason int reason, in fromCancelReason()
H A DZenLog.java28 import android.service.notification.NotificationListenerService;
253 case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS: in hintsToString()
255 case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS: in hintsToString()
257 case NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS: in hintsToString()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
H A DNotificationListener.kt19 import android.service.notification.NotificationListenerService
24 class NotificationListener : NotificationListenerService() {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DAssistantFeedbackControllerTest.java24 import static android.service.notification.NotificationListenerService.Ranking.RANKING_DEMOTED;
25 import static android.service.notification.NotificationListenerService.Ranking.RANKING_PROMOTED;
26 import static android.service.notification.NotificationListenerService.Ranking.RANKING_UNCHANGED;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNoManSimulator.java23 import android.service.notification.NotificationListenerService.Ranking;
24 import android.service.notification.NotificationListenerService.RankingMap;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/
H A DDreamOverlayNotificationCountProviderTest.java23 import android.service.notification.NotificationListenerService;
54 NotificationListenerService.RankingMap mRankingMap;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationListenerWithPlugins.java22 import android.service.notification.NotificationListenerService;
39 public class NotificationListenerWithPlugins extends NotificationListenerService implements
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationRemoveInterceptor.java21 import android.service.notification.NotificationListenerService;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
H A DCoalescedEvent.kt19 import android.service.notification.NotificationListenerService.Ranking
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DShadeEventCoordinatorTest.kt18 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL
19 import android.service.notification.NotificationListenerService.REASON_CANCEL
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbles.java30 import android.service.notification.NotificationListenerService;
31 import android.service.notification.NotificationListenerService.RankingMap;

1234