Searched refs:getNotificationManager (Results 1 – 3 of 3) sorted by relevance
48 getNotificationManager().createNotificationChannel(channel); in createNotificationChannel()53 getNotificationManager().notify(notificationId, notification); in postNotification()58 getNotificationManager().cancel(notificationId); in cancelNotification()63 getNotificationManager().cancelAll(); in cancelAll()66 private NotificationManager getNotificationManager() { in getNotificationManager() method in TestService.TestReceiver
90 NotificationManager notificationManager = getNotificationManager(context); in showBugreportNotification()108 private static NotificationManager getNotificationManager(Context context) { in getNotificationManager() method in Utils
497 private NotificationManager getNotificationManager() { in getNotificationManager() method in ServiceTest508 getNotificationManager().notify(id, notification); in sendNotification()512 getNotificationManager().cancel(id); in cancelNotification()523 StatusBarNotification[] sbns = getNotificationManager().getActiveNotifications(); in assertNotification()573 StatusBarNotification[] sbns = getNotificationManager().getActiveNotifications(); in assertNoNotification()750 getNotificationManager().createNotificationChannel(new NotificationChannel( in setUp()773 getNotificationManager().deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in tearDown()1290 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferredExistingNotification()1322 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenImmediateNotify()1352 final NotificationManager nm = getNotificationManager(); in testForegroundService_deferThenDeferrableNotify()