Home
last modified time | relevance | path

Searched refs:getNotification (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java179 (statusBarNotification.getNotification().flags in isLessImportantForegroundNotification()
198 Notification notification = statusBarNotification.getNotification(); in isMediaOrNavigationNotification()
226 if (Notification.CATEGORY_MESSAGE.equals(notification.getNotification().category)) { in optimizeForDriving()
230 Bundle extras = notification.getNotification().extras; in optimizeForDriving()
278 Notification notification = statusBarNotification.getNotification(); in group()
341 if (notification.getNotification().showsTime()) { in group()
344 notification.getNotification().when); in group()
349 groupSummaryNotification.getNotification().extras.putBoolean( in group()
351 groupSummaryNotification.getNotification().when = greatestTimestamp; in group()
365 Notification notification = newNotification.getNotification(); in additionalGroup()
[all …]
DCarHeadsUpNotificationManager.java183 statusBarNotification) || alertAgain(statusBarNotification.getNotification())) { in maybeShowHeadsUp()
261 statusBarNotification.getNotification()); in addNewHeadsUpEntry()
267 statusBarNotification.getNotification()); in addNewHeadsUpEntry()
542 && statusBarNotification.getNotification().category.equals( in shouldDismissOnSwipe()
567 return sbn.getNotification().fullScreenIntent != null; in hasFullScreenIntent()
652 String category = statusBarNotification.getNotification().category; in getNotificationViewType()
671 Bundle extras = statusBarNotification.getNotification().extras; in getNotificationViewType()
710 Notification notification = statusBarNotification.getNotification(); in shouldShowHeadsUp()
DCarNotificationDiff.java128 && oldItem.getNotification().flags == newItem.getNotification().flags; in sameNotificationKeyAndFlags()
190 Notification oldNotification = oldItem.getNotification(); in sameNotificationContent()
191 Notification newNotification = newItem.getNotification(); in sameNotificationContent()
DNotificationClickHandlerFactory.java85 Notification notification = statusBarNotification.getNotification(); in getClickHandler()
145 Notification notification = statusBarNotification.getNotification(); in getActionClickHandler()
270 int flags = sbn.getNotification().flags;
DNotificationGroup.java128 (notification.getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) in isDismissible()
174 Bundle extras = notification.getNotification().extras; in generateChildTitles()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java139 cloneNotificationLight(sbn.getNotification()), in cloneStatusBarNotificationLight()
164 final Notification n = getNotification(); in calculateAudioAttributes()
190 final Notification n = getNotification(); in calculateInitialImportance()
231 return Objects.equals(getNotification().category, category); in isCategory()
239 Notification publicVersion = getNotification().publicVersion; in isPublicVersionCategory()
252 ArrayList<Person> people = getNotification().extras.getParcelableArrayList( in hasPerson()
258 Class<? extends Notification.Style> style = getNotification().getNotificationStyle(); in hasStyle()
263 return (getNotification().flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in isOngoing()
288 Notification.Action[] actions = getNotification().actions; in hasInlineReply()
334 public Notification getNotification() { in getNotification() method in NotificationEntry
[all …]
DSmartActionsHelper.java212 Notification notification = notificationEntry.getNotification(); in suggestionsMightBeUsedInNotification()
258 List<ConversationActions.Message> messages = extractMessages(entry.getNotification()); in suggestConversationActions()
400 Notification notification = entry.getNotification(); in isEligibleForActionAdjustment()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java74 assertThat(notification.getNotification().getChannel()).isEqualTo(CHANNEL_ID); in testShowResumeNotification()
75 assertThat(notification.getNotification().extras.getString(Notification.EXTRA_TITLE)) in testShowResumeNotification()
91 assertThat(notification.getNotification().getChannel()).isEqualTo(CHANNEL_ID); in testShowPrivacyReminderNotification()
92 assertThat(notification.getNotification().extras.getString(Notification.EXTRA_TITLE)) in testShowPrivacyReminderNotification()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DNotificationPayloadHandler.java66 public Notification getNotification(Bundle args) { in getNotification() method in NotificationPayloadHandler
69 return sbn == null ? null : sbn.getNotification(); in getNotification()
81 Notification notification = getNotification(args); in getMessages()
99 Notification notification = getNotification(args); in getAction()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationEntryTest.java117 sbn.getNotification().extras.putParcelableArrayList(Notification.EXTRA_PEOPLE_LIST, people); in testHasPerson()
261 assertNull(entry.getNotification().getSmallIcon()); in testShrinkNotification()
262 assertNull(entry.getNotification().getLargeIcon()); in testShrinkNotification()
263 assertNull(entry.getNotification().largeIcon); in testShrinkNotification()
264 assertNull(entry.getNotification().extras.getParcelable(Notification.EXTRA_LARGE_ICON)); in testShrinkNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java181 Notification notification = getStatusBarNotification().getNotification(); in initializeColors()
202 Notification notification = getStatusBarNotification().getNotification(); in canChangeCardBackgroundColor()
218 int color = getStatusBarNotification().getNotification().color; in getAccentColor()
281 return (mStatusBarNotification.getNotification().flags in isDismissible()
DNavigationNotificationViewHolder.java62 Notification notification = statusBarNotification.getNotification(); in bindBody()
DBasicNotificationViewHolder.java62 Notification notification = statusBarNotification.getNotification(); in bindBody()
DInboxNotificationViewHolder.java62 Notification notification = statusBarNotification.getNotification(); in bindBody()
/packages/apps/Dialer/java/com/android/dialer/notification/
DDialerNotificationManager.java111 return notification.getNotification().getGroup(); in findGroupKey()
123 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) { in getGroupSummaryAndCount()
124 if ((notification.getNotification().flags & Notification.FLAG_GROUP_SUMMARY) != 0) { in getGroupSummaryAndCount()
DNotificationThrottler.java131 if ((notification.getNotification().flags & Notification.FLAG_GROUP_SUMMARY) != 0) { in isNotificationInGroup()
135 return TextUtils.equals(groupKey, notification.getNotification().getGroup()); in isNotificationInGroup()
DNotificationManagerUtils.java34 if (TextUtils.equals(groupKey, notification.getNotification().getGroup())) { in cancelAllInGroup()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java184 .extractMessagingStyleFromNotification(sbn.getNotification()) != null; in hasMessagingStyle()
193 List<Integer> semanticActionList = getAllActions(sbn.getNotification()) in hasRequiredAssistantCallbacks()
234 return Arrays.stream(sbn.getNotification().actions) in replyCallbackHasRemoteInput()
243 final Notification notification = sbn.getNotification(); in assistantCallbacksShowNoUi()
DFallbackAssistant.java109 Parcelable[] messagesBundle = sbn.getNotification().extras in handleReadAction()
188 sbn.getNotification()); in sendMarkAsReadIntent()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java64 Notification notification = statusBarNotification.getNotification(); in NotificationInfo()
76 mIconColor = statusBarNotification.getNotification().color; in NotificationInfo()
DNotificationListener.java321 boolean isGroupSummary = (sbn.getNotification().flags in updateGroupKeyIfNecessary()
366 Notification notification = sbn.getNotification(); in shouldBeFilteredOut()
DNotificationKeyData.java45 Notification notif = sbn.getNotification(); in fromNotification()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java119 mCancelled = doCancel(sbn.getNotification()); in onNotificationPosted()
141 boolean isStartProgress = isStartProgress(sbn.getNotification()); in onNotificationRemoved()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java106 logd("onNotificationPosted: %s, with update for %d", sbn.getNotification(),
286 final Notification n = sbn.getNotification(); in loadNotifications()
322 final Notification n = sbn.getNotification(); in generateExtraText()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java106 logd("onNotificationPosted: %s, with update for %d", sbn.getNotification(),
286 final Notification n = sbn.getNotification(); in loadNotifications()
322 final Notification n = sbn.getNotification(); in generateExtraText()

12