/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/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/ |
D | ExportImportNotificationFactoryTest.java | 59 private static final String NOTIFICATION_CHANNEL_ID = "healthconnect-channel"; field in ExportImportNotificationFactoryTest 73 mFactory = new ExportImportNotificationFactory(mContext, NOTIFICATION_CHANNEL_ID); in setUp() 104 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in importCompletesSuccessfully_notificationDisplayedCorrectly() 129 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in importCompletesUnsuccessfully_invalidFile_notificationDisplayedCorrectly() 154 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in importCompletesUnsuccessfully_versionMismatch_notificationDisplayedCorrectly() 179 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in importCompletesUnsuccessfully_unknownError_notificationDisplayedCorrectly() 206 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in exportCompletesUnsuccessfully_unknownError_notificationDisplayedCorrectly() 229 assertThat(result.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in exportCompletesUnsuccessfully_moreSpaceNeeded_notificationDisplayedCorrectly()
|
/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/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/apps/Settings/src/com/android/settings/development/ |
D | PageAgnosticNotificationService.java | 36 private static final String NOTIFICATION_CHANNEL_ID = field in PageAgnosticNotificationService 60 NOTIFICATION_CHANNEL_ID, in createNotificationChannel() 120 new Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in buildNotification()
|
/packages/apps/PrivateSpace/src/com/android/privatespace/filetransfer/ |
D | NotificationsHelper.kt | 33 private val NOTIFICATION_CHANNEL_ID: String = "FileTransferProgress" constant 45 NOTIFICATION_CHANNEL_ID, in createNotificationChannel() 163 return Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in baseNotificationBuilder()
|
/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/modules/AdServices/adservices/apk/tests/notification/src/com/android/adservices/ui/notifications/ |
D | ConsentNotificationTriggerTest.java | 105 private static final String NOTIFICATION_CHANNEL_ID = "PRIVACY_SANDBOX_CHANNEL"; field in ConsentNotificationTriggerTest 190 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotification_gaUxFlagEnabled() 248 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testNonEuNotifications_gaUxEnabled() 292 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotifications_gaUxEnabled_nonDismissable() 365 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testEuNotifications_gaUxEnabled_nonDismissable_dismissedOnConfirmationPage() 454 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testNotificationV2ActivityIntent() 513 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testNotificationV2BroadcastIntent() 613 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testPasNotifications_PasUxEnabled_FirstNotice() 668 assertThat(notification.getChannelId()).isEqualTo(NOTIFICATION_CHANNEL_ID); in testPasNotifications_PasUxEnabled_RenotifyNotice()
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/ |
D | ImmediateGrantsSyncWorkerTest.java | 19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 166 .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 | ProactiveSyncWorkerTest.java | 19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID; 242 .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 | 103 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; field in FileOperationService 192 NOTIFICATION_CHANNEL_ID, in setUpNotificationChannel()
|
D | Job.java | 356 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder()
|
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessController.java | 199 private static final String NOTIFICATION_CHANNEL_ID = "satellite"; field in SatelliteAccessController 1986 NOTIFICATION_CHANNEL_ID, in initializeSatelliteSystemNotification() 2008 .setChannelId(NOTIFICATION_CHANNEL_ID) in createNotification()
|