/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioGain.cpp | 46 config->channel_mask = mGain.channel_mask; in getDefaultConfig() 52 numValues = audio_channel_count_from_in_mask(mGain.channel_mask); in getDefaultConfig() 54 numValues = audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig() 76 if ((config->channel_mask & ~mGain.channel_mask) != 0) { in checkConfig() 81 numValues = audio_channel_count_from_in_mask(config->channel_mask); in checkConfig() 83 numValues = audio_channel_count_from_out_mask(config->channel_mask); in checkConfig() 105 dst->appendFormat("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask); in dump()
|
D | AudioOutputDescriptor.cpp | 51 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 462 lConfig.channel_mask = mChannelMask; in open() 475 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open() 504 mChannelMask = lConfig.channel_mask; in open()
|
D | HwModule.cpp | 50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 118 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile() 129 name.string(), config->sample_rate, config->channel_mask); in addInputProfile()
|
D | IOProfile.cpp | 63 .channel_mask = channelMask, in isCompatibleProfile()
|
D | AudioPort.cpp | 160 config->channel_mask, in checkExactAudioProfile() 403 mChannelMask = config->channel_mask; in applyAudioPortConfig() 451 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig()
|
D | ClientDescriptor.cpp | 48 mConfig.format, mConfig.sample_rate, mConfig.channel_mask); in dump()
|
D | AudioInputDescriptor.cpp | 192 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 207 lConfig.channel_mask = mChannelMask; in open() 236 mChannelMask = lConfig.channel_mask; in open()
|
/frameworks/av/services/audioflinger/ |
D | SpdifStreamOut.cpp | 56 mApplicationChannelMask = config->channel_mask; in open() 77 customConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in open() 86 config->channel_mask); in open() 91 customConfig.channel_mask); in open()
|
D | AudioHwDevice.cpp | 52 config->channel_mask); in openOutputStream() 67 config->channel_mask, in openOutputStream()
|
D | PatchPanel.cpp | 243 config.channel_mask = patch->sinks[0].channel_mask; in createAudioPatch() 276 config.channel_mask = patch->sources[0].channel_mask; in createAudioPatch() 278 config.channel_mask = audio_channel_in_mask_from_count( in createAudioPatch() 300 thread.get(), config.channel_mask); in createAudioPatch()
|
D | AudioFlinger.cpp | 303 fullConfig.channel_mask = config->channel_mask; in openMmapStream() 742 if (!audio_is_output_channel(input.config.channel_mask)) { in createTrack() 743 ALOGE("createTrack() invalid channel mask %#x", input.config.channel_mask); in createTrack() 787 input.config.format, input.config.channel_mask, in createTrack() 816 auto inChannelMask = audio_channel_mask_out_to_in(input.config.channel_mask); in createTrack() 840 input.config.channel_mask, in createTrack() 1542 proposed.channel_mask = channelMask; in getInputBufferSize() 1868 if (!audio_is_input_channel(input.config.channel_mask)) { in createRecord() 1869 ALOGE("createRecord() invalid channel mask %#x", input.config.channel_mask); in createRecord() 1931 input.config.format, input.config.channel_mask, in createRecord() [all …]
|
D | AudioStreamOut.cpp | 144 config->channel_mask, in open()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioGain.h | 36 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask() 37 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask()
|
/frameworks/av/services/mediaanalytics/ |
D | statsd_audiothread.cpp | 121 int32_t channel_mask = -1; in statsd_audiothread() local 122 if (item->getInt32(MM_PREFIX "channelMask", &channel_mask)) { in statsd_audiothread() 123 metrics_proto.set_channel_mask(channel_mask); in statsd_audiothread()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpointMMAP.cpp | 126 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in open() 132 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in open() 220 ? audio_channel_count_from_out_mask(config.channel_mask) in open() 221 : audio_channel_count_from_in_mask(config.channel_mask)); in open()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | JMediaPlayer2Utils.cpp | 51 int32_t channelMask = outChannelMaskFromNative(info.channel_mask); in isOffloadedAudioPlaybackSupported()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 94 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel() 118 parcel->writeInt32(mFormat.channel_mask); in writeToParcel()
|
D | IAudioPolicyServiceClient.cpp | 41 config->channel_mask = (audio_channel_mask_t) data.readInt32(); in readAudioConfigBaseFromParcel() 48 data.writeInt32((int32_t) config->channel_mask); in writeAudioConfigBaseToParcel()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalLocal.cpp | 116 config->sample_rate, config->format, config->channel_mask, in openOutputStream() 141 config->sample_rate, config->format, config->channel_mask, in openInputStream()
|
/frameworks/base/core/proto/android/stats/mediametrics/ |
D | mediametrics.proto | 61 optional int64 channel_mask = 14; field 88 optional int64 channel_mask = 14; field 116 optional int64 channel_mask = 5; field
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 100 offloadInfo.channel_mask = channelMask; in testTrack()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1019 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt() 1089 .channel_mask = config->channel_mask }; in getOutputForAttr() 1121 ? (config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) : config->channel_mask; in getOutputForDevices() 1360 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor() 1367 sourceConfig->channel_mask = audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdAudioProfileFor() 1436 patch->sources[0].channel_mask, patch->sources[0].sample_rate); in setMsdPatch() 1928 config->format, config->channel_mask, session, flags, toString(*attr).c_str()); in getInputForAttr() 2118 audio_channel_mask_t profileChannelMask = config->channel_mask; in getInputForDevice() 2133 config->sample_rate, config->format, config->channel_mask, flags); in getInputForDevice() 2188 lConfig.channel_mask = profileChannelMask; in getInputForDevice() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 462 recParamData[1] = (jint) inChannelMaskFromNative(clientConfig->channel_mask); in android_media_AudioSystem_recording_callback() 466 recParamData[4] = (jint) inChannelMaskFromNative(deviceConfig->channel_mask); in android_media_AudioSystem_recording_callback() 793 nAudioGainConfig->channel_mask = nMask; in convertAudioGainConfigToNative() 845 nAudioPortConfig->channel_mask = nMask; in convertAudioPortConfigToNative() 846 if (nAudioPortConfig->channel_mask != AUDIO_CHANNEL_NONE) { in convertAudioPortConfigToNative() 1006 numValues = audio_channel_count_from_in_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1008 numValues = audio_channel_count_from_out_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1019 nMask = nAudioPortConfig->gain.channel_mask; in convertAudioPortConfigFromNative() 1063 nMask = nAudioPortConfig->channel_mask; in convertAudioPortConfigFromNative() 1240 audio_channel_mask_t nMask = nAudioPort->gains[j].channel_mask; in convertAudioPortFromNative() [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 209 config.channel_mask = channelMask; in getOutputForAttr()
|
/frameworks/av/media/libstagefright/ |
D | AudioPlayer.cpp | 190 offloadInfo.channel_mask = channelMask; in start()
|