Searched refs:mNotifManager (Results 1 - 3 of 3) sorted by relevance

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadProviderFunctionalTest.java98 private final NotificationManager mNotifManager; field in class:AbstractDownloadProviderFunctionalTest.TestContext
104 mNotifManager = mock(NotificationManager.class);
125 return mNotifManager;
H A DPublicApiFunctionalTest.java70 private NotificationManager mNotifManager; field in class:PublicApiFunctionalTest
80 mNotifManager = (NotificationManager) getContext()
621 verify(mNotifManager, times(1)).cancelAll();
622 verify(mNotifManager, never()).notify(anyString(), anyInt(), isA(Notification.class));
633 verify(mNotifManager, times(1)).cancelAll();
634 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class));
645 verify(mNotifManager, times(1)).cancelAll();
646 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class));
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java63 private final NotificationManager mNotifManager; field in class:DownloadNotifier
90 mNotifManager = (NotificationManager) context.getSystemService(
95 mNotifManager.cancelAll();
291 mNotifManager.notify(tag, 0, notif);
299 mNotifManager.cancel(tag, 0);

Completed in 69 milliseconds