Searched refs:mActiveNotifications (Results 1 – 2 of 2) sorted by relevance
109 private Map<String, AlertEntry> mActiveNotifications; field in CarHeadsUpNotificationManagerTest210 mActiveNotifications = new HashMap<>(); in setup()228 mActiveNotifications); in maybeShowHeadsUp_isNotImportant_returnsNull()247 mActiveNotifications); in maybeShowHeadsUp_isImportanceHigh_returnsNotNull()262 mActiveNotifications); in getActiveHeadsUpNotifications_shouldReturnOne()278 mManager.maybeShowHeadsUp(mAlertEntryCallHeadsUp, mRankingMapMock, mActiveNotifications); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()280 mActiveNotifications); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo()295 mManager.maybeShowHeadsUp(mAlertEntryCallHeadsUp, mRankingMapMock, mActiveNotifications); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()296 mManager.maybeShowHeadsUp(mAlertEntryCallHeadsUp, mRankingMapMock, mActiveNotifications); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()310 mActiveNotifications); in maybeShowHeadsUp_categoryCarInformation_returnsNull()[all …]
66 private Map<String, AlertEntry> mActiveNotifications = new HashMap<>(); field in CarNotificationListener139 AlertEntry alertEntry = mActiveNotifications.get(sbn.getKey()); in onNotificationRemoved()142 mActiveNotifications.remove(alertEntry.getKey()); in onNotificationRemoved()155 for (AlertEntry alertEntry : mActiveNotifications.values()) { in onNotificationRankingUpdate()186 return mActiveNotifications.entrySet().stream() in getNotifications()199 mActiveNotifications = Stream.of(getActiveNotifications()).collect( in onListenerConnected()220 mActiveNotifications); in notifyNotificationPosted()250 mActiveNotifications.put(alertEntry.getKey(), alertEntry); in postNewNotification()