Home
last modified time | relevance | path

Searched refs:NOTIFICATION_CHANNEL_ID (Results 1 – 8 of 8) sorted by relevance

/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service"; field in StatsdCtsForegroundService
89 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
90 NOTIFICATION_CHANNEL_ID, in onCreate()
98 Notification notification = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
122 notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyForegroundService.java40 private static final String NOTIFICATION_CHANNEL_ID = "cts/MyForegroundService"; field in MyForegroundService
54 NOTIFICATION_CHANNEL_ID, NOTIFICATION_CHANNEL_ID, in onStartCommand()
59 startForeground(42, new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
DMyService.java48 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; field in MyService
92 MyBroadcastReceiver .sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID,
179 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
180 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); in onCreate()
189 .deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
/packages/apps/Car/Media/src/com/android/car/media/service/
DMediaConnectorService.java47 private static final String NOTIFICATION_CHANNEL_ID = "com.android.car.media.service"; field in MediaConnectorService
54 NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate()
101 Notification notification = new NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DHeadsUpNotificationFragment.java33 private static final String NOTIFICATION_CHANNEL_ID = "rotary_notification"; field in HeadsUpNotificationFragment
43 new NotificationChannel(NOTIFICATION_CHANNEL_ID, "Rotary Playground", in onCreateView()
67 return new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID) in createNotification()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateLayoutFragment.java61 private static final String NOTIFICATION_CHANNEL_ID = "update"; field in UpdateLayoutFragment
108 NOTIFICATION_CHANNEL_ID, in onCreate()
284 return new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in createNotification()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java99 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; field in FileOperationService
178 NOTIFICATION_CHANNEL_ID, in setUpNotificationChannel()
DJob.java354 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder()