/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundService.java | 38 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-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/ |
D | MyForegroundService.java | 40 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()
|
D | MyService.java | 50 private static final String NOTIFICATION_CHANNEL_ID = "MyService"; field in MyService 95 MyBroadcastReceiver.sendNotification(getApplicationContext(), NOTIFICATION_CHANNEL_ID, 182 .createNotificationChannel(new NotificationChannel(NOTIFICATION_CHANNEL_ID, in onCreate() 183 NOTIFICATION_CHANNEL_ID, NotificationManager.IMPORTANCE_DEFAULT)); in onCreate() 192 .deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in onDestroy()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | SampleCustomInputService.java | 53 private static final String NOTIFICATION_CHANNEL_ID = field in SampleCustomInputService 62 createNotificationChannelId(this, NOTIFICATION_CHANNEL_ID); in onCreate() 77 Notification status = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand() 94 NOTIFICATION_CHANNEL_ID, channelName, importance); in createNotificationChannelId()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/ |
D | PickerSyncNotificationHelper.java | 40 static final String NOTIFICATION_CHANNEL_ID = "PhotoPickerSyncChannel"; field in PickerSyncNotificationHelper 56 NOTIFICATION_CHANNEL_ID, contentTitle, NotificationManager.IMPORTANCE_LOW); in createNotificationChannel() 88 return new NotificationCompat.Builder(context, NOTIFICATION_CHANNEL_ID) in getNotification()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | PageAgnosticNotificationService.java | 35 private static final String NOTIFICATION_CHANNEL_ID = field in PageAgnosticNotificationService 53 NOTIFICATION_CHANNEL_ID, in createNotificationChannel() 100 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetySourceReceiver.kt | 87 NOTIFICATION_CHANNEL_ID, in onBind() 88 NOTIFICATION_CHANNEL_ID, in onBind() 94 Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onBind() 121 private const val NOTIFICATION_CHANNEL_ID: String = "NOTIFICATION_CHANNEL_ID" constant
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | ScreenshotService.java | 50 private static final String NOTIFICATION_CHANNEL_ID = "BUGREPORT_SCREENSHOT_CHANNEL"; field in ScreenshotService 93 NotificationChannel serviceChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in buildNotification() 99 return new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarHeadsUpNotificationQueue.java | 55 private static final String NOTIFICATION_CHANNEL_ID = "HUN_QUEUE_CHANNEL_ID"; field in CarHeadsUpNotificationQueue 154 NOTIFICATION_CHANNEL_ID, notificationChannelName, in CarHeadsUpNotificationQueue() 291 .Builder(mContext, NOTIFICATION_CHANNEL_ID) in getUserNotificationForExpiredHun() 330 mNotificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID); in unregisterListeners()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | UpdateLayoutFragment.java | 61 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/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 112 private static final String NOTIFICATION_CHANNEL_ID = "PRIVACY_SANDBOX_CHANNEL"; field in ConsentNotificationTriggerTest 187 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotification_gaUxFlagEnabled() 257 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testNonEuNotifications_gaUxEnabled() 301 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotifications_gaUxEnabled_nonDismissable() 386 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 540 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testRvcUxNotification() 663 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testRvcPostOtaNotification() 755 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testPasNotifications_PasUxEnabled_FirstNotice() 810 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testPasNotifications_PasUxEnabled_RenotifyNotice()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/ |
D | ProactiveSyncWorkerTest.java | 19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 242 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
|
D | ImmediateSyncWorkerTest.java | 19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 246 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
|
D | ImmediateAlbumSyncWorkerTest.java | 19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 284 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
|
D | MediaResetWorkerTest.java | 25 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 390 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 99 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; field in FileOperationService 178 NOTIFICATION_CHANNEL_ID, in setUpNotificationChannel()
|
D | Job.java | 354 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder()
|