Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java3613 ArgumentCaptor<List> captorHide = ArgumentCaptor.forClass(List.class); in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast() local
3614 verify(mListeners, times(1)).notifyHiddenLocked(captorHide.capture()); in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast()
3615 assertEquals(2, captorHide.getValue().size()); in testHideAndUnhideNotificationsOnSuspendedPackageBroadcast()
3654 ArgumentCaptor<List<NotificationRecord>> captorHide = ArgumentCaptor.forClass(List.class); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast() local
3655 verify(mListeners, times(1)).notifyHiddenLocked(captorHide.capture()); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast()
3656 assertEquals(1, captorHide.getValue().size()); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast()
3657 assertEquals("a", captorHide.getValue().get(0).sbn.getPackageName()); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast()
3681 ArgumentCaptor<List<NotificationRecord>> captorHide = ArgumentCaptor.forClass(List.class); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast_multiPkg() local
3684 verify(mListeners, times(1)).notifyHiddenLocked(captorHide.capture()); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast_multiPkg()
3685 assertEquals(2, captorHide.getValue().size()); in testHideAndUnhideNotificationsOnDistractingPackageBroadcast_multiPkg()
[all …]