Home
last modified time | relevance | path

Searched refs:headsUpEntry (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java522 private void resetViewTreeListenersEntry(HeadsUpEntry headsUpEntry) { in resetViewTreeListenersEntry() argument
524 mRegisteredViewTreeListeners.get(headsUpEntry); in resetViewTreeListenersEntry()
529 ViewTreeObserver observer = headsUpEntry.getNotificationView().getViewTreeObserver(); in resetViewTreeListenersEntry()
532 mRegisteredViewTreeListeners.remove(headsUpEntry); in resetViewTreeListenersEntry()
840 void addActiveHeadsUpNotification(HeadsUpEntry headsUpEntry) { in addActiveHeadsUpNotification() argument
841 mActiveHeadsUpNotifications.put(headsUpEntry.getKey(), headsUpEntry); in addActiveHeadsUpNotification() local
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java519 HeadsUpEntry headsUpEntry = mock(HeadsUpEntry.class); in createMockHeadsUpEntry() local
520 when(headsUpEntry.getKey()).thenReturn(key); in createMockHeadsUpEntry()
521 when(headsUpEntry.getHandler()).thenReturn(mHandlerMock); in createMockHeadsUpEntry()
523 when(headsUpEntry.getNotificationView()).thenReturn(headsUpNotificationView); in createMockHeadsUpEntry()
524 return headsUpEntry; in createMockHeadsUpEntry()