/cts/hostsidetests/devicepolicy/app/NotificationSender/src/com/android/cts/managedprofiletests/notificationsender/ |
D | SendNotification.java | 56 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/tests/app/NotificationProvider/src/com/android/test/notificationprovider/ |
D | RichNotificationActivity.kt | 67 private val notificationManager by lazy { getSystemService(NotificationManager::class.java)!! } in <lambda>() constant 70 notificationManager.createNotificationChannel(NotificationChannel(preset.channelId, in sendNotification() 72 notificationManager.notify(preset.id, preset.build(this)) in sendNotification() 76 notificationManager.cancel(preset.id) in cancelNotification()
|
/cts/hostsidetests/incident/apps/notificationsapp/src/com/android/server/cts/notifications/ |
D | NotificationIncidentTestActivity.java | 36 NotificationManager notificationManager = in onCreate() local 38 notificationManager.createNotificationChannel( in onCreate() 50 notificationManager.notify(1, notification); in onCreate()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdCtsForegroundService.java | 87 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/ |
D | SimpleForegroundService.java | 83 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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | FocusLossPreventionService.java | 29 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 31 if (notificationManager != null) { in onStartCommand() 32 notificationManager.createNotificationChannel( in onStartCommand()
|
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/ |
D | Utils.kt | 26 val notificationManager = context.getSystemService(NotificationManager::class.java)!! in ensureNotificationChannel() constant 28 notificationManager.createNotificationChannel(NotificationChannel(NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel()
|
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/ |
D | Utils.kt | 26 val notificationManager = context.getSystemService(NotificationManager::class.java)!! in ensureNotificationChannel() constant 28 notificationManager.createNotificationChannel(NotificationChannel(NOTIFICATION_CHANNEL_ID, in ensureNotificationChannel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerShowsHunOnIncomingCallActivity.java | 62 NotificationManager notificationManager = in update() local 71 notificationManager.createNotificationChannel(channel); in update() 82 notificationManager.notify(notifyID, notification); in update()
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | TestService.java | 46 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 47 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
|
/cts/tests/tests/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/ |
D | KeepAliveForegroundService.java | 57 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 58 notificationManager.createNotificationChannel( in onStartCommand()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundServiceLocation.java | 49 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 50 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
|
D | LocalForegroundService.java | 76 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 77 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | FgService.java | 47 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 48 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | LocalMediaProjectionService.java | 77 final NotificationManager notificationManager = in startForeground() local 79 notificationManager.createNotificationChannel(channel); in startForeground()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | OverlayTestService.java | 74 NotificationManager notificationManager = getSystemService(NotificationManager.class); in startForeground() local 75 notificationManager.createNotificationChannel( in startForeground()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | LocalMediaProjectionService.java | 77 final NotificationManager notificationManager = in startForeground() local 79 notificationManager.createNotificationChannel(channel); in startForeground()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 77 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onStartCommand() local 78 notificationManager.createNotificationChannel(new NotificationChannel( in onStartCommand() 97 NotificationManager notificationManager = getSystemService(NotificationManager.class); in onDestroy() local 98 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
D | NotificationBot.java | 138 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/ |
D | AccessibilityEndToEndTest.java | 444 final NotificationManager notificationManager = in testTypeNotificationStateChangedAccessibilityEvent() local 453 notificationManager.createNotificationChannel(channel); in testTypeNotificationStateChangedAccessibilityEvent() 455 notificationManager.getNotificationChannel(channel.getId()); in testTypeNotificationStateChangedAccessibilityEvent() 490 notificationManager in testTypeNotificationStateChangedAccessibilityEvent() 507 notificationManager.deleteNotificationChannel(channel.getId()); in testTypeNotificationStateChangedAccessibilityEvent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 157 NotificationManager notificationManager = in onStartCommand() local 159 notificationManager.createNotificationChannel(channel); in onStartCommand()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1246 final NotificationManager notificationManager = context.getSystemService( in testStartForegroundService() local 1248 notificationManager.createNotificationChannel(channel); in testStartForegroundService()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 487 NotificationManager notificationManager = in getNotificationManager() local 489 return notificationManager; in getNotificationManager()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 331 NotificationManager notificationManager = in onCreate() local 338 notificationManager.createNotificationChannel(mChannel); in onCreate()
|