/frameworks/base/media/java/android/media/ |
D | AudioFormat.java | 681 private AudioFormat(int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() argument 687 encoding, sampleRate, channelMask, channelIndexMask in AudioFormat() 692 int encoding, int sampleRate, int channelMask, int channelIndexMask) { in AudioFormat() argument 701 ? channelIndexMask : CHANNEL_INVALID; in AudioFormat() 1016 public @NonNull Builder setChannelIndexMask(int channelIndexMask) { in setChannelIndexMask() argument 1017 if (channelIndexMask == 0) { in setChannelIndexMask() 1020 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask() 1022 Integer.toHexString(channelIndexMask).toUpperCase()); in setChannelIndexMask() 1024 mChannelIndexMask = channelIndexMask; in setChannelIndexMask()
|
D | AudioTrack.java | 630 int channelIndexMask = 0; in AudioTrack() local 633 channelIndexMask = format.getChannelIndexMask(); in AudioTrack() 639 } else if (channelIndexMask == 0) { // if no masks at all, use stereo in AudioTrack() 647 audioParamCheck(rate, channelMask, channelIndexMask, encoding, mode); in AudioTrack() 1237 private void audioParamCheck(int sampleRateInHz, int channelConfig, int channelIndexMask, in audioParamCheck() argument 1275 if (channelConfig == AudioFormat.CHANNEL_INVALID && channelIndexMask != 0) { in audioParamCheck() 1287 mChannelIndexMask = channelIndexMask; in audioParamCheck() 1291 if ((channelIndexMask & ~indexMask) != 0) { in audioParamCheck() 1293 + channelIndexMask); in audioParamCheck() 1295 int channelIndexCount = Integer.bitCount(channelIndexMask); in audioParamCheck() [all …]
|
D | AudioSystem.java | 1051 int channelMask, int channelIndexMask, int streamType); in native_is_offload_supported() argument
|
D | AudioRecord.java | 1923 int[] sampleRate, int channelMask, int channelIndexMask, int audioFormat, in native_setup() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioFormat.h | 155 jint channelPositionMask, jint channelIndexMask) in nativeChannelMaskFromJavaChannelMasks() argument 158 if (channelIndexMask != 0) { // channel index mask takes priority in nativeChannelMaskFromJavaChannelMasks() 163 channelIndexMask); in nativeChannelMaskFromJavaChannelMasks()
|
D | android_media_AudioTrack.cpp | 218 jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() argument 224 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup() 269 channelPositionMask, channelIndexMask); in android_media_AudioTrack_setup() 460 jint channelMask, jint channelIndexMask, in android_media_AudioTrack_is_direct_output_supported() argument 466 config.channel_mask = nativeChannelMaskFromJavaChannelMasks(channelMask, channelIndexMask); in android_media_AudioTrack_is_direct_output_supported()
|
D | android_media_AudioRecord.cpp | 186 jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup() argument 235 if (channelIndexMask) { in android_media_AudioRecord_setup() 239 channelIndexMask); in android_media_AudioRecord_setup()
|
D | android_hardware_SoundTrigger.cpp | 226 jint channelIndexMask = (jint)AUDIO_CHANNEL_NONE; in onRecognitionEvent() local 230 channelIndexMask = channelMask; in onRecognitionEvent() 241 channelIndexMask); in onRecognitionEvent()
|
D | android_media_AudioSystem.cpp | 2052 jint encoding, jint sampleRate, jint channelMask, jint channelIndexMask, jint streamType) in android_media_AudioSystem_isOffloadSupported() argument 2057 format.channel_mask = nativeChannelMaskFromJavaChannelMasks(channelMask, channelIndexMask); in android_media_AudioSystem_isOffloadSupported()
|