/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 | 244 config.channel_mask = patch->sinks[0].channel_mask; in createAudioPatch() 277 config.channel_mask = patch->sources[0].channel_mask; in createAudioPatch() 279 config.channel_mask = audio_channel_in_mask_from_count( in createAudioPatch() 301 thread.get(), config.channel_mask); in createAudioPatch()
|
D | AudioFlinger.cpp | 339 fullConfig.channel_mask = config->channel_mask; in openMmapStream() 375 config->channel_mask = thread->channelMask(); in openMmapStream() 805 if (!audio_is_output_channel(input.config.channel_mask)) { in createTrack() 806 ALOGE("createTrack() invalid channel mask %#x", input.config.channel_mask); in createTrack() 850 input.config.format, input.config.channel_mask, in createTrack() 905 auto inChannelMask = audio_channel_mask_out_to_in(input.config.channel_mask); in createTrack() 929 input.config.channel_mask, in createTrack() 1683 config.channel_mask = testChannelMask; in getInputBufferSize() 1695 if (config.sample_rate != sampleRate || config.channel_mask != channelMask || in getInputBufferSize() 1699 audio_channel_count_from_in_mask(config.channel_mask); in getInputBufferSize() [all …]
|
D | AudioStreamOut.cpp | 144 config->channel_mask, in open()
|
/frameworks/av/services/mediametrics/ |
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 | 106 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in open() 112 config.channel_mask = (aaudioSamplesPerFrame == AAUDIO_UNSPECIFIED) in open() 200 ? audio_channel_count_from_out_mask(config.channel_mask) in open() 201 : audio_channel_count_from_in_mask(config.channel_mask)); in open()
|
/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 | 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() 489 lConfig.channel_mask = mChannelMask; in open() 502 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open() 529 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 | 82 mFormat.channel_mask = (audio_channel_mask_t)parcel->readInt32(); in readFromParcel() 107 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/managerdefault/ |
D | AudioPolicyManager.cpp | 1018 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt() 1100 .channel_mask = config->channel_mask, in getOutputForAttr() 1135 audio_channel_count_from_out_mask(config->channel_mask) <= 2) { in openDirectOutput() 1149 devices, config->sample_rate, config->format, config->channel_mask, in openDirectOutput() 1165 (config->channel_mask == desc->getChannelMask()) && in openDirectOutput() 1208 (config->channel_mask != 0 && config->channel_mask != outputDesc->getChannelMask())) { in openDirectOutput() 1212 config->channel_mask, outputDesc->getChannelMask()); in openDirectOutput() 1246 ? (config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) : config->channel_mask; in getOutputForDevices() 1278 directConfig.channel_mask = channelMask; in getOutputForDevices() 1386 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdAudioProfileFor() [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 179 config.channel_mask = channelMask; in getOutputForAttr() 204 config.channel_mask = channelMask; in getInputForAttr() 584 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 623 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 663 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in TEST_F() 697 audioConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in SetUp() 882 audioConfig.channel_mask = AUDIO_CHANNEL_IN_STEREO; in SetUp()
|
/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 | 501 recParamData[1] = (jint) inChannelMaskFromNative(clientConfig->channel_mask); in android_media_AudioSystem_recording_callback() 505 recParamData[4] = (jint) inChannelMaskFromNative(deviceConfig->channel_mask); in android_media_AudioSystem_recording_callback() 832 nAudioGainConfig->channel_mask = nMask; in convertAudioGainConfigToNative() 884 nAudioPortConfig->channel_mask = nMask; in convertAudioPortConfigToNative() 885 if (nAudioPortConfig->channel_mask != AUDIO_CHANNEL_NONE) { in convertAudioPortConfigToNative() 1045 numValues = audio_channel_count_from_in_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1047 numValues = audio_channel_count_from_out_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative() 1058 nMask = nAudioPortConfig->gain.channel_mask; in convertAudioPortConfigFromNative() 1102 nMask = nAudioPortConfig->channel_mask; in convertAudioPortConfigFromNative() 1296 audio_channel_mask_t nMask = nAudioPort->gains[j].channel_mask; in convertAudioPortFromNative() [all …]
|