/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationStyleVerifierActivity.java | 129 private static final String CHANNEL_ID = "NSVA.BigPictureAnimatedTest"; field in NotificationStyleVerifierActivity.BigPictureAnimatedTest 137 return new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in getChannel() 142 return new Notification.Builder(mContext, CHANNEL_ID) in getNotification() 153 private static final String CHANNEL_ID = "NSVA.BigPictureAnimatedUriTest"; field in NotificationStyleVerifierActivity.BigPictureAnimatedUriTest 161 return new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in getChannel() 170 return new Notification.Builder(mContext, CHANNEL_ID) in getNotification() 180 private static final String CHANNEL_ID = "NSVA.CustomContentViewTest"; field in NotificationStyleVerifierActivity.CustomContentViewTest 189 return new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in getChannel() 194 return new Notification.Builder(mContext, CHANNEL_ID) in getNotification() 206 private static final String CHANNEL_ID = "NSVA.CustomBigContentViewTest"; field in NotificationStyleVerifierActivity.CustomBigContentViewTest [all …]
|
D | BubblesVerifierActivity.java | 77 private static final String CHANNEL_ID = "BubblesVerifierChannel"; field in BubblesVerifierActivity 230 new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT)); in onCreate() 1101 return new Notification.Builder(context, CHANNEL_ID) in getConversationNotif()
|
/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/ |
D | TestService.java | 32 private static final String CHANNEL_ID = "mychannel"; field in TestService 43 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); in getNotificationChannelId() 49 return CHANNEL_ID; in getNotificationChannelId()
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | NotificationGenerator.java | 32 private static final String CHANNEL_ID = "NotificationChannelID"; field in NotificationGenerator 41 CHANNEL_ID, in createNotification() 53 Notification.Builder builder = new Notification.Builder(context, CHANNEL_ID) in createNotification()
|
/cts/tests/quicksettings/src/android/quicksettings/cts/ |
D | TestOnClickLaunchFgsTileService.java | 51 private static final String CHANNEL_ID = "test_FGS_channel"; field in TestOnClickLaunchFgsTileService.TestForegroundService 57 NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID, in onCreate() 66 Notification notification = new Notification.Builder(this, CHANNEL_ID) in onStartCommand()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | NotificationTest.java | 57 private static final String CHANNEL_ID = "NotificationTest"; field in NotificationTest 98 NotificationChannel c = new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, IMPORTANCE); in showNotificationWithTitleNotification() 101 new Notification.Builder(TestApis.context().instrumentedContext(), CHANNEL_ID) in showNotificationWithTitleNotification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | Utils.java | 47 private static final String CHANNEL_ID = "BugReport"; field in Utils 91 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, in showBugreportNotification() 92 CHANNEL_ID, NotificationManager.IMPORTANCE_HIGH); in showBugreportNotification() 96 .setChannelId(CHANNEL_ID) in showBugreportNotification()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | MediaProjectionHelper.java | 136 private static final String CHANNEL_ID = "ScreenRecordingCallbackTests"; field in MediaProjectionHelper.MediaProjectionService 151 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, in onStartCommand() 158 Notification.Builder notificationBuilder = new Notification.Builder(this, CHANNEL_ID); in onStartCommand()
|
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/ |
D | SensitiveContentMediaProjectionHelper.java | 136 private static final String CHANNEL_ID = "ScreenRecordingCallbackTests"; field in SensitiveContentMediaProjectionHelper.MediaProjectionService 151 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, in onStartCommand() 158 Notification.Builder notificationBuilder = new Notification.Builder(this, CHANNEL_ID); in onStartCommand()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 207 private static final String CHANNEL_ID = "my_channel"; field in UsageStatsTest 944 final NotificationChannel mChannel = new NotificationChannel(CHANNEL_ID, "Channel", in generateAndSendNotification() 950 new Notification.Builder(mContext, CHANNEL_ID) in generateAndSendNotification() 1261 CHANNEL_ID, event.mNotificationChannelId); in verifyNotificationInterruptionEvent()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 6443 field public static final String EXTRA_CHANNEL_ID = "android.intent.extra.CHANNEL_ID"; 27188 field public static final String EXTRA_CHANNEL_ID = "android.media.tv.extra.CHANNEL_ID"; 37378 field public static final String EXTRA_CHANNEL_ID = "android.provider.extra.CHANNEL_ID";
|