Home
last modified time | relevance | path

Searched refs:mCarHeadsUpNotificationQueue (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationQueueTest.java77 private CarHeadsUpNotificationQueue mCarHeadsUpNotificationQueue; field in CarHeadsUpNotificationQueueTest
135 mCarHeadsUpNotificationQueue = createCarHeadsUpNotificationQueue(); in addToQueue_prioritises_postTimeOfHeadsUp()
147 mCarHeadsUpNotificationQueue.addToQueue(alertEntry1, mRankingMap); in addToQueue_prioritises_postTimeOfHeadsUp()
148 mCarHeadsUpNotificationQueue.addToQueue(alertEntry2, mRankingMap); in addToQueue_prioritises_postTimeOfHeadsUp()
149 mCarHeadsUpNotificationQueue.addToQueue(alertEntry3, mRankingMap); in addToQueue_prioritises_postTimeOfHeadsUp()
150 mCarHeadsUpNotificationQueue.addToQueue(alertEntry4, mRankingMap); in addToQueue_prioritises_postTimeOfHeadsUp()
151 mCarHeadsUpNotificationQueue.addToQueue(alertEntry5, mRankingMap); in addToQueue_prioritises_postTimeOfHeadsUp()
153 PriorityQueue<String> result = mCarHeadsUpNotificationQueue.getPriorityQueue(); in addToQueue_prioritises_postTimeOfHeadsUp()
169 mCarHeadsUpNotificationQueue = createCarHeadsUpNotificationQueue(); in addToQueue_prioritises_categoriesOfHeadsUp()
181 mCarHeadsUpNotificationQueue.addToQueue(alertEntry1, mRankingMap); in addToQueue_prioritises_categoriesOfHeadsUp()
[all …]
DCarHeadsUpNotificationManagerTest.java110 CarHeadsUpNotificationQueue mCarHeadsUpNotificationQueue; field in CarHeadsUpNotificationManagerTest
246 verify(mCarHeadsUpNotificationQueue, never()).addToQueue(any(), any()); in maybeShowHeadsUp_isNotImportant_returnsFalseAndNotAddedToQueue()
258 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryNavigationHeadsUp, in maybeShowHeadsUp_isImportanceHigh_returnsTrueAndAddedToQueue()
271 verify(mCarHeadsUpNotificationQueue, never()).addToQueue(any(), any()); in maybeShowHeadsUp_categoryCarInformation_returnsFalseAndNotAddedToQueue()
283 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryMessageHeadsUp, mRankingMapMock); in maybeShowHeadsUp_categoryMessage_returnsTrueAndAddedToQueue()
295 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryCallHeadsUp, mRankingMapMock); in maybeShowHeadsUp_categoryCall_returnsTrueAndAddedToQueue()
307 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryNavigationHeadsUp, in maybeShowHeadsUp_categoryNavigation_returnsTrueAndAddedToQueue()
320 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryInboxHeadsUp, mRankingMapMock); in maybeShowHeadsUp_inboxHeadsUp_returnsTrueAndAddedToQueue()
332 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryCarInformationHeadsUp, in maybeShowHeadsUp_isSignedWithPlatformKey_returnsTrueAndAddedToQueue()
345 verify(mCarHeadsUpNotificationQueue).addToQueue(mAlertEntryCarInformationHeadsUp, in maybeShowHeadsUp_isSystemApp_returnsTrueAndAddedToQueue()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java142 private CarHeadsUpNotificationQueue mCarHeadsUpNotificationQueue; field in CarHeadsUpNotificationManager
204 mCarHeadsUpNotificationQueue = new CarHeadsUpNotificationQueue(context, in CarHeadsUpNotificationManager()
210 registerHeadsUpNotificationStateChangeListener(mCarHeadsUpNotificationQueue); in CarHeadsUpNotificationManager()
273 mCarHeadsUpNotificationQueue.addToQueue(alertEntry, rankingMap); in maybeShowHeadsUp()
284 if (mCarHeadsUpNotificationQueue.removeFromQueue(alertEntry)) { in maybeRemoveHeadsUp()
301 mCarHeadsUpNotificationQueue.releaseQueue(); in releaseQueue()
309 mCarHeadsUpNotificationQueue.clearCache(); in clearCache()
348 mCarHeadsUpNotificationQueue.unregisterListeners(); in unregisterListeners()
811 mCarHeadsUpNotificationQueue.setActiveUxRestriction( in onUxRestrictionsChanged()
836 mCarHeadsUpNotificationQueue = carHeadsUpNotificationQueue; in setCarHeadsUpNotificationQueue()