/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 | 50 public boolean open(int numChannels, int channelMask, int sampleRate, in open() argument 52 if (nativeOpen(mNativeTrackInJavaObj, numChannels, channelMask, in open() 123 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 125 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 153 long track, int numChannels, int channelMask, in nativeOpen() argument 171 int numChannels, int channelMask, int sampleRate, in nativeTest() argument
|
D | AudioRecordNative.java | 48 public boolean open(int numChannels, int channelMask, int sampleRate, in open() argument 50 if (nativeOpen(mNativeRecordInJavaObj, numChannels, channelMask, in open() 121 public static boolean test(int numChannels, int channelMask, int sampleRate, boolean useFloat, in test() argument 123 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 151 long record, int numChannels, int channelMask, in nativeOpen() argument 170 int numChannels, int channelMask, int sampleRate, in nativeTest() argument
|
D | AudioHelper.java | 243 public static int outChannelMaskFromInChannelMask(int channelMask) { in outChannelMaskFromInChannelMask() argument 244 switch (channelMask) { in outChannelMaskFromInChannelMask() 405 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument 407 this(audioSource, sampleRate, channelMask, format, bufferSize, isChannelIndex, in AudioRecordAudit() 411 public AudioRecordAudit(int audioSource, int sampleRate, int channelMask, in AudioRecordAudit() argument 420 ? new AudioFormat.Builder().setChannelIndexMask(channelMask) in AudioRecordAudit() 421 : new AudioFormat.Builder().setChannelMask(channelMask)) in AudioRecordAudit() 429 final int channelOutMask = isChannelIndex ? channelMask : in AudioRecordAudit() 430 outChannelMaskFromInChannelMask(channelMask); in AudioRecordAudit()
|
D | VirtualizerTest.java | 321 String channelMask = Integer.toHexString(CHANNEL_MASKS[i]).toUpperCase(); in test4_0FormatModeQuery() local 324 Log.d(TAG, "content channel mask: 0x" + channelMask + " (native 0x" in test4_0FormatModeQuery()
|
D | AudioTrackTest.java | 2126 private void doTestTimestamp(int sampleRate, int channelMask, int encoding, int transferMode, in doTestTimestamp() argument 2138 * AudioFormat.channelCountFromOutChannelMask(channelMask); in doTestTimestamp() 2151 .setChannelMask(channelMask) in doTestTimestamp()
|
D | DecoderTest.java | 270 for (int channelMask : channelMasks) { in verifyChannelsAndRates() 271 int channelCount = AudioFormat.channelCountFromOutChannelMask(channelMask); in verifyChannelsAndRates()
|
/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 | 81 uint32_t channelMask, in open() argument 129 pcm.channelMask = channelMask; in open() 468 jint numChannels, jint channelMask, jint sampleRate, in Java_android_media_cts_AudioRecordNative_nativeTest() argument 477 res = record.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioRecordNative_nativeTest() 515 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen() argument 521 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 | 164 formatPcmSnk.channelMask = SL_SPEAKER_FRONT_LEFT; in PcmBqSinkInitialization() 215 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in AudioPlayerFromPcmBqCreation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 380 int channelMask = channelMaskFromCount(mInputChannelCount); in setSoundWithResId() local 381 int buffSize = AudioTrack.getMinBufferSize(mInputSampleRate, channelMask, in setSoundWithResId() 390 .setChannelMask(channelMask); in setSoundWithResId()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.cpp | 379 pcm.channelMask = pSles->channels == 1 ? SL_SPEAKER_FRONT_CENTER : in slesCreateServer()
|