Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestService.java48 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
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java90 NotificationManager notificationManager = getNotificationManager(context); in showBugreportNotification()
108 private static NotificationManager getNotificationManager(Context context) { in getNotificationManager() method in Utils
/cts/tests/app/src/android/app/cts/
DServiceTest.java497 private NotificationManager getNotificationManager() { in getNotificationManager() method in ServiceTest
508 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()