/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 172 private static ContentValues createDummyProgramValues(long channelId) { in createDummyProgramValues() argument 174 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in createDummyProgramValues() 194 private static ContentValues createDummyPreviewProgramValues(long channelId) { in createDummyPreviewProgramValues() argument 196 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyPreviewProgramValues() 256 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) { in createDummyRecordedProgramValues() argument 259 values.put(RecordedPrograms.COLUMN_CHANNEL_ID, channelId); in createDummyRecordedProgramValues() 333 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) { in verifyChannel() argument 334 verifyChannel(channelUri, expectedValues, channelId, true); in verifyChannel() 337 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId, in verifyChannel() argument 344 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID))); in verifyChannel() [all …]
|
D | TvViewTest.java | 251 long channelId = cursor.getLong(0); in tryTuneAllChannels() local 252 Uri channelUri = TvContract.buildChannelUri(channelId); in tryTuneAllChannels() 431 long channelId = cursor.getLong(0); in testOnUnhandledInputEventListener() local 432 Uri channelUri = TvContract.buildChannelUri(channelId); in testOnUnhandledInputEventListener() 526 long channelId = cursor.getLong(0); in testGetAudioPresentations() local 527 Uri channelUri = TvContract.buildChannelUri(channelId); in testGetAudioPresentations()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21244/src/android/security/cts/CVE_2023_21244/ |
D | DeviceTest.java | 109 final String channelId = "CVE_2023_20913_channel"; in testCVE_2023_21244() local 111 new Notification.Builder(context, channelId) in testCVE_2023_21244() 112 .setChannelId(channelId) in testCVE_2023_21244() 130 new NotificationChannel(channelId, channelId, IMPORTANCE_DEFAULT)); in testCVE_2023_21244()
|
/cts/tests/tests/contactkeysprovider/ownerapp/src/android/provider/cts/invisibleapp/ |
D | InvisibleService.java | 51 String channelId = "myChannelIS"; in onCreate() local 52 NotificationChannel channel = new NotificationChannel(channelId, in onCreate() 59 channelId) in onCreate()
|
/cts/tests/tests/contactkeysprovider/visibleapp/src/android/provider/cts/visibleapp/ |
D | VisibleService.java | 54 String channelId = "myChannelVS"; in onStartCommand() local 55 NotificationChannel channel = new NotificationChannel(channelId, in onStartCommand() 63 channelId) in onStartCommand()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | NotificationUtils.java | 35 String channelId, in createCallStyleNotification() argument 40 return new Notification.Builder(context, channelId) in createCallStyleNotification() 67 String channelId, in updateNotificationToOngoing() argument 73 channelId) in updateNotificationToOngoing()
|
/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/ |
D | TestService.java | 43 public void createNotificationChannel(String channelId, String channelName, in createNotificationChannel() argument 45 final NotificationChannel channel = new NotificationChannel(channelId, channelName, in createNotificationChannel()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40120/src/android/security/cts/CVE_2023_40120/ |
D | DeviceTest.java | 74 String channelId = "cve_2023_40120_channel_id"; in testPocCVE_2023_40120() local 77 channelId, in testPocCVE_2023_40120() 85 .setChannelId(channelId) in testPocCVE_2023_40120()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/notifications/ |
D | NotificationsTest.java | 108 String channelId = "notifications"; in createNotification() local 109 sNotificationManager.createNotificationChannel(new NotificationChannel(channelId, in createNotification() 114 new Notification.Builder(TestApis.context().instrumentedContext(), channelId) in createNotification()
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | NotificationQueryHelperTest.java | 89 notificationQueryHelper.channelId().isEqualTo(""); in parcel_parcelsCorrectly() 117 notificationQueryHelper.channelId().isEqualTo(""); in isEmptyQuery_hasChannelIdQuery_returnsFalse()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2023_21139.java | 64 String channelId = "CVE_2023_21139_id"; in testPocCVE_2023_21139() local 67 channelId, "CVE_2023_21139_name", NotificationManager.IMPORTANCE_HIGH); in testPocCVE_2023_21139() 88 new Notification.Builder(context, channelId) in testPocCVE_2023_21139()
|
D | CVE_2023_21143.java | 68 context.getString(R.string.channelId), in testPocCVE_2023_21143() 75 new Notification.Builder(context, context.getString(R.string.channelId)) in testPocCVE_2023_21143()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-31312/src/android/security/cts/CVE_2024_31312/ |
D | DeviceTest.java | 77 final String channelId = "cve_2024_31312_channel_id"; in testPocCVE_2024_31312() local 80 channelId, in testPocCVE_2024_31312() 101 .setChannelId(channelId) in testPocCVE_2024_31312()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21291/src/android/security/cts/CVE_2023_21291/ |
D | DeviceTest.java | 114 String channelId = "cve_2023_21291_channel_id"; in testPocCVE_2023_21291() local 117 channelId, in testPocCVE_2023_21291() 126 .setChannelId(channelId) in testPocCVE_2023_21291()
|
/cts/tests/tests/notification/NotificationProvider/src/com/android/test/notificationprovider/ |
D | RichNotificationActivity.kt | 38 enum class NotificationPreset(val id: Int, val channelId: String) { constant in com.android.test.notificationprovider.RichNotificationActivity.NotificationPreset 70 notificationManager.createNotificationChannel(NotificationChannel(preset.channelId, in sendNotification()
|
/cts/tests/tests/app.usage/TestApp1/aidl/android/app/usage/cts/ |
D | ITestReceiver.aidl | 22 void createNotificationChannel(String channelId, String channelName, String channelDescription); in createNotificationChannel() argument
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | NotificationQuery.java | 37 StringQuery<E> channelId(); in channelId() method
|
D | NotificationQueryHelper.java | 84 public StringQuery<E> channelId() { in channelId() method in NotificationQueryHelper
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20116/src/android/security/cts/CVE_2022_20116/ |
D | PocService.java | 57 getString(R.string.channelId), getString(R.string.channelName), in showNotification() 64 new Notification.Builder(this, getString(R.string.channelId)) in showNotification()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-34723/malicious-app/src/android/security/cts/CVE_2024_34723_malicious_app/ |
D | PocService.java | 170 final String channelId = "cve_2023_35675_channel_id"; 175 channelId, 194 new Notification.Builder(context, channelId)
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0020/src/android/security/cts/CVE-2024-0020/ |
D | DeviceTest.java | 110 final String channelId = "cve_2024_0020_channel_id"; in testPocCVE_2024_0020() local 115 channelId /* channelId */, in testPocCVE_2024_0020() 131 .putExtra(EXTRA_CHANNEL_ID, channelId) in testPocCVE_2024_0020()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | LockTaskUiTestActivity.java | 344 String channelId = getTestId(); in issueTestNotification() local 345 if (mNotifyMgr.getNotificationChannel(channelId) == null) { in issueTestNotification() 347 channelId, getTestId(), NotificationManager.IMPORTANCE_HIGH); in issueTestNotification() 351 Notification note = new Notification.Builder(this, channelId) in issueTestNotification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | FocusLossPreventionService.java | 27 String channelId = "default"; in onStartCommand() local
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | MaximumTimeOffTest.java | 88 .whereNotification().channelId().isEqualTo("DEVICE_ADMIN_ALERTS")) in setManagedProfileMaximumTimeOff_timesOut_personalAppsAreSuspended() 126 .whereNotification().channelId().isEqualTo("DEVICE_ADMIN_ALERTS") in setManagedProfileMaximumTimeOff_timesOut_notificationIsShown()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1291 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferredExistingNotification() local 1292 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferredExistingNotification() 1295 new Notification.Builder(mContext, channelId) in testForegroundService_deferredExistingNotification() 1323 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferThenImmediateNotify() local 1324 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenImmediateNotify() 1327 new Notification.Builder(mContext, channelId) in testForegroundService_deferThenImmediateNotify() 1353 final String channelId = LocalForegroundService.getNotificationChannelId(); in testForegroundService_deferThenDeferrableNotify() local 1354 nm.createNotificationChannel(new NotificationChannel(channelId, channelId, in testForegroundService_deferThenDeferrableNotify() 1357 new Notification.Builder(mContext, channelId) in testForegroundService_deferThenDeferrableNotify()
|