Searched refs:getNotificationManager (Results 1 – 1 of 1) sorted by relevance
486 private NotificationManager getNotificationManager() { in getNotificationManager() method in ServiceTest497 getNotificationManager().notify(id, notification); in sendNotification()501 getNotificationManager().cancel(id); in cancelNotification()509 StatusBarNotification[] sbns = getNotificationManager().getActiveNotifications(); in assertNotification()542 StatusBarNotification[] sbns = getNotificationManager().getActiveNotifications(); in assertNoNotification()714 getNotificationManager().createNotificationChannel(new NotificationChannel( in setUp()737 getNotificationManager().deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in tearDown()1215 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferredExistingNotification()1247 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenImmediateNotify()1275 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenDeferrableNotify()