Home
last modified time | relevance | path

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

12

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java79 public void init(Map<String, StatusBarNotification> notifications, RankingMap rankingMap) { in init() argument
80 mOldNotifications = notifications; in init()
83 process(/* showLessImportantNotifications = */ false, notifications, rankingMap); in init()
97 Map<String, StatusBarNotification> notifications, in process() argument
103 new ArrayList<>(notifications.values()), in process()
161 List<StatusBarNotification> notifications, in filter() argument
165 notifications.removeIf(statusBarNotification in filter()
170 notifications.removeIf(statusBarNotification in filter()
173 return notifications; in filter()
210 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.java473 public void setNotifications(List<NotificationGroup> notifications, in setNotifications() argument
476 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/
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.proto158 // Spam notifications shown despite throttling
163 // Spam notifications not shown due to throttling
166 // Non spam notifications shown despite throttling
171 // Non spam notifications not shown due to throttling
229 // Incoming call was rejected from the notifications
531 // notifications is very high and the system may suppress future
532 // notifications.
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java198 final StatusBarNotification[] notifications = nm.getActiveNotifications(); in getFirstActiveNotification() local
200 for (StatusBarNotification statusBarNotification : notifications) { in getFirstActiveNotification()
218 final StatusBarNotification[] notifications = nm.getActiveNotifications(); in getActiveGroupSummaryNotification() local
219 for (StatusBarNotification statusBarNotification : 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.java94 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.java135 bots.notifications.setNotificationAccess(getActivity(), true); in setUp()
176 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/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java305 private static String createNotificationString(NotificationMap notifications) { in createNotificationString() argument
309 for (NotificationKey key : notifications.keySet()) { in createNotificationString()
310 Integer unread = notifications.getUnread(key); in createNotificationString()
311 Integer unseen = notifications.getUnseen(key); in createNotificationString()
322 notifications.remove(key); in createNotificationString()
/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/
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/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1960 final Set<Uri> notifications = getBatchNotificationsSet(); in applyBatch() local
1962 for (final Uri uri : notifications) { in applyBatch()
1980 final Set<Uri> notifications = getBatchNotificationsSet(); in bulkInsert() local
1982 for (final Uri notificationUri : notifications) { in bulkInsert()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2546 final Set<Uri> notifications = getBatchNotificationsSet(); in applyBatch() local
2548 for (final Uri uri : notifications) { in applyBatch()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz

12