Home
last modified time | relevance | path

Searched refs:notificationManager (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/
DSendNotification.java56 NotificationManager notificationManager = in sendNotification() local
58 notificationManager.createNotificationChannel(new NotificationChannel( in sendNotification()
60 notificationManager.notify(NOTIFICATION_ID, in sendNotification()
68 NotificationManager notificationManager = in cancelNotification() local
70 notificationManager.cancel(NOTIFICATION_ID); in cancelNotification()
71 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL); in cancelNotification()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java87 NotificationManager notificationManager = in onCreate() local
92 notificationManager.createNotificationChannel(channel); in onCreate()
120 NotificationManager notificationManager = in onDestroy() local
122 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java83 NotificationManager notificationManager = in onCreate() local
88 notificationManager.createNotificationChannel(channel); in onCreate()
116 NotificationManager notificationManager = in onDestroy() local
118 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/cts/hostsidetests/incident/apps/notificationsapp/src/com/android/server/cts/notifications/
DNotificationIncidentTestActivity.java36 NotificationManager notificationManager = in onCreate() local
38 notificationManager.createNotificationChannel( in onCreate()
50 notificationManager.notify(1, notification); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DFocusLossPreventionService.java29 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local
31 if (notificationManager != null) { in onStartCommand()
32 notificationManager.createNotificationChannel( in onStartCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DDialerShowsHunOnIncomingCallActivity.java62 NotificationManager notificationManager = in update() local
71 notificationManager.createNotificationChannel(channel); in update()
82 notificationManager.notify(notifyID, notification); in update()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DReflectorVpnService.java70 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local
71 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
89 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onDestroy() local
90 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DTestService.java46 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local
47 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java51 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local
52 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundServiceLocation.java55 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStart() local
56 notificationManager.createNotificationChannel(new NotificationChannel( in onStart()
DLocalForegroundService.java61 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStart() local
62 notificationManager.createNotificationChannel(new NotificationChannel( in onStart()
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/
DFgService.java47 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local
48 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
/cts/tests/tests/media/src/android/media/cts/
DLocalMediaProjectionService.java77 final NotificationManager notificationManager = in startForeground() local
79 notificationManager.createNotificationChannel(channel); in startForeground()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DLocalMediaProjectionService.java77 final NotificationManager notificationManager = in startForeground() local
79 notificationManager.createNotificationChannel(channel); in startForeground()
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java138 NotificationManager notificationManager = in testShortcutResetSetupNotification() local
140 notificationManager.createNotificationChannel(new NotificationChannel( in testShortcutResetSetupNotification()
150 notificationManager.notify(0, nb.build()); in testShortcutResetSetupNotification()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java433 final NotificationManager notificationManager = in testTypeNotificationStateChangedAccessibilityEvent() local
442 notificationManager.createNotificationChannel(channel); in testTypeNotificationStateChangedAccessibilityEvent()
444 notificationManager.getNotificationChannel(channel.getId()); in testTypeNotificationStateChangedAccessibilityEvent()
479 notificationManager in testTypeNotificationStateChangedAccessibilityEvent()
496 notificationManager.deleteNotificationChannel(channel.getId()); in testTypeNotificationStateChangedAccessibilityEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java154 NotificationManager notificationManager = in onStartCommand() local
156 notificationManager.createNotificationChannel(channel); in onStartCommand()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1193 final NotificationManager notificationManager = context.getSystemService( in testStartForegroundService() local
1195 notificationManager.createNotificationChannel(channel); in testStartForegroundService()
/cts/tests/app/src/android/app/cts/
DServiceTest.java480 NotificationManager notificationManager = in getNotificationManager() local
482 return notificationManager; in getNotificationManager()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java999 NotificationManager notificationManager = in testNotificationPolicyAccess() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java303 NotificationManager notificationManager = in onCreate() local
310 notificationManager.createNotificationChannel(mChannel); in onCreate()