Home
last modified time | relevance | path

Searched refs:notificationChannel (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DNotificationGenerator.java40 NotificationChannel notificationChannel = new NotificationChannel( in createNotification() local
49 notificationChannel.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION), in createNotification()
52 notificationManager.createNotificationChannel(notificationChannel); in createNotification()
/cts/tests/tests/os/src/android/os/cts/
DLowPowerStandbyForegroundService.java44 NotificationChannel notificationChannel = new NotificationChannel("fgsNotifChannel", in onStartCommand() local
46 notificationManager.createNotificationChannel(notificationChannel); in onStartCommand()
48 Notification notification = new Notification.Builder(this, notificationChannel.getId()) in onStartCommand()
/cts/tests/quicksettings/src/android/quicksettings/cts/
DTestOnClickLaunchFgsTileService.java57 NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID, in onCreate() local
59 notificationChannel.setDescription("Notification for the foreground service"); in onCreate()
61 notificationManager.createNotificationChannel(notificationChannel); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0478/src/android/security/cts/CVE_2021_0478/
DPocService.java46 NotificationChannel notificationChannel = in onCreate() local
48 notificationManager.createNotificationChannel(notificationChannel); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/
DPocService.java62 NotificationChannel notificationChannel = new NotificationChannel( in exploitBug() local
64 notificationChannel.setGroup(groupId); in exploitBug()
65 notificationManager.createNotificationChannel(notificationChannel); in exploitBug()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2022_20482.java67 NotificationChannel notificationChannel = in testPocCVE_2022_20482() local
72 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2022_20482()
DCVE_2023_21139.java65 NotificationChannel notificationChannel = in testPocCVE_2023_21139() local
68 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21139()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21129/src/android/security/cts/CVE_2023_21129/
DPocService.java80 NotificationChannel notificationChannel = in onStartCommand() local
85 notificationChannel.setDescription(getString(R.string.nameNotificationChannel)); in onStartCommand()
89 notificationManager.createNotificationChannel(notificationChannel); in onStartCommand()
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
DMediaSessionTestHelperService.java53 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL, in onCreate() local
55 manager.createNotificationChannel(notificationChannel); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20415/src/android/security/cts/CVE_2022_20415/
DDeviceTest.java65 NotificationChannel notificationChannel = in tryNotificationStart() local
69 notificationChannel.setDescription(mContext.getString(R.string.nameNotificationChannel)); in tryNotificationStart()
70 mNotificationManager.createNotificationChannel(notificationChannel); in tryNotificationStart()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21144/src/android/security/cts/CVE_2023_21144/
DDeviceTest.java71 NotificationChannel notificationChannel = in testPocCVE_2023_21144() local
78 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21144()
92 new Notification.Builder(context, notificationChannel.getId()) in testPocCVE_2023_21144()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35668/src/android/security/cts/CVE_2023_35668/
DDeviceTest.java110 NotificationChannel notificationChannel = in testWearableExtenderUri() local
119 notificationManager.createNotificationChannel(notificationChannel); in testWearableExtenderUri()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21238/src/android/security/cts/CVE_2023_21238/
DDeviceTest.java94 NotificationChannel notificationChannel = in testPocCVE_2023_21238() local
99 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21238()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21288/src/android/security/cts/CVE_2023_21288/
DDeviceTest.java105 NotificationChannel notificationChannel = in testPocCVE_2023_21288() local
111 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21288()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21286/src/android/security/cts/CVE_2023_21286/
DDeviceTest.java93 NotificationChannel notificationChannel = in testPocCVE_2023_21286() local
100 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21286()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21277/src/android/security/cts/CVE_2023_21277/
DDeviceTest.java100 NotificationChannel notificationChannel = in testPocCVE_2023_21277() local
104 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21277()
/cts/tests/app/shared/src/android/app/stubs/shared/
DCloseSystemDialogsTestService.java178 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in notify() local
180 mNotificationManager.createNotificationChannel(notificationChannel); in notify()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21239/src/android/security/cts/CVE_2023_21239/
DDeviceTest.java136 NotificationChannel notificationChannel = in testCallStyleNotification() local
145 notificationManager.createNotificationChannel(notificationChannel); in testCallStyleNotification()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21279/src/android/security/cts/CVE_2023_21279/
DDeviceTest.java101 NotificationChannel notificationChannel = in testPocCVE_2023_21279() local
105 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_21279()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40073/src/android/security/cts/CVE_2023_40073/
DDeviceTest.java143 NotificationChannel notificationChannel = in testPocCVE_2023_40073() local
148 notificationManager.createNotificationChannel(notificationChannel); in testPocCVE_2023_40073()
/cts/tests/tests/notification/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/
DNotificationTrampolineTestService.java173 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in postNotification() local
175 mNotificationManager.createNotificationChannel(notificationChannel); in postNotification()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DCarPowerTestService.java142 NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in startForeground() local
145 manager.createNotificationChannel(notificationChannel); in startForeground()
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java227 NotificationChannel notificationChannel = in startForeground() local
230 notificationManager.createNotificationChannel(notificationChannel); in startForeground()