/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionVisualizer.cpp | 52 Parameter aidlParam; in setParameter() local 56 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, captureSamples, value); in setParameter() 62 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, scalingMode, mode); in setParameter() 66 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, latencyMs, value); in setParameter() 72 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, measurementMode, mode); in setParameter() 79 aidlParam = MAKE_SPECIFIC_PARAMETER(Visualizer, visualizer, vendor, ext); in setParameter() 83 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 94 Parameter aidlParam; in getParameter() local 99 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 101 aidlParam, Visualizer, visualizer, Visualizer::captureSamples, int32_t)); in getParameter() [all …]
|
D | AidlConversionAgc1.cpp | 47 Parameter aidlParam = MAKE_SPECIFIC_PARAMETER(AutomaticGainControlV1, automaticGainControlV1, in setParameterLevel() local 49 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterLevel() 55 Parameter aidlParam = MAKE_SPECIFIC_PARAMETER(AutomaticGainControlV1, automaticGainControlV1, in setParameterGain() local 57 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterGain() 63 Parameter aidlParam = MAKE_SPECIFIC_PARAMETER(AutomaticGainControlV1, automaticGainControlV1, in setParameterLimiterEnable() local 65 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterLimiterEnable() 94 Parameter aidlParam = MAKE_SPECIFIC_PARAMETER(AutomaticGainControlV1, in setParameter() local 96 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 104 Parameter aidlParam; in getParameterLevel() local 105 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameterLevel() [all …]
|
D | AidlConversionAgc2.cpp | 51 Parameter aidlParam; in setParameter() local 54 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 59 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 64 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 72 aidlParam = MAKE_SPECIFIC_PARAMETER(AutomaticGainControlV2, automaticGainControlV2, in setParameter() 78 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 88 Parameter aidlParam; in getParameter() local 94 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 96 aidl::android::aidl2legacy_Parameter_agc_uint32_fixedDigitalGain(aidlParam)); in getParameter() 103 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() [all …]
|
D | AidlConversionEq.cpp | 54 Parameter aidlParam; in setParameter() local 62 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, preset, (int)value); in setParameter() 73 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, bandLevels, bandLevels); in setParameter() 84 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, preset, (int)num); in setParameter() 101 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, bandLevels, bandLevels); in setParameter() 108 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, vendor, ext); in setParameter() 113 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 117 Parameter aidlParam; in getAidlParameter() local 119 RETURN_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getAidlParameter() 120 return aidlParam; in getAidlParameter() [all …]
|
D | AidlConversionSpatializer.cpp | 57 ::aidl::android::hardware::audio::effect::Parameter aidlParam; in isSpatializerParameterSupported() 64 mEffect->getParameter(id, &aidlParam).getStatus() != in isSpatializerParameterSupported() 71 Parameter aidlParam; in setParameter() local 87 aidlParam = MAKE_SPECIFIC_PARAMETER(Spatializer, spatializer, in setParameter() 97 aidlParam = MAKE_SPECIFIC_PARAMETER(Spatializer, spatializer, headTrackingMode, in setParameter() 118 aidlParam = MAKE_SPECIFIC_PARAMETER(Spatializer, spatializer, in setParameter() 137 aidlParam = MAKE_SPECIFIC_PARAMETER(Spatializer, spatializer, in setParameter() 139 if (status_t status = statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 145 aidlParam = MAKE_SPECIFIC_PARAMETER(Spatializer, spatializer, headTrackingSensorId, in setParameter() 147 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() [all …]
|
D | AidlConversionAec.cpp | 53 Parameter aidlParam; in setParameter() local 58 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 63 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 71 aidlParam = MAKE_SPECIFIC_PARAMETER(AcousticEchoCanceler, acousticEchoCanceler, vendor, in setParameter() 73 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in setParameter() 78 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 89 Parameter aidlParam; in getParameter() local 98 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 100 aidl::android::aidl2legacy_Parameter_aec_uint32_echoDelay(aidlParam)); in getParameter() 108 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() [all …]
|
D | AidlConversionNoiseSuppression.cpp | 51 Parameter aidlParam; in setParameter() local 54 aidlParam = MAKE_SPECIFIC_PARAMETER(NoiseSuppression, noiseSuppression, level, in setParameter() 59 aidlParam = MAKE_SPECIFIC_PARAMETER(NoiseSuppression, noiseSuppression, type, in setParameter() 67 aidlParam = MAKE_SPECIFIC_PARAMETER(NoiseSuppression, noiseSuppression, vendor, ext); in setParameter() 71 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 82 Parameter aidlParam; in getParameter() local 87 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 89 GET_PARAMETER_SPECIFIC_FIELD(aidlParam, NoiseSuppression, noiseSuppression, in getParameter() 97 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 99 GET_PARAMETER_SPECIFIC_FIELD(aidlParam, NoiseSuppression, noiseSuppression, in getParameter()
|
D | AidlConversionVirtualizer.cpp | 54 Parameter aidlParam; in setParameter() local 62 aidlParam = MAKE_SPECIFIC_PARAMETER(Virtualizer, virtualizer, strengthPm, strength); in setParameter() 74 aidlParam = MAKE_SPECIFIC_PARAMETER(Virtualizer, virtualizer, device, deviceDesc); in setParameter() 81 aidlParam = MAKE_SPECIFIC_PARAMETER(Virtualizer, virtualizer, vendor, ext); in setParameter() 85 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 95 Parameter aidlParam; in getParameter() local 107 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 109 aidlParam, Virtualizer, virtualizer, Virtualizer::strengthPm, int32_t)); in getParameter() 128 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 130 aidlParam, Virtualizer, virtualizer, Virtualizer::speakerAngles, in getParameter() [all …]
|
D | AidlConversionDynamicsProcessing.cpp | 52 Parameter aidlParam; in setParameter() local 58 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, inputGain, in setParameter() 65 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, in setParameter() 73 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, preEq, in setParameter() 80 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, postEq, in setParameter() 87 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, mbc, in setParameter() 94 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, preEqBand, in setParameter() 101 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, postEqBand, in setParameter() 108 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, mbcBand, in setParameter() 115 aidlParam = MAKE_SPECIFIC_PARAMETER(DynamicsProcessing, dynamicsProcessing, limiter, in setParameter() [all …]
|
D | AidlConversionDownmix.cpp | 53 Parameter aidlParam; in setParameter() local 56 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 64 aidlParam = MAKE_SPECIFIC_PARAMETER(Downmix, downmix, vendor, ext); in setParameter() 68 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 79 Parameter aidlParam; in getParameter() local 83 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 85 aidl::android::aidl2legacy_Parameter_Downmix_int16_type(aidlParam)); in getParameter()
|
D | AidlConversionLoudnessEnhancer.cpp | 52 Parameter aidlParam; in setParameter() local 55 aidlParam = MAKE_SPECIFIC_PARAMETER(LoudnessEnhancer, loudnessEnhancer, gainMb, gain); in setParameter() 62 aidlParam = MAKE_SPECIFIC_PARAMETER(LoudnessEnhancer, loudnessEnhancer, vendor, ext); in setParameter() 66 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 79 Parameter aidlParam; in getParameter() local 82 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 84 aidlParam, LoudnessEnhancer, loudnessEnhancer, LoudnessEnhancer::gainMb, in getParameter()
|
D | AidlConversionPresetReverb.cpp | 52 Parameter aidlParam; in setParameter() local 59 aidlParam = MAKE_SPECIFIC_PARAMETER(PresetReverb, presetReverb, preset, in setParameter() 65 aidlParam = MAKE_SPECIFIC_PARAMETER(PresetReverb, presetReverb, vendor, ext); in setParameter() 68 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 81 Parameter aidlParam; in getParameter() local 84 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 86 GET_PARAMETER_SPECIFIC_FIELD(aidlParam, PresetReverb, presetReverb, in getParameter()
|
D | AidlConversionBassBoost.cpp | 55 Parameter aidlParam; in setParameter() local 58 aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() 70 aidlParam = MAKE_SPECIFIC_PARAMETER(BassBoost, bassBoost, vendor, ext); in setParameter() 75 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 86 Parameter aidlParam; in getParameter() local 92 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 94 aidl::android::aidl2legacy_Parameter_BassBoost_uint16_strengthPm(aidlParam)); in getParameter()
|
D | AidlConversionVendorExtension.cpp | 54 Parameter aidlParam = VALUE_OR_RETURN_STATUS( in setParameter() local 56 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 63 Parameter aidlParam; in getParameter() local 64 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 67 ::aidl::android::aidl2legacy_Parameter_EffectParameterWriter(aidlParam, param)); in getParameter()
|
D | AidlConversionHapticGenerator.cpp | 51 Parameter aidlParam; in setParameter() local 61 aidlParam = MAKE_SPECIFIC_PARAMETER(HapticGenerator, hapticGenerator, hapticScales, in setParameter() 75 aidlParam = in setParameter() 83 aidlParam = MAKE_SPECIFIC_PARAMETER(HapticGenerator, hapticGenerator, vendor, ext); in setParameter() 88 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter()
|
D | AidlConversionEnvReverb.cpp | 58 Parameter aidlParam; \ 64 aidlParam = MAKE_SPECIFIC_PARAMETER( \ 67 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); \ 83 Parameter aidlParam; \ 86 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); \ 88 GET_PARAMETER_SPECIFIC_FIELD(aidlParam, EnvironmentalReverb, environmentalReverb, \ 172 Parameter aidlParam = MAKE_SPECIFIC_PARAMETER(EnvironmentalReverb, in setParameter() local 174 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in setParameter()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectConversionHelperAidl.cpp | 197 Parameter aidlParam = UNION_MAKE(Parameter, common, common); in handleSetConfig() local 198 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in handleSetConfig() 412 Parameter aidlParam = UNION_MAKE(Parameter, common, mCommon); in handleSetOffload() local 413 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in handleSetOffload()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 409 static int aidl2hidlModelParameter(int aidlParam) { in aidl2hidlModelParameter() argument 410 switch (aidlParam) { in aidl2hidlModelParameter()
|