/frameworks/av/media/libaudiofoundation/ |
D | AudioGain.cpp | 48 config->channel_mask = mGain.channel_mask; in getDefaultConfig() 54 numValues = audio_channel_count_from_in_mask(mGain.channel_mask); in getDefaultConfig() 56 numValues = audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig() 78 if ((config->channel_mask & ~mGain.channel_mask) != 0) { in checkConfig() 83 numValues = audio_channel_count_from_in_mask(config->channel_mask); in checkConfig() 85 numValues = audio_channel_count_from_out_mask(config->channel_mask); in checkConfig() 107 dst->append(base::StringPrintf("%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask)); in dump() 123 mGain.channel_mask == other->mGain.channel_mask && in equals() 145 legacy2aidl_audio_channel_mask_t_int32_t(mGain.channel_mask)); in writeToParcelable() 168 mGain.channel_mask = VALUE_OR_RETURN_STATUS( in readFromParcelable()
|
D | AudioPort.cpp | 245 mChannelMask = config->channel_mask; in applyAudioPortConfig() 284 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig() 327 mGain.channel_mask == other->mGain.channel_mask && in equals() 349 legacy2aidl_audio_channel_mask_t_int32_t(mGain.channel_mask)); in writeToParcelable() 372 mGain.channel_mask = VALUE_OR_RETURN_STATUS( in readFromParcelable()
|
/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 | 52 config->channel_mask); in openOutputStream() 67 config->channel_mask, in openOutputStream()
|
D | AudioStreamOut.cpp | 144 config->channel_mask, in open() 181 result.channel_mask = AUDIO_CHANNEL_INVALID; in getAudioProperties()
|
D | PatchPanel.cpp | 267 config.channel_mask = patch->sinks[0].channel_mask; in createAudioPatch() 300 config.channel_mask = patch->sources[0].channel_mask; in createAudioPatch() 302 config.channel_mask = audio_channel_in_mask_from_count( in createAudioPatch() 324 thread.get(), config.channel_mask); in createAudioPatch()
|
/frameworks/av/services/mediametrics/ |
D | statsd_audiotrack.cpp | 89 int64_t channel_mask = -1; in statsd_audiotrack() local 90 if (item->getInt64("android.media.audiotrack.channelmask", &channel_mask)) { in statsd_audiotrack() 91 metrics_proto.set_channel_mask(channel_mask); in statsd_audiotrack() 162 << " channel_mask:" << channel_mask in statsd_audiotrack()
|
D | statsd_audiorecord.cpp | 126 int64_t channel_mask = -1; in statsd_audiorecord() local 127 if (item->getInt64("android.media.audiorecord.channelMask", &channel_mask)) { in statsd_audiorecord() 128 metrics_proto.set_channel_mask(channel_mask); in statsd_audiorecord() 178 << " 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/oboeservice/ |
D | AAudioServiceEndpointMMAP.cpp | 134 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in openWithFormat() 140 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in openWithFormat() 229 ? audio_channel_count_from_out_mask(config.channel_mask) in openWithFormat() 230 : audio_channel_count_from_in_mask(config.channel_mask)); in openWithFormat()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 48 mConfig.format, mConfig.sample_rate, mConfig.channel_mask); in dump() 96 {config.sample_rate, config.channel_mask, config.format}, AUDIO_PORT_HANDLE_NONE, in SourceClientDescriptor()
|
D | AudioOutputDescriptor.cpp | 55 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 511 lConfig.channel_mask = mChannelMask; in open() 524 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open() 554 mChannelMask = lConfig.channel_mask; in open()
|
D | HwModule.cpp | 57 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 125 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile() 136 name.c_str(), config->sample_rate, config->channel_mask); in addInputProfile()
|
/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/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 245 config.channel_mask = channelMask; in getOutputForAttr() 273 config.channel_mask = channelMask; in getInputForAttr() 568 audioConfig.channel_mask = getValueFromVector<audio_channel_mask_t>( in registerPolicyMixes() 652 mAudioConfig.channel_mask = in initialize() 675 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in initialize() 703 getOutputForAttr(&playbackRoutedPortId, mAudioConfig.format, mAudioConfig.channel_mask, in playBackReRouting() 765 mAudioConfig.channel_mask = in initialize() 787 getOutputForAttr(&selectedDeviceId, mAudioConfig.format, mAudioConfig.channel_mask, in initialize() 818 mAudioConfig.channel_mask, mAudioConfig.sample_rate, AUDIO_INPUT_FLAG_NONE, in recordingInjection()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | audioflinger_fuzzer.cpp | 219 offloadInfo.channel_mask = channelMask; in invokeAudioTrack() 571 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice() 578 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioInputDevice() 628 config.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice() 633 config.offload_info.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioOutputDevice() 687 patch.sources[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 689 patch.sources[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 699 patch.sinks[i].channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch() 701 patch.sinks[i].gain.channel_mask = getValue(&mFdp, kChannelMasks); in invokeAudioPatch()
|
/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 | 467 legacy.channel_mask = in aidl2legacy_AudioGainConfig_audio_gain_config() 472 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in aidl2legacy_AudioGainConfig_audio_gain_config() 473 : audio_channel_count_from_out_mask(legacy.channel_mask); in aidl2legacy_AudioGainConfig_audio_gain_config() 490 VALUE_OR_RETURN(legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_gain_config_AudioGainConfig() 494 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in legacy2aidl_audio_gain_config_AudioGainConfig() 495 : audio_channel_count_from_out_mask(legacy.channel_mask); in legacy2aidl_audio_gain_config_AudioGainConfig() 1056 legacy.channel_mask = in aidl2legacy_AudioPortConfig_audio_port_config() 1086 VALUE_OR_RETURN(legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_port_config_AudioPortConfig() 1478 legacy.channel_mask = config.channel_mask; in aidl2legacy_AudioOffloadInfo_audio_offload_info_t() 1506 legacy2aidl_audio_channel_mask_t_int32_t(legacy.channel_mask)); in legacy2aidl_audio_offload_info_t_AudioOffloadInfo() [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/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/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
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1093 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt() 1181 .channel_mask = config->channel_mask, in getOutputForAttr() 1216 audio_channel_count_from_out_mask(config->channel_mask) <= 2) { in openDirectOutput() 1230 devices, config->sample_rate, config->format, config->channel_mask, in openDirectOutput() 1246 (config->channel_mask == desc->getChannelMask()) && in openDirectOutput() 1274 (config->channel_mask != 0 && config->channel_mask != outputDesc->getChannelMask())) { in openDirectOutput() 1278 config->channel_mask, outputDesc->getChannelMask()); in openDirectOutput() 1312 ? static_cast<audio_channel_mask_t>(config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) in getOutputForDevices() 1313 : config->channel_mask; in getOutputForDevices() 1345 directConfig.channel_mask = channelMask; in getOutputForDevices() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 100 offloadInfo.channel_mask = channelMask; in testTrack()
|