Home
last modified time | relevance | path

Searched refs:NotificationListenerService (Results 1 – 25 of 40) 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()
41 void removeNotification(String key, NotificationListenerService.RankingMap ranking); in removeNotification()
50 NotificationListenerService.RankingMap ranking); in updateNotification()
57 void updateNotificationRanking(NotificationListenerService.RankingMap ranking); in updateNotificationRanking()
DNotificationEntryManager.java36 import android.service.notification.NotificationListenerService;
124 protected NotificationListenerService.RankingMap mLatestRankingMap;
190 public NotificationListenerService.RankingMap getLatestRankingMap() { in getLatestRankingMap()
194 public void setLatestRankingMap(NotificationListenerService.RankingMap latestRankingMap) { in setLatestRankingMap()
476 public void removeNotification(String key, NotificationListenerService.RankingMap ranking) { in removeNotification()
636 NotificationListenerService.RankingMap ranking) { in removeNotificationViews()
757 NotificationListenerService.RankingMap ranking) throws InflationException { in addNotificationInternal()
817 NotificationListenerService.RankingMap ranking) { in addNotification()
840 NotificationListenerService.RankingMap ranking) throws InflationException { in updateNotificationInternal()
894 NotificationListenerService.RankingMap ranking) { in updateNotification()
[all …]
DNotificationLogger.java23 import android.service.notification.NotificationListenerService;
52 private final NotificationListenerService mNotificationListener =
DNotificationBlockingHelperManager.java36 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT…
DNotificationData.java44 import android.service.notification.NotificationListenerService.Ranking;
45 import android.service.notification.NotificationListenerService.RankingMap;
DNotificationViewHierarchyManager.java22 import android.service.notification.NotificationListenerService;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java19 import static android.service.notification.NotificationListenerService.Ranking
21 import static android.service.notification.NotificationListenerService.Ranking
23 import static android.service.notification.NotificationListenerService.Ranking
39 import android.service.notification.NotificationListenerService;
40 import android.service.notification.NotificationListenerService.Ranking;
68 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull()
71 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_notNull()
199 public static class TestListenerService extends NotificationListenerService {
DNotificationRecordTest.java19 import static android.service.notification.NotificationListenerService.Ranking
21 import static android.service.notification.NotificationListenerService.Ranking
23 import static android.service.notification.NotificationListenerService.Ranking
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationEntryManagerTest.java44 import android.service.notification.NotificationListenerService;
86 @Mock private NotificationListenerService.RankingMap mRankingMap;
132 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in setUserSentiment()
144 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setUserSentiment()
186 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in setUp()
225 NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL); in testAddNotification()
235 setUserSentiment(mEntry.key, NotificationListenerService.Ranking.USER_SENTIMENT_NEGATIVE); in testUpdateNotification()
251 NotificationListenerService.Ranking.USER_SENTIMENT_NEGATIVE); in testUpdateNotification()
DNotificationListenerTest.java29 import android.service.notification.NotificationListenerService;
54 @Mock private NotificationListenerService.RankingMap mRanking;
DNotificationBlockingHelperManagerTest.java37 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT…
38 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR…
39 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT…
DNotificationRemoteInputManagerTest.java14 import android.service.notification.NotificationListenerService;
41 @Mock private NotificationListenerService.RankingMap mRanking;
DNotificationDataTest.java45 import android.service.notification.NotificationListenerService;
106 mNotificationData.updateRanking(mock(NotificationListenerService.RankingMap.class)); in setUp()
396 protected boolean getRanking(String key, NotificationListenerService.Ranking outRanking) { in getRanking()
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java41 import android.service.notification.NotificationListenerService;
42 import android.service.notification.NotificationListenerService.Ranking;
43 import android.service.notification.NotificationListenerService.RankingMap;
161 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in dismissBadNotification()
213 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in testGroupChildCanTriggerAdjustment()
237 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in testGroupSummaryCannotTriggerAdjustment()
256 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in testAodCannotTriggerAdjustment()
275 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL); in testInteractedCannotTriggerAdjustment()
294 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_APP_CANCEL); in testAppDismissedCannotTriggerAdjustment()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java28 import android.service.notification.NotificationListenerService;
198 case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS: in hintsToString()
200 case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS: in hintsToString()
202 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
26 import static android.service.notification.NotificationListenerService.Ranking
56 import android.service.notification.NotificationListenerService;
516 + NotificationListenerService.Ranking.importanceToString(mUserImportance)); in dump()
518 + NotificationListenerService.Ranking.importanceToString(mImportance)); in dump()
/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/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java17 import android.service.notification.NotificationListenerService.RankingMap;
/frameworks/base/config/
Dhiddenapi-removed-dex.txt302 Landroid/service/notification/NotificationListenerService$Ranking;->getAdditionalPeople()Ljava/util…
303 Landroid/service/notification/NotificationListenerService$Ranking;->getSnoozeCriteria()Ljava/util/L…
304 Landroid/service/notification/NotificationListenerService;->getActiveNotifications(I)[Landroid/serv…
305 Landroid/service/notification/NotificationListenerService;->getActiveNotifications([Ljava/lang/Stri…
306 Landroid/service/notification/NotificationListenerService;->registerAsSystemService(Landroid/conten…
307 Landroid/service/notification/NotificationListenerService;->setOnNotificationPostedTrim(I)V
308 Landroid/service/notification/NotificationListenerService;->snoozeNotification(Ljava/lang/String;Lj…
309 Landroid/service/notification/NotificationListenerService;->TRIM_FULL:I
310 Landroid/service/notification/NotificationListenerService;->TRIM_LIGHT:I
311 Landroid/service/notification/NotificationListenerService;->unregisterAsSystemService()V
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java41 public abstract class NotificationAssistantService extends NotificationListenerService {
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java35 import android.service.notification.NotificationListenerService;
/frameworks/base/api/
Dsystem-removed.txt128 public abstract class NotificationListenerService extends android.app.Service {
139 public static class NotificationListenerService.Ranking {
/frameworks/base/core/java/android/app/
DNotificationChannel.java29 import android.service.notification.NotificationListenerService;
776 NotificationListenerService.Ranking.importanceToString(getImportance())); in toJson()
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
DAssistant.java20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT…

12