/cts/tests/tests/media/libndkaudio/ |
D | OpenSLESUtils.cpp | 61 int channelMask = 0; in chanCountToChanMask() local 65 channelMask = SL_SPEAKER_FRONT_CENTER; in chanCountToChanMask() 69 channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in chanCountToChanMask() 73 channelMask = SL_ANDROID_SPEAKER_QUAD; in chanCountToChanMask() 77 channelMask = SL_ANDROID_SPEAKER_5DOT1; in chanCountToChanMask() 81 channelMask = SL_ANDROID_SPEAKER_7DOT1; in chanCountToChanMask() 84 return channelMask; in chanCountToChanMask()
|
D | AudioRecorder.cpp | 140 pcm.channelMask = chanCountToChanMask(numChannels_); in Open()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 49 public boolean open(int numChannels, int channelMask, int sampleRate, in open() argument 51 if (nativeOpen(mNativeTrackInJavaObj, numChannels, channelMask, in open() 122 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 124 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 152 long track, int numChannels, int channelMask, in nativeOpen() argument 170 int numChannels, int channelMask, int sampleRate, in nativeTest() argument
|
D | AudioRecordNative.java | 46 public boolean open(int numChannels, int channelMask, int sampleRate, in open() argument 48 if (nativeOpen(mNativeRecordInJavaObj, numChannels, channelMask, in open() 115 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 117 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 145 long record, int numChannels, int channelMask, in nativeOpen() argument 163 int numChannels, int channelMask, int sampleRate, in nativeTest() argument
|
D | AudioHelper.java | 214 public static int outChannelMaskFromInChannelMask(int channelMask) { in outChannelMaskFromInChannelMask() argument 215 switch (channelMask) { in outChannelMaskFromInChannelMask() 231 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument 233 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, in AudioRecordAudit() 237 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument 246 ? new AudioFormat.Builder().setChannelIndexMask(channelMask) in AudioRecordAudit() 247 : new AudioFormat.Builder().setChannelMask(channelMask)) in AudioRecordAudit() 255 final int channelOutMask = isChannelIndex ? channelMask : in AudioRecordAudit() 256 outChannelMaskFromInChannelMask(channelMask); in AudioRecordAudit()
|
D | VirtualizerTest.java | 318 String channelMask = Integer.toHexString(CHANNEL_MASKS[i]).toUpperCase(); in test4_0FormatModeQuery() local 321 Log.d(TAG, "content channel mask: 0x" + channelMask + " (native 0x" in test4_0FormatModeQuery()
|
D | AudioTrackTest.java | 1937 private void doTestTimestamp(int sampleRate, int channelMask, int encoding, int transferMode, in doTestTimestamp() argument 1951 * AudioFormat.channelCountFromOutChannelMask(channelMask); in doTestTimestamp() 1964 .setChannelMask(channelMask) in doTestTimestamp()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 73 status_t open(jint numChannels, jint channelMask, in open() argument 114 pcm.channelMask = channelMask; in open() 379 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, in Java_android_media_cts_AudioTrackNative_nativeTest() argument 389 res = track.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioTrackNative_nativeTest() 428 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioTrackNative_nativeOpen() argument 436 channelMask, in Java_android_media_cts_AudioTrackNative_nativeOpen()
|
D | audio-record-native.cpp | 79 uint32_t channelMask, in open() argument 127 pcm.channelMask = channelMask; in open() 441 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioRecordNative_nativeTest() argument 450 res = record.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioRecordNative_nativeTest() 488 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen() argument 494 return (jint) record->open(numChannels, channelMask, sampleRate, useFloat == JNI_TRUE, in Java_android_media_cts_AudioRecordNative_nativeOpen()
|
D | appendix-b-1-1-buffer-queue.cpp | 151 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in TestPlayMusicBufferQueue()
|
/cts/tests/tests/nativemedia/sl/src/ |
D | SLObjectCreationTest.cpp | 167 formatPcmSnk.channelMask = SL_SPEAKER_FRONT_LEFT; in PcmBqSinkInitialization() 218 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in AudioPlayerFromPcmBqCreation()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.cpp | 379 pcm.channelMask = pSles->channels == 1 ? SL_SPEAKER_FRONT_CENTER : in slesCreateServer()
|