Home
last modified time | relevance | path

Searched refs:NOTIFICATION_CHANNEL_ID (Results 1 – 18 of 18) 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/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DExportImportNotificationFactoryTest.java59 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/
DSampleCustomInputService.java53 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/
DPickerSyncNotificationHelper.java40 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/
DSafetySourceReceiver.kt87 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/
DPageAgnosticNotificationService.java36 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/
DNotificationsHelper.kt33 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/
DCarHeadsUpNotificationQueue.java55 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/
DConsentNotificationTriggerTest.java105 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/
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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DImmediateGrantsSyncWorkerTest.java19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID;
166 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
DImmediateSyncWorkerTest.java19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID;
246 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
DProactiveSyncWorkerTest.java19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID;
242 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
DImmediateAlbumSyncWorkerTest.java19 … com.android.providers.media.photopicker.sync.PickerSyncNotificationHelper.NOTIFICATION_CHANNEL_ID;
284 .isEqualTo(NOTIFICATION_CHANNEL_ID); in testGetForegroundInfo()
DMediaResetWorkerTest.java25 … 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/
DFileOperationService.java103 static final String NOTIFICATION_CHANNEL_ID = "channel_id"; field in FileOperationService
192 NOTIFICATION_CHANNEL_ID, in setUpNotificationChannel()
DJob.java356 ? new Notification.Builder(service, FileOperationService.NOTIFICATION_CHANNEL_ID) in createNotificationBuilder()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java199 private static final String NOTIFICATION_CHANNEL_ID = "satellite"; field in SatelliteAccessController
1986 NOTIFICATION_CHANNEL_ID, in initializeSatelliteSystemNotification()
2008 .setChannelId(NOTIFICATION_CHANNEL_ID) in createNotification()