/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 44 config->channel_mask = mGain.channel_mask; in getDefaultConfig() 49 audio_channel_count_from_in_mask(mGain.channel_mask) : in getDefaultConfig() 50 audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig() 71 if ((config->channel_mask & ~mGain.channel_mask) != 0) { in checkConfig() 75 audio_channel_count_from_in_mask(config->channel_mask) : in checkConfig() 76 audio_channel_count_from_out_mask(config->channel_mask); in checkConfig() 97 dst->append(base::StringPrintf("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask)); in dump() 113 mGain.channel_mask == other->mGain.channel_mask && in equals()
|
D | AudioPort.cpp | 287 mChannelMask = config->channel_mask; in applyAudioPortConfig() 329 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig() 377 mGain.channel_mask == other->mGain.channel_mask && in equals()
|
/frameworks/av/services/audioflinger/ |
D | SpdifStreamOut.cpp | 56 mApplicationChannelMask = config->channel_mask; in open() 78 customConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in open() 87 config->channel_mask); in open() 92 customConfig.channel_mask); in open()
|
D | AudioHwDevice.cpp | 55 config->channel_mask); in openOutputStream() 70 config->channel_mask, in openOutputStream()
|
D | AudioStreamOut.cpp | 149 config->channel_mask, in open() 186 result.channel_mask = AUDIO_CHANNEL_INVALID; in getAudioProperties()
|
D | PatchPanel.cpp | 268 config.channel_mask = patch->sinks[0].channel_mask; in createAudioPatch() 302 config.channel_mask = patch->sources[0].channel_mask; in createAudioPatch() 304 config.channel_mask = audio_channel_in_mask_from_count( in createAudioPatch() 333 thread.get(), config.channel_mask); in createAudioPatch()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioCommonTypes.h | 113 lhs.sample_rate == rhs.sample_rate && lhs.channel_mask == rhs.channel_mask && 128 return lhs.sample_rate == rhs.sample_rate && lhs.channel_mask == rhs.channel_mask && 138 return lhs.sample_rate == rhs.sample_rate && lhs.channel_mask == rhs.channel_mask &&
|
/frameworks/av/services/mediametrics/ |
D | statsd_audiotrack.cpp | 86 int64_t channel_mask = -1; in statsd_audiotrack() local 87 if (item->getInt64("android.media.audiotrack.channelMask", &channel_mask)) { in statsd_audiotrack() 88 metrics_proto.set_channel_mask(channel_mask); in statsd_audiotrack() 156 << " channel_mask:" << channel_mask in statsd_audiotrack()
|
D | statsd_audiorecord.cpp | 130 int64_t channel_mask = -1; in statsd_audiorecord() local 131 if (item->getInt64("android.media.audiorecord.channelMask", &channel_mask)) { in statsd_audiorecord() 132 metrics_proto.set_channel_mask(channel_mask); in statsd_audiorecord() 181 << " channel_mask:" << channel_mask in statsd_audiorecord()
|
D | statsd_audiothread.cpp | 120 int32_t channel_mask = -1; in statsd_audiothread() local 121 if (item->getInt32(MM_PREFIX "channelMask", &channel_mask)) { in statsd_audiothread() 122 metrics_proto.set_channel_mask(channel_mask); in statsd_audiothread() 219 << " channel_mask:" << channel_mask in statsd_audiothread()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioGain.h | 40 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask() 41 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 50 audio_format_to_string(mConfig.format), mConfig.sample_rate, mConfig.channel_mask); in dump() 101 {config.sample_rate, config.channel_mask, config.format}, AUDIO_PORT_HANDLE_NONE, in SourceClientDescriptor()
|
D | AudioOutputDescriptor.cpp | 57 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 579 lHalConfig.channel_mask = mChannelMask; in open() 592 lHalConfig.offload_info.channel_mask = lHalConfig.channel_mask; in open() 601 lMixerConfig.channel_mask = lHalConfig.channel_mask; in open() 613 lMixerConfig.channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in open() 634 mChannelMask = lHalConfig.channel_mask; in open() 636 mMixerChannelMask = lMixerConfig.channel_mask; in open()
|
D | HwModule.cpp | 59 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 127 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile() 138 name.c_str(), config->sample_rate, config->channel_mask); in addInputProfile()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 217 config.channel_mask = channelMask; in getOutputForAttr() 247 config.channel_mask = channelMask; in getInputForAttr() 654 ASSERT_EQ(AUDIO_CHANNEL_IN_STEREO, patch->mPatch.sources[0].channel_mask); in TEST_P() 655 ASSERT_EQ(AUDIO_CHANNEL_OUT_STEREO, patch->mPatch.sinks[0].channel_mask); in TEST_P() 711 directConfig.channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in TEST_P() 716 nonDirectConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_P() 721 nonExistentConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_P() 726 msdDirectConfig1.channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in TEST_P() 731 msdDirectConfig2.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_P() 736 msdNonDirectConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_P() [all …]
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 255 config.channel_mask = channelMask; in getOutputForAttr() 284 config.channel_mask = channelMask; in getInputForAttr() 579 audioConfig.channel_mask = getValueFromVector<audio_channel_mask_t>( in registerPolicyMixes() 663 mAudioConfig.channel_mask = in initialize() 686 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in initialize() 714 getOutputForAttr(&playbackRoutedPortId, mAudioConfig.format, mAudioConfig.channel_mask, in playBackReRouting() 776 mAudioConfig.channel_mask = in initialize() 798 getOutputForAttr(&selectedDeviceId, mAudioConfig.format, mAudioConfig.channel_mask, in initialize() 829 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in recordingInjection() 915 config.channel_mask = getValueFromVector<audio_channel_mask_t>(mFdp, kAudioChannelOutMasks); in fuzzGetDirectPlaybackSupport()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | audioflinger_fuzzer.cpp | 220 offloadInfo.channel_mask = channelMask; in invokeAudioTrack() 576 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice() 583 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice() 634 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice() 639 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice() 698 patch.sources[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 700 patch.sources[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 710 patch.sinks[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 712 patch.sinks[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpointMMAP.cpp | 133 config.channel_mask = AAudio_getChannelMaskForOpen( in openWithFormat() 159 config.channel_mask, deviceId); in openWithFormat() 204 config.channel_mask, getDirection() == AAUDIO_DIRECTION_INPUT, in openWithFormat() 205 AAudio_isChannelIndexMask(config.channel_mask))); in openWithFormat()
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 40 .channel_mask = AUDIO_CHANNEL_OUT_STEREO, 45 .channel_mask = AUDIO_CHANNEL_OUT_STEREO,
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 82 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel() 107 parcel->writeInt32(mFormat.channel_mask); in writeToParcel()
|
D | AidlConversion.cpp | 1388 legacy.channel_mask = VALUE_OR_RETURN( in aidl2legacy_AudioGainConfig_audio_gain_config() 1392 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in aidl2legacy_AudioGainConfig_audio_gain_config() 1393 : audio_channel_count_from_out_mask(legacy.channel_mask); in aidl2legacy_AudioGainConfig_audio_gain_config() 1410 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_gain_config_AudioGainConfig() 1413 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in legacy2aidl_audio_gain_config_AudioGainConfig() 1414 : audio_channel_count_from_out_mask(legacy.channel_mask); in legacy2aidl_audio_gain_config_AudioGainConfig() 1991 legacy.channel_mask = in aidl2legacy_AudioPortConfig_audio_port_config() 2033 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_port_config_AudioPortConfig() 2107 const audio_channel_mask_t channel_mask = VALUE_OR_RETURN( in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() local 2115 channel_mask, frame_count, frame_count_hal, latency, port_id); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor() [all …]
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1166 .channel_mask = config->channel_mask, in getOutputForAttrInt() 1197 && (audio_channel_count_from_out_mask(policyDesc->getConfig().channel_mask) < in getOutputForAttrInt() 1198 audio_channel_count_from_out_mask(config->channel_mask)); in getOutputForAttrInt() 1256 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt() 1345 .channel_mask = config->channel_mask, in getOutputForAttr() 1380 audio_channel_count_from_out_mask(config->channel_mask) <= 2) { in openDirectOutput() 1394 devices, config->sample_rate, config->format, config->channel_mask, in openDirectOutput() 1410 (config->channel_mask == desc->getChannelMask()) && in openDirectOutput() 1439 (config->channel_mask != 0 && config->channel_mask != outputDesc->getChannelMask())) { in openDirectOutput() 1443 config->channel_mask, outputDesc->getChannelMask()); in openDirectOutput() [all …]
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 53 audio_channel_count_from_in_mask(config.channel_mask), config.format); in negotiate()
|
D | AudioStreamOutSink.cpp | 51 audio_channel_count_from_out_mask(config.channel_mask), config.format); in negotiate()
|
/frameworks/proto_logging/stats/message/ |
D | mediametrics_message.proto | 61 optional int64 channel_mask = 14; field 88 optional int64 channel_mask = 14; field 116 optional int64 channel_mask = 5; field
|