Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java65 private final NotificationManager mNotifManager; field in DownloadNotifier
92 mNotifManager = (NotificationManager) context.getSystemService( in DownloadNotifier()
99 final StatusBarNotification[] notifs = mNotifManager.getActiveNotifications(); in init()
361 mNotifManager.notify(tag, 0, notif); in updateWithLocked()
370 mNotifManager.cancel(tag, 0); in updateWithLocked()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java104 private final NotificationManager mNotifManager; field in AbstractDownloadProviderFunctionalTest.TestContext
111 mNotifManager = mock(NotificationManager.class); in TestContext()
130 return mNotifManager; in getSystemService()
DPublicApiFunctionalTest.java74 private NotificationManager mNotifManager; field in PublicApiFunctionalTest
85 mNotifManager = getContext().getSystemService(NotificationManager.class); in setUp()
572 verify(mNotifManager, times(1)).cancel("tag", 0); in testNotificationCancelDownloadClicked()
645 verify(mNotifManager, never()).notify(anyString(), anyInt(), isA(Notification.class)); in testNotificationNever()
657 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); in testNotificationVisible()
669 verify(mNotifManager, atLeastOnce()).notify(anyString(), anyInt(), isA(Notification.class)); in testNotificationVisibleComplete()