Home
last modified time | relevance | path

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

123

/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;
261 public void removeNotification(String key, NotificationListenerService.RankingMap ranking, in removeNotification()
269 @Nullable NotificationListenerService.RankingMap ranking, in removeNotificationInternal()
383 NotificationListenerService.RankingMap rankingMap) throws InflationException { in addNotificationInternal()
390 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in addNotificationInternal()
410 NotificationListenerService.RankingMap ranking) { in addNotification()
419 NotificationListenerService.RankingMap ranking) throws InflationException { in updateNotificationInternal()
457 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;
43 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;
122 @Mock private NotificationListenerService.RankingMap mRankingMap;
175 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in setUserSentiment()
187 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setUserSentiment()
192 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in setSmartActions()
203 NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL, false, -1, in setSmartActions()
206 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setSmartActions()
259 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in setUp()
296 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()
420 public static class TestListenerService extends NotificationListenerService {
DBuzzBeepBlinkTest.java63 import android.service.notification.NotificationListenerService;
1314 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintCall()
1325 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintCall_notificationSound()
1336 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS); in testListenerHintNotification()
1348 mService.setHints(NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS in testListenerHintBoth()
1349 | NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS); in testListenerHintBoth()
1361 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;
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;
DNotificationRecord.java24 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
25 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT…
50 import android.service.notification.NotificationListenerService;
544 + NotificationListenerService.Ranking.importanceToString(mSystemImportance)); in dump()
546 + NotificationListenerService.Ranking.importanceToString(mAssistantImportance)); in dump()
548 + 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.java18 import android.service.notification.NotificationListenerService;
58 @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/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…
57 import android.service.notification.NotificationListenerService.RankingMap;
DBubbleData.java28 import android.service.notification.NotificationListenerService;
29 import android.service.notification.NotificationListenerService.RankingMap;
122 private NotificationListenerService.Ranking mTmpRanking;
233 mTmpRanking = new NotificationListenerService.Ranking(); in notificationRankingUpdated()
/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/collection/
DNotificationEntry.java42 import android.service.notification.NotificationListenerService;
105 public int userSentiment = NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL;
182 @Nullable NotificationListenerService.Ranking ranking) { in NotificationEntry()
190 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/core/java/android/companion/
DCompanionDeviceManager.java35 import android.service.notification.NotificationListenerService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java23 import android.service.notification.NotificationListenerService;
70 private final NotificationListenerService mNotificationListener;

123