/frameworks/base/core/java/android/service/notification/ |
D | NotificationRankingUpdate.java | 42 private final NotificationListenerService.RankingMap mRankingMap; 52 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate() 53 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate() 86 NotificationListenerService.RankingMap.class); in NotificationRankingUpdate() 103 android.service.notification.NotificationListenerService.RankingMap.class); in NotificationRankingUpdate() 125 NotificationListenerService.Ranking ranking = mRankingMap.getRawRankingObject(key); in addSmartActionsFromBundleToRankingMap() 143 public NotificationListenerService.RankingMap getRankingMap() { in getRankingMap() 174 ArrayList<NotificationListenerService.Ranking> marshalableRankings = new ArrayList<>(); in writeToParcel() 183 NotificationListenerService.Ranking ranking = mRankingMap.getRawRankingObject(key); in writeToParcel() 195 NotificationListenerService.Ranking rankingCopy = in writeToParcel() [all …]
|
D | NotificationListenerFilter.java | 18 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;
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 19 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT… 20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR… 21 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT… 96 NotificationListenerService.Ranking[] rankings = in generateUpdate() 97 new NotificationListenerService.Ranking[mKeys.length]; in generateUpdate() 100 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in generateUpdate() 367 public void detailedAssertEquals(String comment, NotificationListenerService.Ranking a, in detailedAssertEquals() 368 NotificationListenerService.Ranking b) { in detailedAssertEquals() 407 public void detailedAssertEquals(NotificationListenerService.RankingMap a, in detailedAssertEquals() 408 NotificationListenerService.RankingMap b) { in detailedAssertEquals() [all …]
|
D | NotificationListenerFilterTest.java | 19 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;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
D | NotifCollectionLogger.kt | 20 import android.service.notification.NotificationListenerService 21 import android.service.notification.NotificationListenerService.RankingMap 41 NotificationListenerService.REASON_CLICK -> "REASON_CLICK" in cancellationReasonDebugString() 42 NotificationListenerService.REASON_CANCEL -> "REASON_CANCEL" in cancellationReasonDebugString() 43 NotificationListenerService.REASON_CANCEL_ALL -> "REASON_CANCEL_ALL" in cancellationReasonDebugString() 44 NotificationListenerService.REASON_ERROR -> "REASON_ERROR" in cancellationReasonDebugString() 45 NotificationListenerService.REASON_PACKAGE_CHANGED -> "REASON_PACKAGE_CHANGED" in cancellationReasonDebugString() 46 NotificationListenerService.REASON_USER_STOPPED -> "REASON_USER_STOPPED" in cancellationReasonDebugString() 47 NotificationListenerService.REASON_PACKAGE_BANNED -> "REASON_PACKAGE_BANNED" in cancellationReasonDebugString() 48 NotificationListenerService.REASON_APP_CANCEL -> "REASON_APP_CANCEL" in cancellationReasonDebugString() [all …]
|
D | NotifCollectionListener.java | 22 import android.service.notification.NotificationListenerService; 119 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayNotificationCountProvider.java | 20 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) {
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricNotificationLogger.java | 20 import android.service.notification.NotificationListenerService; 31 public class BiometricNotificationLogger extends NotificationListenerService { 84 case NotificationListenerService.REASON_CLICK: in onNotificationRemoved() 90 case NotificationListenerService.REASON_CANCEL: in onNotificationRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | ShadeEventCoordinator.kt | 19 import android.service.notification.NotificationListenerService 54 reason == NotificationListenerService.REASON_CLICK || in onEntryRemoved() 55 reason == NotificationListenerService.REASON_CANCEL_ALL || in onEntryRemoved() 56 reason == NotificationListenerService.REASON_CANCEL in onEntryRemoved()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricNotificationLoggerTest.java | 21 import android.service.notification.NotificationListenerService; 98 NotificationListenerService.REASON_CLICK); in testFaceNotification_clicked() 109 NotificationListenerService.REASON_CLICK); in testFingerprintNotification_clicked() 120 NotificationListenerService.REASON_CANCEL); in testFaceNotification_dismissed() 131 NotificationListenerService.REASON_CANCEL); in testFingerprintNotification_dismissed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifCollection.java | 19 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_ASSISTANT_CANCEL; 22 import static android.service.notification.NotificationListenerService.REASON_CANCEL; 23 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL; 24 import static android.service.notification.NotificationListenerService.REASON_CHANNEL_BANNED; 25 import static android.service.notification.NotificationListenerService.REASON_CHANNEL_REMOVED; 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; [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 20 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… 54 import android.service.notification.NotificationListenerService; 55 import android.service.notification.NotificationListenerService.Ranking; 97 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_notNull() 100 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_notNull() 111 assertNotNull(service.getActiveNotifications(NotificationListenerService.TRIM_FULL)); in testGetActiveNotifications_handlesBinderErrors() 114 new String[0], NotificationListenerService.TRIM_LIGHT)); in testGetActiveNotifications_handlesBinderErrors() 400 public static class TestListenerService extends NotificationListenerService {
|
D | NotificationListenersTest.java | 22 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ALERTING; 23 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_CONVERSATIO… 24 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_ONGOING; 25 import static android.service.notification.NotificationListenerService.FLAG_FILTER_TYPE_SILENT; 75 import android.service.notification.NotificationListenerService; 162 doReturn(android.service.notification.NotificationListenerService.TRIM_FULL) in setUp() 321 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, "1|2"); in testEnsureFilters_newServiceWithMetadata() 336 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_namesNotNumbers() 352 si.metaData.putInt(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, 2); in testEnsureFilters_newServiceWithMetadata_onlyOneListed() 367 si.metaData.putString(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, "1|2"); in testEnsureFilters_newServiceWithMetadata_disabledTypes() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 21 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU… 22 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU… 23 import static android.service.notification.NotificationListenerService.NOTIFICATION_CHANNEL_OR_GROU… 84 import android.service.notification.NotificationListenerService; 167 private NotificationListenerService.RankingMap mRankingMap; 483 NotificationListenerService listenerService = in testNotificationOpened() 487 NotificationListenerService.REASON_CLICK); in testNotificationOpened() 497 NotificationListenerService listenerService = in testUncacheShortcutsWhenNotificationsDismissed() 521 NotificationListenerService.REASON_CANCEL); in testUncacheShortcutsWhenNotificationsDismissed() 528 NotificationListenerService.REASON_CANCEL_ALL); in testUncacheShortcutsWhenNotificationsDismissed() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationEntryListener.java | 21 import android.service.notification.NotificationListenerService; 22 import android.service.notification.NotificationListenerService.RankingMap;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordLogger.java | 19 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()
|
D | ZenLog.java | 28 import android.service.notification.NotificationListenerService; 225 case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS: in hintsToString() 227 case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS: in hintsToString() 229 case NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS: in hintsToString()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | NotificationListener.kt | 19 import android.service.notification.NotificationListenerService 24 class NotificationListener : NotificationListenerService() {
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | NotificationMediaManagerTest.kt | 25 import android.service.notification.NotificationListenerService 95 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_userInitiated_dismissNotif() 118 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NoManSimulator.java | 23 import android.service.notification.NotificationListenerService.Ranking; 24 import android.service.notification.NotificationListenerService.RankingMap;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AssistantFeedbackControllerTest.java | 24 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;
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayNotificationCountProviderTest.java | 23 import android.service.notification.NotificationListenerService; 55 NotificationListenerService.RankingMap mRankingMap;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationListenerWithPlugins.java | 22 import android.service.notification.NotificationListenerService; 39 public class NotificationListenerWithPlugins extends NotificationListenerService implements
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/service/notification/ |
D | NotificationListenerServiceKosmos.kt | 24 val Kosmos.mockNotificationListenerService by Fixture { mock<NotificationListenerService>() } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | CoalescedEvent.kt | 19 import android.service.notification.NotificationListenerService.Ranking
|