Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUpdateHandler.java19 import android.service.notification.NotificationListenerService;
33 NotificationListenerService.RankingMap ranking); in addNotification()
43 void removeNotification(String key, NotificationListenerService.RankingMap ranking, int reason); in removeNotification()
52 NotificationListenerService.RankingMap ranking); in updateNotification()
59 void updateNotificationRanking(NotificationListenerService.RankingMap ranking); in updateNotificationRanking()
DNotificationRemoveInterceptor.java19 import android.service.notification.NotificationListenerService;
/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/
DNotificationEntryManager.java18 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
19 import static android.service.notification.NotificationListenerService.REASON_ERROR;
24 import android.service.notification.NotificationListenerService;
256 public void removeNotification(String key, NotificationListenerService.RankingMap ranking, in removeNotification()
264 @Nullable NotificationListenerService.RankingMap ranking, in removeNotificationInternal()
378 NotificationListenerService.RankingMap rankingMap) throws InflationException { in addNotificationInternal()
385 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in addNotificationInternal()
405 NotificationListenerService.RankingMap ranking) { in addNotification()
414 NotificationListenerService.RankingMap ranking) throws InflationException { in updateNotificationInternal()
452 NotificationListenerService.RankingMap ranking) { in updateNotification()
[all …]
DNotificationEntryListener.java19 import android.service.notification.NotificationListenerService;
20 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/
DCarNotificationEntryManager.java19 import android.service.notification.NotificationListenerService;
37 StatusBarNotification notification, NotificationListenerService.RankingMap ranking) { in addNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java19 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
50 import android.service.notification.NotificationListenerService;
120 @Mock private NotificationListenerService.RankingMap mRankingMap;
173 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in setUserSentiment()
185 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setUserSentiment()
190 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in setSmartActions()
201 NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL, false, -1, in setSmartActions()
204 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setSmartActions()
256 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in setUp()
293 NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in testAddNotification()
[all …]
/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…
47 import android.service.notification.NotificationListenerService;
48 import android.service.notification.NotificationListenerService.Ranking;
49 import android.service.notification.NotificationListenerService.RankingMap;
89 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull()
92 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_notNull()
413 public static class TestListenerService extends NotificationListenerService {
DBuzzBeepBlinkTest.java63 import android.service.notification.NotificationListenerService;
1298 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintCall()
1309 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintCall_notificationSound()
1320 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS); in testListenerHintNotification()
1332 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS in testListenerHintBoth()
1333 | NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintBoth()
1345 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS); in testListenerHintNotification_callSound()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java28 import android.service.notification.NotificationListenerService;
208 case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS: in hintsToString()
210 case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS: in hintsToString()
212 case NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS: in hintsToString()
DVisibilityExtractor.java19 import android.service.notification.NotificationListenerService;
DNotificationRecord.java24 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
25 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT…
53 import android.service.notification.NotificationListenerService;
552 + NotificationListenerService.Ranking.importanceToString(mSystemImportance)); in dump()
554 + NotificationListenerService.Ranking.importanceToString(mAssistantImportance)); in dump()
556 + NotificationListenerService.Ranking.importanceToString(mImportance)); in dump()
DNotificationManagerService.java60 import static android.service.notification.NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFEC…
61 import static android.service.notification.NotificationListenerService.HINT_HOST_DISABLE_EFFECTS;
62 import static android.service.notification.NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATI…
63 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
64 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
65 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU…
66 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
67 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL;
68 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
69 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
[all …]
/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;
57 @Mock private NotificationListenerService.RankingMap mRanking;
DNotificationRemoteInputManagerTest.java17 import android.service.notification.NotificationListenerService;
55 @Mock private NotificationListenerService.RankingMap mRanking;
/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…
/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/bubbles/
DBubbleData.java25 import android.service.notification.NotificationListenerService;
26 import android.service.notification.NotificationListenerService.RankingMap;
119 private NotificationListenerService.Ranking mTmpRanking;
209 mTmpRanking = new NotificationListenerService.Ranking(); in notificationRankingUpdated()
DBubbleController.java24 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL;
25 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL;
26 import static android.service.notification.NotificationListenerService.REASON_CANCEL;
27 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL;
55 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java41 import android.service.notification.NotificationListenerService;
105 public int userSentiment = NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL;
184 @Nullable NotificationListenerService.Ranking ranking) { in NotificationEntry()
192 public void populateFromRanking(@NonNull NotificationListenerService.Ranking ranking) { in populateFromRanking()
DNotificationData.java23 import android.service.notification.NotificationListenerService.Ranking;
24 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManager.java19 import static android.service.notification.NotificationListenerService.Ranking
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DBubbleControllerTest.java21 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;
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java35 import android.service.notification.NotificationListenerService;

12