Home
last modified time | relevance | path

Searched refs:newNotification (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java157 StatusBarNotification newNotification = newChildNotifications.get(i); in areContentsTheSame() local
158 if (!sameNotificationContent(oldNotification, newNotification)) { in areContentsTheSame()
191 Notification newNotification = newItem.getNotification(); in sameNotificationContent() local
193 if (oldNotification.flags != newNotification.flags in sameNotificationContent()
194 || oldNotification.category != newNotification.category in sameNotificationContent()
195 || oldNotification.color != newNotification.color in sameNotificationContent()
196 || !areBundlesEqual(oldNotification.extras, newNotification.extras) in sameNotificationContent()
197 || !Objects.equals(oldNotification.contentIntent, newNotification.contentIntent) in sameNotificationContent()
198 || !Objects.equals(oldNotification.deleteIntent, newNotification.deleteIntent) in sameNotificationContent()
200 oldNotification.fullScreenIntent, newNotification.fullScreenIntent) in sameNotificationContent()
[all …]
DPreprocessingManager.java411 private List<NotificationGroup> additionalGroup(StatusBarNotification newNotification) { in additionalGroup() argument
412 Notification notification = newNotification.getNotification(); in additionalGroup()
417 if (hasSameGroupKey(mOldNotifications.get(key), newNotification)) { in additionalGroup()
423 newGroup.setGroupSummaryNotification(newNotification); in additionalGroup()
431 if (TextUtils.equals(oldGroup.getGroupKey(), newNotification.getGroupKey())) { in additionalGroup()
434 mOldProcessedNotifications.add(i, new NotificationGroup(newNotification)); in additionalGroup()
438 mOldProcessedNotifications.add(new NotificationGroup(newNotification)); in additionalGroup()
443 mOldProcessedNotifications.add(new NotificationGroup(newNotification)); in additionalGroup()
DCarHeadsUpNotificationManager.java219 private boolean alertAgain(Notification newNotification) { in alertAgain() argument
220 return (newNotification.flags & Notification.FLAG_ONLY_ALERT_ONCE) == 0; in alertAgain()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarNotificationDiffTest.java273 Notification.Builder newNotification = new Notification.Builder(mContext, in areBundleEqual_sameSize_shouldReturnTrue() local
282 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue()
317 Notification.Builder newNotification = new Notification.Builder(mContext, in areBundleEqual_diffSize_shouldReturnFalse() local
326 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_diffSize_shouldReturnFalse()
360 Notification.Builder newNotification = new Notification.Builder(mContext, in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue() local
369 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue()
403 Notification.Builder newNotification = new Notification.Builder(mContext, in areBundleEqual_sameKeySetWithDiffValue_shouldReturnFalse() local
412 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameKeySetWithDiffValue_shouldReturnFalse()
446 Notification.Builder newNotification = new Notification.Builder(mContext, in areBundleEqual_diffKeySet_shouldReturnFalse() local
455 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_diffKeySet_shouldReturnFalse()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DBaseNotificationDelegate.java184 boolean newNotification = !mNotificationBuilders.containsKey(conversationKey); in postNotification()
186 NotificationCompat.Builder builder = newNotification ? new NotificationCompat.Builder( in postNotification()
240 if (newNotification) { in postNotification()