/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() 139 if ((status = parcel->writeUint32(mGain.channel_mask)) != NO_ERROR) return status; in writeToParcel() 156 if ((status = parcel->readUint32(&mGain.channel_mask)) != NO_ERROR) return status; in readFromParcel()
|
D | AudioPort.cpp | 158 mChannelMask = config->channel_mask; in applyAudioPortConfig() 197 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig() 240 mGain.channel_mask == other->mGain.channel_mask && in equals() 256 if ((status = parcel->writeUint32(mGain.channel_mask)) != NO_ERROR) return status; in writeToParcel() 276 if ((status = parcel->readUint32(&mGain.channel_mask)) != NO_ERROR) return status; in readFromParcel()
|
/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 | 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 | 333 fullConfig.channel_mask = config->channel_mask; in openMmapStream() 795 if (!audio_is_output_channel(input.config.channel_mask)) { in createTrack() 796 ALOGE("createTrack() invalid channel mask %#x", input.config.channel_mask); in createTrack() 840 input.config.format, input.config.channel_mask, in createTrack() 895 auto inChannelMask = audio_channel_mask_out_to_in(input.config.channel_mask); in createTrack() 919 input.config.channel_mask, in createTrack() 1645 proposed.channel_mask = channelMask; in getInputBufferSize() 1974 if (!audio_is_input_channel(input.config.channel_mask)) { in createRecord() 1975 ALOGE("createRecord() invalid channel mask %#x", input.config.channel_mask); in createRecord() 2037 input.config.format, input.config.channel_mask, in createRecord() [all …]
|
D | AudioStreamOut.cpp | 144 config->channel_mask, in open()
|
/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/media/libaudiofoundation/include/media/ |
D | AudioGain.h | 38 void setChannelMask(audio_channel_mask_t mask) { mGain.channel_mask = mask; } in setChannelMask() 39 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask()
|
/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/services/audiopolicy/common/managerdefinitions/src/ |
D | ClientDescriptor.cpp | 47 mConfig.format, mConfig.sample_rate, mConfig.channel_mask); in dump() 89 {config.sample_rate, config.channel_mask, config.format}, AUDIO_PORT_HANDLE_NONE, in SourceClientDescriptor()
|
D | HwModule.cpp | 49 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 116 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addInputProfile() 126 name.c_str(), config->sample_rate, config->channel_mask); in addInputProfile()
|
D | AudioOutputDescriptor.cpp | 55 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 483 lConfig.channel_mask = mChannelMask; in open() 496 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open() 523 mChannelMask = lConfig.channel_mask; in open()
|
D | IOProfile.cpp | 62 .channel_mask = channelMask, in isCompatibleProfile()
|
D | AudioInputDescriptor.cpp | 204 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 219 lConfig.channel_mask = mChannelMask; in open() 248 mChannelMask = lConfig.channel_mask; in open()
|
D | PolicyAudioPort.cpp | 78 config->channel_mask, config->format); in checkExactAudioProfile()
|
/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 | 78 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel() 102 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/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/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/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 173 config.channel_mask = channelMask; in getOutputForAttr() 196 config.channel_mask = channelMask; in getInputForAttr() 572 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 611 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 651 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 685 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in SetUp() 870 audioConfig.channel_mask = AUDIO_CHANNEL_IN_STEREO; in SetUp()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 991 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt() 1060 .channel_mask = config->channel_mask, in getOutputForAttr() 1094 ? (config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) : config->channel_mask; in getOutputForDevices() 1333 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor() 1348 sourceConfig->channel_mask = audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdAudioProfileFor() 1417 patch->sources[0].channel_mask, patch->sources[0].sample_rate); in setMsdPatch() 1912 config->format, config->channel_mask, session, flags, toString(*attr).c_str()); in getInputForAttr() 2102 audio_channel_mask_t profileChannelMask = config->channel_mask; in getInputForDevice() 2117 config->sample_rate, config->format, config->channel_mask, flags); in getInputForDevice() 2172 lConfig.channel_mask = profileChannelMask; in getInputForDevice() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 100 offloadInfo.channel_mask = channelMask; in testTrack()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 463 recParamData[1] = (jint) inChannelMaskFromNative(clientConfig->channel_mask); in android_media_AudioSystem_recording_callback() 467 recParamData[4] = (jint) inChannelMaskFromNative(deviceConfig->channel_mask); in android_media_AudioSystem_recording_callback() 794 nAudioGainConfig->channel_mask = nMask; in convertAudioGainConfigToNative() 846 nAudioPortConfig->channel_mask = nMask; in convertAudioPortConfigToNative() 847 if (nAudioPortConfig->channel_mask != AUDIO_CHANNEL_NONE) { in convertAudioPortConfigToNative() 1007 numValues = audio_channel_count_from_in_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1009 numValues = audio_channel_count_from_out_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1020 nMask = nAudioPortConfig->gain.channel_mask; in convertAudioPortConfigFromNative() 1064 nMask = nAudioPortConfig->channel_mask; in convertAudioPortConfigFromNative() 1241 audio_channel_mask_t nMask = nAudioPort->gains[j].channel_mask; in convertAudioPortFromNative() [all …]
|