Home
last modified time | relevance | path

Searched refs:notifications (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java114 public void init(Map<String, StatusBarNotification> notifications, RankingMap rankingMap) { in init() argument
115 mOldNotifications = notifications; in init()
118 process(/* showLessImportantNotifications = */ false, notifications, rankingMap); in init()
132 Map<String, StatusBarNotification> notifications, in process() argument
138 new ArrayList<>(notifications.values()), in process()
208 List<StatusBarNotification> notifications, in filter() argument
212 notifications.removeIf(statusBarNotification in filter()
217 notifications.removeIf(statusBarNotification in filter()
220 return notifications; in filter()
257 List<StatusBarNotification> notifications) { in optimizeForDriving() argument
[all …]
DCarNotificationView.java47 RecyclerView listView = findViewById(R.id.notifications); in onFinishInflate()
85 public void setNotifications(List<NotificationGroup> notifications) { in setNotifications() argument
86 mAdapter.setNotifications(notifications, /* setRecyclerViewListHeaderAndFooter= */ true); in setNotifications()
DCarNotificationViewAdapter.java477 public void setNotifications(List<NotificationGroup> notifications, in setNotifications() argument
480 List<NotificationGroup> notificationGroupList = new ArrayList<>(notifications); in setNotifications()
/packages/apps/Dialer/java/com/android/dialer/notification/
DDialerNotificationManager.java72 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancel() local
74 String groupKey = findGroupKey(notifications, tag, id); in cancel()
77 getGroupSummaryAndCount(notifications, groupKey); in cancel()
93 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in cancelAll() local
94 for (StatusBarNotification notification : notifications) { in cancelAll()
108 @NonNull StatusBarNotification[] notifications, @NonNull String tag, int id) { in findGroupKey()
109 for (StatusBarNotification notification : notifications) { in findGroupKey()
119 @NonNull StatusBarNotification[] notifications, @NonNull String groupKey) { in getGroupSummaryAndCount()
122 for (StatusBarNotification notification : notifications) { in getGroupSummaryAndCount()
DNotificationThrottler.java99 List<StatusBarNotification> notifications = getSortedMatchingNotifications(context, groupKey); in throttle() local
101 notificationManager.cancel(notifications.get(i).getTag(), notifications.get(i).getId()); in throttle()
102 throttledNotificationSet.add(notifications.get(i)); in throttle()
110 List<StatusBarNotification> notifications = new ArrayList<>(); in getSortedMatchingNotifications() local
114 notifications.add(notification); in getSortedMatchingNotifications()
118 notifications, in getSortedMatchingNotifications()
125 return notifications; in getSortedMatchingNotifications()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java333 StatusBarNotification[] notifications = NotificationListener.this in getNotificationsForKeys() local
336 return notifications == null in getNotificationsForKeys()
337 ? Collections.<StatusBarNotification>emptyList() : Arrays.asList(notifications); in getNotificationsForKeys()
347 StatusBarNotification[] notifications) { in filterNotifications() argument
348 if (notifications == null) return null; in filterNotifications()
350 for (int i = 0; i < notifications.length; i++) { in filterNotifications()
351 if (shouldBeFilteredOut(notifications[i])) { in filterNotifications()
356 notifications.length - removedNotifications.size()); in filterNotifications()
357 for (int i = 0; i < notifications.length; i++) { in filterNotifications()
359 filteredNotifications.add(notifications[i]); in filterNotifications()
DNotificationFooterLayout.java209 public void trimNotifications(List<String> notifications) { in trimNotifications() argument
215 if (!notifications.contains(overflowIterator.next().notificationKey)) { in trimNotifications()
222 if (!notifications.contains(childInfo.notificationKey)) { in trimNotifications()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java78 private Map<Call, NotificationInfo> notifications = new ArrayMap<>(); field in ExternalCallNotifier
95 Assert.checkArgument(!notifications.containsKey(call)); in onExternalCallAdded()
97 notifications.put(call, info); in onExternalCallAdded()
116 Assert.checkArgument(notifications.containsKey(call)); in onExternalCallUpdated()
117 postNotification(notifications.get(call)); in onExternalCallUpdated()
133 for (NotificationInfo info : notifications.values()) { in pullExternalCall()
170 if (notifications.containsKey(info.getCall())) { in showNotifcation()
180 if (notifications.containsKey(info.getCall())) { in showNotifcation()
189 Assert.checkArgument(notifications.containsKey(call)); in dismissNotification()
193 context, NOTIFICATION_TAG, notifications.get(call).getNotificationId()); in dismissNotification()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java70 StatusBarNotification[] notifications = mNotificationManager.getActiveNotifications(); in testShowResumeNotification() local
71 assertThat(notifications.length).isEqualTo(1); in testShowResumeNotification()
72 StatusBarNotification notification = notifications[0]; in testShowResumeNotification()
87 StatusBarNotification[] notifications = mNotificationManager.getActiveNotifications(); in testShowPrivacyReminderNotification() local
88 assertThat(notifications.length).isEqualTo(1); in testShowPrivacyReminderNotification()
89 StatusBarNotification notification = notifications[0]; in testShowPrivacyReminderNotification()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list46 Apps & notifications;apps_and_notification_screen
47 Apps & notifications;top_level_apps_and_notifs
189 Don't pop notifications on screen;zen_effect_peek
191 Don't wake for notifications;zen_effect_ambient
350 New notifications;ambient_display_notification
354 No sound from notifications;zen_mute_notifications
355 No visuals or sound from notifications;zen_hide_notifications
505 Swipe fingerprint for notifications;gesture_swipe_down_fingerprint
506 Swipe fingerprint for notifications;gesture_swipe_down_fingerprint_input_summary
507 Swipe fingerprint for notifications;gesture_swipe_down_fingerprint_notifications
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java184 List<NotificationKeyData> notifications = getNotificationsForItem( in getDotInfoForItem() local
186 if (notifications.isEmpty()) { in getDotInfoForItem()
248 @NonNull ItemInfo info, @NonNull List<NotificationKeyData> notifications) { in getNotificationsForItem() argument
251 return notifications; in getNotificationsForItem()
254 return notifications.stream().filter((NotificationKeyData notification) -> { in getNotificationsForItem()
DPopupPopulator.java133 List<StatusBarNotification> notifications = launcher.getPopupDataProvider() in createUpdateRunnable()
135 List<NotificationInfo> infos = new ArrayList<>(notifications.size()); in createUpdateRunnable()
136 for (int i = 0; i < notifications.size(); i++) { in createUpdateRunnable()
137 StatusBarNotification notification = notifications.get(i); in createUpdateRunnable()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto157 // Spam notifications shown despite throttling
162 // Spam notifications not shown due to throttling
165 // Non spam notifications shown despite throttling
170 // Non spam notifications not shown due to throttling
228 // Incoming call was rejected from the notifications
530 // notifications is very high and the system may suppress future
531 // notifications.
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java171 final StatusBarNotification[] notifications = nm.getActiveNotifications(); in getFirstActiveNotification() local
173 for (StatusBarNotification statusBarNotification : notifications) { in getFirstActiveNotification()
191 final StatusBarNotification[] notifications = nm.getActiveNotifications(); in getActiveGroupSummaryNotification() local
192 for (StatusBarNotification statusBarNotification : notifications) { in getActiveGroupSummaryNotification()
DAlarmNotifications.kt255 val notifications: Array<StatusBarNotification> = nm.getActiveNotifications() in getFirstActiveNotification() constant
257 for (statusBarNotification in notifications) { in getFirstActiveNotification()
274 val notifications: Array<StatusBarNotification> = nm.getActiveNotifications() in getActiveGroupSummaryNotification() constant
275 for (statusBarNotification in notifications) { in getActiveGroupSummaryNotification()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBots.java50 public final NotificationsBot notifications; field in Bots
63 notifications = new NotificationsBot(device, context, TIMEOUT); in Bots()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileDeleteUiTest.java96 bots.notifications.setNotificationAccess(getActivity(), true); in setUp()
119 bots.notifications.setNotificationAccess(getActivity(), false); in tearDown()
DCancelFromNotificationUiTest.java93 bots.notifications.setNotificationAccess(getActivity(), true); in setUp()
118 bots.notifications.setNotificationAccess(getActivity(), false); in tearDown()
DFileCopyUiTest.java143 bots.notifications.setNotificationAccess(getActivity(), true); in setUp()
185 bots.notifications.setNotificationAccess(getActivity(), false); in tearDown()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java653 StatusBarNotification[] notifications = notificationManager.getActiveNotifications(); in getCurrentlyShownNotificationLocked() local
655 int numNotifications = notifications.length; in getCurrentlyShownNotificationLocked()
657 StatusBarNotification notification = notifications[notificationNum]; in getCurrentlyShownNotificationLocked()
/packages/services/Car/tests/BugReportApp/
DREADME.md23 notifications that can be used to track when new bug reports are uploaded.
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java2172 final Set<Uri> notifications = getBatchNotificationsSet(); in applyBatch() local
2174 for (final Uri uri : notifications) { in applyBatch()
2192 final Set<Uri> notifications = getBatchNotificationsSet(); in bulkInsert() local
2194 for (final Uri notificationUri : notifications) { in bulkInsert()
/packages/apps/Car/libs/car-messenger-common/proto/
Dnotification_msg.proto156 // Request to clear all internal data and remove notifications for
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1997 final Set<Uri> notifications = getBatchNotificationsSet(); in applyBatch() local
1999 for (final Uri uri : notifications) { in applyBatch()
2017 final Set<Uri> notifications = getBatchNotificationsSet(); in bulkInsert() local
2019 for (final Uri notificationUri : notifications) { in bulkInsert()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12