Home
last modified time | relevance | path

Searched refs:currentNotification (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DCarHeadsUpNotificationManager.java334 if (currentNotification.mIsNewHeadsUp) { in showHeadsUp()
336 setAutoDismissViews(currentNotification, alertEntry); in showHeadsUp()
337 } else if (currentNotification.mIsAlertAgain) { in showHeadsUp()
338 setAutoDismissViews(currentNotification, alertEntry); in showHeadsUp()
344 if (currentNotification.getNotificationView() == null) { in showHeadsUp()
345 currentNotification.setNotificationView(mInflater.inflate( in showHeadsUp()
350 currentNotification.setViewHolder( in showHeadsUp()
366 resetViewTreeListenersEntry(currentNotification); in showHeadsUp()
398 mRegisteredViewTreeListeners.put(currentNotification, in showHeadsUp()
401 if (currentNotification.mIsNewHeadsUp) { in showHeadsUp()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/dialer/notification/
H A DNotificationThrottler.java86 for (StatusBarNotification currentNotification : activeNotifications) { in throttle()
87 if (isNotificationInGroup(currentNotification, groupKey)) { in throttle()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DStatusBarNotifier.java123 private int currentNotification = NOTIFICATION_NONE; field in StatusBarNotifier
142 currentNotification = NOTIFICATION_NONE; in StatusBarNotifier()
222 if (currentNotification != NOTIFICATION_NONE) { in cancelNotification()
224 currentNotification = NOTIFICATION_NONE; in cancelNotification()
364 if (currentNotification != NOTIFICATION_INCOMING_CALL) { in buildAndSendNotification()
435 currentNotification = notificationType; in buildAndSendNotification()
527 currentNotification != notificationType); in checkForChangeAndSaveData()
530 if (currentNotification != notificationType) { in checkForChangeAndSaveData()
531 if (currentNotification == NOTIFICATION_NONE) { in checkForChangeAndSaveData()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DCarHeadsUpNotificationManagerTest.java456 private View getNotificationView(HeadsUpEntry currentNotification) { in getNotificationView() argument
457 return currentNotification == null ? null : currentNotification.getNotificationView(); in getNotificationView()