Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java25 private final NotificationListenerService.RankingMap mRankingMap;
27 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate()
28 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
35 public NotificationListenerService.RankingMap getRankingMap() { in getRankingMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
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_ALL;
22 import static android.service.notification.NotificationListenerService.REASON_CHANNEL_BANNED;
23 import static android.service.notification.NotificationListenerService.REASON_CLICK;
24 import static android.service.notification.NotificationListenerService.REASON_ERROR;
25 import static android.service.notification.NotificationListenerService.REASON_GROUP_OPTIMIZATION;
26 import static android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELE…
27 import static android.service.notification.NotificationListenerService.REASON_LISTENER_CANCEL;
28 import static android.service.notification.NotificationListenerService.REASON_LISTENER_CANCEL_ALL;
[all …]
DNotificationRankingManager.kt21 import android.service.notification.NotificationListenerService.Ranking in <lambda>()
22 import android.service.notification.NotificationListenerService.RankingMap in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DForegroundServiceSectionController.kt20 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL in <lambda>()
21 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL in <lambda>()
22 import android.service.notification.NotificationListenerService.REASON_CANCEL in <lambda>()
23 import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL in <lambda>()
24 import android.service.notification.NotificationListenerService.REASON_CLICK in <lambda>()
25 import android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELED in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
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;
69 @NotificationListenerService.NotificationCancelReason int reason, in logNotificationCancelled()
178 @NotificationListenerService.NotificationCancelReason int reason, in fromCancelReason()
DZenLog.java28 import android.service.notification.NotificationListenerService;
209 case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS: in hintsToString()
211 case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS: in hintsToString()
213 case NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS: in hintsToString()
DVisibilityExtractor.java19 import android.service.notification.NotificationListenerService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionListener.java20 import android.service.notification.NotificationListenerService;
105 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
DNotifEvent.kt19 import android.service.notification.NotificationListenerService.RankingMap
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryListener.java19 import android.service.notification.NotificationListenerService;
20 import android.service.notification.NotificationListenerService.RankingMap;
DConversationNotifications.kt23 import android.service.notification.NotificationListenerService.Ranking in <lambda>()
24 import android.service.notification.NotificationListenerService.RankingMap in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
451 public static class TestListenerService extends NotificationListenerService {
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java19 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
20 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
21 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
70 import android.service.notification.NotificationListenerService;
392 NotificationListenerService listenerService = in testNotificationPosted()
411 NotificationListenerService listenerService = in testNotificationOpened()
415 NotificationListenerService.REASON_CLICK); in testNotificationOpened()
434 NotificationListenerService listenerService = in testNotificationDismissed()
447 NotificationListenerService.REASON_CANCEL); in testNotificationDismissed()
453 NotificationListenerService.REASON_CANCEL_ALL); in testNotificationDismissed()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java21 import android.service.notification.NotificationListenerService.Ranking;
22 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java20 import android.service.notification.NotificationListenerService;
36 public class NotificationListenerWithPlugins extends NotificationListenerService implements
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java30 import android.service.notification.NotificationListenerService.Ranking;
31 import android.service.notification.NotificationListenerService.RankingMap;
DNotificationEntryHelper.java19 import android.service.notification.NotificationListenerService.Ranking;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoveInterceptor.java21 import android.service.notification.NotificationListenerService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DCoalescedEvent.kt19 import android.service.notification.NotificationListenerService.Ranking
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DAppOpsCoordinatorTest.java31 import android.service.notification.NotificationListenerService;
181 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_notForeground()
198 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_foregroundNotifRecentlyPosted()
216 .shouldExtendLifetime(mEntry, NotificationListenerService.REASON_CLICK)); in extendLifetimeText_foregroundNotifOld()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.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…
DNotificationEntryManagerInflationTest.java34 import android.service.notification.NotificationListenerService;
35 import android.service.notification.NotificationListenerService.Ranking;
139 private NotificationListenerService.RankingMap mRankingMap;
302 mRankingMap = new NotificationListenerService.RankingMap(new Ranking[] {ranking}); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java22 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
23 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL;
24 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
25 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
26 import static android.service.notification.NotificationListenerService.REASON_CLICK;
27 import static android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELE…
65 import android.service.notification.NotificationListenerService;
66 import android.service.notification.NotificationListenerService.RankingMap;
177 private NotificationListenerService.Ranking mTmpRanking;
1234 mTmpRanking = new NotificationListenerService.Ranking(); in onRankingUpdated()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java17 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt26 import android.service.notification.NotificationListenerService in <lambda>()
27 import android.service.notification.NotificationListenerService.REASON_SNOOZED in <lambda>()
237 private fun NotificationListenerService.Ranking.getIcon( in extractPersonKey() method

123