Home
last modified time | relevance | path

Searched refs:CHANNEL (Results 1 – 5 of 5) sorted by relevance

/cts/tests/app/NotificationDelegator/src/com/android/test/notificationdelegator/
DNotificationDelegateAndPost.java31 private static final String CHANNEL = "channel"; field in NotificationDelegateAndPost
40 nm.createNotificationChannel(new NotificationChannel(CHANNEL, CHANNEL, IMPORTANCE_LOW)); in onCreate()
46 Notification n = new Notification.Builder(this, CHANNEL) in onCreate()
DNotificationDelegator.java30 private static final String CHANNEL = "channel"; field in NotificationDelegator
39 nm.createNotificationChannel(new NotificationChannel(CHANNEL, CHANNEL, IMPORTANCE_LOW)); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java23 private static final int CHANNEL = AudioFormat.CHANNEL_CONFIGURATION_MONO; field in AudioRecordHelper
41 tmpBufferSize = AudioRecord.getMinBufferSize(rate, CHANNEL, ENCODING); in AudioRecordHelper()
42 AudioRecord testAudioRecord = new AudioRecord(source, rate, CHANNEL, ENCODING, in AudioRecordHelper()
76 audioRecord = new AudioRecord(source, sampleRate, CHANNEL, ENCODING, bufferSize); in start()
/cts/hostsidetests/os/app/src/android/os/app/
DTestFgService.java31 private static final String CHANNEL = "fgservice"; field in TestFgService
41 Notification notification = new Notification.Builder(this, CHANNEL) in onStartCommand()
/cts/tests/app/src/android/app/cts/
DNotificationTest.java72 private static final NotificationChannel CHANNEL = new NotificationChannel("id", "name", field in NotificationTest
101 mNotification = new Notification.Builder(mContext, CHANNEL.getId()).build();
102 assertEquals(CHANNEL.getId(), mNotification.getChannelId());
140 mNotification = new Notification.Builder(mContext, CHANNEL.getId())
258 mNotification = new Notification.Builder(mContext, CHANNEL.getId())
275 assertEquals(CHANNEL.getId(), mNotification.getChannelId());
288 Notification.Builder builder = new Notification.Builder(mContext, CHANNEL.getId());
318 mNotification = new Notification.Builder(mContext, CHANNEL.getId())
349 mNotification = new Notification.Builder(mContext, CHANNEL.getId())
373 mNotification = new Notification.Builder(mContext, CHANNEL.getId())
[all …]