Home
last modified time | relevance | path

Searched refs:CarHeadsUpNotificationManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationListener.java49 CarHeadsUpNotificationManager.OnHeadsUpNotificationStateChange {
61 private CarHeadsUpNotificationManager mHeadsUpManager;
86 CarHeadsUpNotificationManager carHeadsUpNotificationManager) { in registerAsSystemService()
112 mHeadsUpManager = new CarHeadsUpNotificationManager(/* context= */ this, in onCreate()
297 || !CarHeadsUpNotificationManager.isHeadsUpDismissible(alertEntry)) { in notifyNotificationPosted()
319 CarHeadsUpNotificationManager.HeadsUpState headsUpState) { in onStateChange()
320 if (headsUpState == CarHeadsUpNotificationManager.HeadsUpState.DISMISSED in onStateChange()
321 || headsUpState == CarHeadsUpNotificationManager.HeadsUpState.REMOVED_FROM_QUEUE) { in onStateChange()
DCarUxRestrictionManagerWrapper.java38 private CarHeadsUpNotificationManager mCarHeadsUpNotificationManager;
76 CarHeadsUpNotificationManager carHeadsUpNotificationManager) { in setCarHeadsUpNotificationManager()
DCarHeadsUpNotificationQueue.java53 CarHeadsUpNotificationManager.OnHeadsUpNotificationStateChange {
196 .filter(CarHeadsUpNotificationManager::isHeadsUpDismissible) in releaseQueue()
302 CarHeadsUpNotificationManager.HeadsUpState headsUpState) { in onStateChange()
303 if (headsUpState == CarHeadsUpNotificationManager.HeadsUpState.SHOWN in onStateChange()
304 || headsUpState == CarHeadsUpNotificationManager.HeadsUpState.REMOVED_FROM_QUEUE) { in onStateChange()
DCarHeadsUpNotificationManager.java66 public class CarHeadsUpNotificationManager class
99 private static final String TAG = CarHeadsUpNotificationManager.class.getSimpleName();
145 public CarHeadsUpNotificationManager(Context context, in CarHeadsUpNotificationManager() method in CarHeadsUpNotificationManager
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/
DCarNotificationModule.java21 import com.android.car.notification.CarHeadsUpNotificationManager;
62 CarHeadsUpNotificationManager carHeadsUpNotificationManager) { in provideCarNotificationListener()
71 static CarHeadsUpNotificationManager provideCarHeadsUpNotificationManager(Context context, in provideCarHeadsUpNotificationManager()
74 return new CarHeadsUpNotificationManager(context, notificationClickHandlerFactory, in provideCarHeadsUpNotificationManager()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationListenerTest.java64 private CarHeadsUpNotificationManager mCarHeadsUpNotificationManager;
284 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_hunDismissed_notifiesHandler()
295 CarHeadsUpNotificationManager.HeadsUpState.REMOVED_FROM_QUEUE); in onStateChange_hunRemovedFromQueue_notifiesHandler()
306 CarHeadsUpNotificationManager.HeadsUpState.REMOVED_BY_SENDER); in onStateChange_hunRemovedBySender_doesNotNotifyHandler()
317 CarHeadsUpNotificationManager.HeadsUpState.SHOWN); in onStateChange_hunShown_doesNotNotifyHandler()
328 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_overrideGroupKeySet()
DCarHeadsUpNotificationQueueTest.java718 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_internalCategory_hunRemovalFlagTrue_setHunRemovalFlagToFalse()
731 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_internalCategory_hunRemovalFlagTrue_setHunExpiredToFalse()
744 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_internalCategory_hunRemovalFlagTrue_cancelHunForCurrentUser()
758 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_notInternalCategory_hunRemovalFlagTrue_notCancelHunForCurrentUser()
772 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_notInternalCategory_hunRemovalFlagTrue_doesNotsetHunRemovalFlag()
791 CarHeadsUpNotificationManager.HeadsUpState.DISMISSED); in onStateChange_dismissed_callbackScheduled()
811 CarHeadsUpNotificationManager.HeadsUpState.REMOVED_BY_SENDER); in onStateChange_removedBySender_callbackScheduled()
831 CarHeadsUpNotificationManager.HeadsUpState.SHOWN); in onStateChange_shown_doesNot_showNextNotificationInQueue()
851 CarHeadsUpNotificationManager.HeadsUpState.REMOVED_FROM_QUEUE); in onStateChange_removedFromQueue_does_not_showNextNotificationInQueue()
DCarHeadsUpNotificationManagerTest.java117 private CarHeadsUpNotificationManager mManager;
126 private List<CarHeadsUpNotificationManager.HeadsUpState> mHeadsUpStates;
448 boolean result = CarHeadsUpNotificationManager.isHeadsUpDismissible(alertEntry); in isHeadsUpDismissible_ongoingCallNotificationWithFullScreenIntent_returnsFalse()
467 CarHeadsUpNotificationManager.HeadsUpState.REMOVED_FROM_QUEUE); in notification_removedFromQueue_notifyListeners()
492 mManager = new CarHeadsUpNotificationManager(mContext, mClickHandlerFactory, in createCarHeadsUpNotificationManager()