/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | PreprocessingManager.java | 29 import android.service.notification.NotificationListenerService; 78 private NotificationListenerService.RankingMap mOldRankingMap; 253 NotificationListenerService.Ranking ranking = in isLessImportantForegroundNotification() 254 new NotificationListenerService.Ranking(); in isLessImportantForegroundNotification() 616 NotificationListenerService.Ranking newRanking = new NotificationListenerService.Ranking(); in insertRankedNotification() 620 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in insertRankedNotification() 701 NotificationListenerService.Ranking leftRanking = in compare() 702 new NotificationListenerService.Ranking(); in compare() 705 NotificationListenerService.Ranking rightRanking = in compare() 706 new NotificationListenerService.Ranking(); in compare() [all …]
|
H A D | CarHeadsUpNotificationManager.java | 36 import android.service.notification.NotificationListenerService; 152 NotificationListenerService.RankingMap rankingMap, in maybeShowHeadsUp() 328 NotificationListenerService.RankingMap rankingMap) { in showHeadsUp() 454 NotificationListenerService.RankingMap rankingMap) { in playSound() 455 NotificationListenerService.Ranking ranking = getRanking(); in playSound() 582 NotificationListenerService.RankingMap rankingMap) { in shouldShowHeadsUp() 615 NotificationListenerService.Ranking ranking = getRanking(); in shouldShowHeadsUp() 656 protected NotificationListenerService.Ranking getRanking() { in getRanking() 657 return new NotificationListenerService.Ranking(); in getRanking()
|
H A D | NotificationDataManager.java | 20 import android.service.notification.NotificationListenerService; 250 NotificationListenerService.RankingMap rankingMap) { in getNonLowImportanceUnseenNotificationCount() 254 NotificationListenerService.Ranking ranking = in getNonLowImportanceUnseenNotificationCount() 255 new NotificationListenerService.Ranking(); in getNonLowImportanceUnseenNotificationCount()
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | NotificationDataManagerTest.java | 20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR… 28 import android.service.notification.NotificationListenerService; 155 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addHighImportanceNotification_updatesUnseenCount() 172 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addLowImportanceNotification_unseenCountZero() 251 NotificationListenerService.RankingMap rankingMap = in setNotificationsAsSeen_notificationIsSeen_decrementsUnseenCount() 286 NotificationListenerService.RankingMap rankingMap = in clearAll_clearsAllUnseenData() 297 private NotificationListenerService.RankingMap generateRankingMap( in generateRankingMap() 299 NotificationListenerService.Ranking[] rankings = in generateRankingMap() 300 new NotificationListenerService.Ranking[keys.size()]; in generateRankingMap() 305 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in generateRankingMap() [all …]
|
H A D | CarNotificationListenerTest.java | 34 import android.service.notification.NotificationListenerService; 59 private NotificationListenerService.RankingMap mRankingMap; 340 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in createMockRankingMap() 366 mRankingMap = new NotificationListenerService.RankingMap( in createMockRankingMap() 367 new NotificationListenerService.Ranking[]{ranking}); in createMockRankingMap()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
H A D | TypeFilterPreferenceController.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; 29 import android.service.notification.NotificationListenerService; 130 NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES)) { in updateState() 132 NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES).toString(); in updateState()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationListenersTest.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; 41 import android.service.notification.NotificationListenerService; 200 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, "1|2"); in testEnsureFilters_newServiceWithMetadata() 215 si.metaData.putString(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_namesNotNumbers() 231 si.metaData.putInt(NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES, 2); in testEnsureFilters_newServiceWithMetadata_onlyOneListed() 261 si.metaData.putString(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in testEnsureFilters_newServiceWithMetadata_disabledTypes_mixedText() 278 si.metaData.putInt(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, 1); in testEnsureFilters_newServiceWithMetadata_metaDataDisagrees() [all …]
|
H A 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… 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() 459 public static class TestListenerService extends NotificationListenerService {
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A 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_CANCEL; 22 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL; 24 import static android.service.notification.NotificationListenerService.REASON_CLICK; 25 import static android.service.notification.NotificationListenerService.REASON_ERROR; 34 import static android.service.notification.NotificationListenerService.REASON_SNOOZED; 35 import static android.service.notification.NotificationListenerService.REASON_TIMEOUT; 54 import android.service.notification.NotificationListenerService; 55 import android.service.notification.NotificationListenerService.Ranking; [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/ |
H A D | TvNotificationHandler.java | 22 import android.service.notification.NotificationListenerService; 65 NotificationListenerService.RankingMap rankingMap) { in onNotificationPosted() 80 NotificationListenerService.RankingMap rankingMap) { in onNotificationRemoved() 94 NotificationListenerService.RankingMap rankingMap, int reason) { in onNotificationRemoved() 99 public void onNotificationRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onNotificationRankingUpdate()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationRankingUpdate.java | 26 private final NotificationListenerService.RankingMap mRankingMap; 28 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate() 29 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate() 36 public NotificationListenerService.RankingMap getRankingMap() { in getRankingMap()
|
H A 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;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | ForegroundServiceSectionController.kt | 20 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL 21 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL 22 import android.service.notification.NotificationListenerService.REASON_CANCEL 23 import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL 24 import android.service.notification.NotificationListenerService.REASON_CLICK 25 import android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELED
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | ShadeEventCoordinator.kt | 19 import android.service.notification.NotificationListenerService 51 reason == NotificationListenerService.REASON_CLICK || 52 reason == NotificationListenerService.REASON_CANCEL_ALL || 53 reason == NotificationListenerService.REASON_CANCEL
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/ |
H A D | LegacyNotificationRanker.kt | 19 import android.service.notification.NotificationListenerService 23 val rankingMap: NotificationListenerService.RankingMap? 26 newRankingMap: NotificationListenerService.RankingMap?,
|
H A D | LegacyNotificationRankerStub.java | 19 import android.service.notification.NotificationListenerService.Ranking; 20 import android.service.notification.NotificationListenerService.RankingMap;
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 482 NotificationListenerService listenerService = in testNotificationOpened() 496 NotificationListenerService listenerService = in testUncacheShortcutsWhenNotificationsDismissed() 537 NotificationListenerService listenerService = in testConversationIsNotRecentIfCustomized() 710 NotificationListenerService listenerService = in testOnNotificationChannelModified() 737 NotificationListenerService listenerService = in testGetConversation_demoted() 793 NotificationListenerService listenerService = in testIsConversation_demoted() 811 NotificationListenerService listenerService = in testNotificationChannelCreated() 836 NotificationListenerService listenerService = in testNotificationChannelModified() 859 NotificationListenerService listenerService = in testNotificationChannelDeleted() 1599 NotificationListenerService.Ranking ranking = (NotificationListenerService.Ranking) in sendGenericNotification() [all …]
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/ |
H A D | TypeFilterPreferenceControllerTest.java | 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; 39 import android.service.notification.NotificationListenerService; 154 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_enabled_metaData_disableFilter_notThisField() 167 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_enabled_metaData_disableFilter_thisField_stateIsChecked() 191 mSi.metaData.putCharSequence(NotificationListenerService.META_DATA_DISABLED_FILTER_TYPES, in updateState_disabled_metaData_disableFilter_thisField_stateIsNotChecked()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/service/notification/ |
H A 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;
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecordLogger.java | 19 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; 83 @NotificationListenerService.NotificationCancelReason int reason, in logNotificationCancelled() 194 @NotificationListenerService.NotificationCancelReason int reason, in fromCancelReason()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | OnUserInteractionCallback.java | 19 import android.service.notification.NotificationListenerService; 38 @NotificationListenerService.NotificationCancelReason int cancellationReason, in onDismiss()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
H A D | ServiceLiveData.kt | 28 import android.service.notification.NotificationListenerService 79 if (intentAction == NotificationListenerService.SERVICE_INTERFACE) { 132 if (intentAction == NotificationListenerService.SERVICE_INTERFACE && 200 NotificationListenerService.SERVICE_INTERFACE -> {
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/ |
H A D | VisibilityPreferenceController.java | 27 import android.service.notification.NotificationListenerService; 113 == NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE) { in updateState() 127 sensitive = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in onPreferenceChange() 149 int globalVis = NotificationListenerService.Ranking.VISIBILITY_NO_OVERRIDE; in getGlobalVisibility()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryListener.java | 19 import android.service.notification.NotificationListenerService; 20 import android.service.notification.NotificationListenerService.RankingMap;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
H A D | NotifCollectionListener.java | 20 import android.service.notification.NotificationListenerService; 116 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
|