Home
last modified time | relevance | path

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

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationQueueTest.java115 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in setup()
257 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in addToQueue_shows_immediateShowHeadsUp()
302 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_expireNotifications_whenParked()
337 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_doesNot_expireNotifications_whenParked()
370 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_expireNotifications_whenDriving()
399 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_doesNot_expireNotifications_forInternalCategory()
424 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_setHunExpiredFlagToTrue_onHunExpired()
446 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_setHunExpiredFlagToFalse_onHunExpiredAndEmptyQueue()
467 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_setHunRemovalFlagToTrue_onHunExpiredAndEmptyQueue()
478 when(mCarHeadsUpNotificationQueueCallback.getActiveHeadsUpNotifications()).thenReturn( in triggerCallback_sendsNotificationToCurrentUser_onHunExpiredAndEmptyQueue()
[all …]
DCarHeadsUpNotificationManagerTest.java390 mManager.getActiveHeadsUpNotifications(); in getActiveHeadsUpNotifications_shouldReturnOne()
412 mManager.getActiveHeadsUpNotifications(); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()
432 mManager.getActiveHeadsUpNotifications(); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationQueue.java167 mQueueCallback.getActiveHeadsUpNotifications().forEach(mQueueCallback::dismissHeadsUp); in addToQueue()
195 mQueueCallback.getActiveHeadsUpNotifications().stream() in releaseQueue()
275 return mQueueCallback.getActiveHeadsUpNotifications().isEmpty() in canShowHeadsUp()
371 List<AlertEntry> getActiveHeadsUpNotifications(); in getActiveHeadsUpNotifications() method
DCarHeadsUpNotificationManager.java200 public List<AlertEntry> getActiveHeadsUpNotifications() { in CarHeadsUpNotificationManager()
584 protected Map<String, HeadsUpEntry> getActiveHeadsUpNotifications() { in getActiveHeadsUpNotifications() method in CarHeadsUpNotificationManager