Lines Matching refs:param
44 status_t AidlConversionAgc1::setParameterLevel(EffectParamReader& param) { in setParameterLevel() argument
46 RETURN_STATUS_IF_ERROR(param.readFromValue(&level)); in setParameterLevel()
52 status_t AidlConversionAgc1::setParameterGain(EffectParamReader& param) { in setParameterGain() argument
54 RETURN_STATUS_IF_ERROR(param.readFromValue(&gain)); in setParameterGain()
60 status_t AidlConversionAgc1::setParameterLimiterEnable(EffectParamReader& param) { in setParameterLimiterEnable() argument
62 RETURN_STATUS_IF_ERROR(param.readFromValue(&enable)); in setParameterLimiterEnable()
68 status_t AidlConversionAgc1::setParameter(EffectParamReader& param) { in setParameter() argument
70 if (OK != param.readFromParameter(&type)) { in setParameter()
71 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in setParameter()
76 return setParameterLevel(param); in setParameter()
79 return setParameterGain(param); in setParameter()
82 return setParameterLimiterEnable(param); in setParameter()
85 RETURN_STATUS_IF_ERROR(setParameterLevel(param)); in setParameter()
86 RETURN_STATUS_IF_ERROR(setParameterGain(param)); in setParameter()
87 RETURN_STATUS_IF_ERROR(setParameterLimiterEnable(param)); in setParameter()
93 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(param)); in setParameter()
101 status_t AidlConversionAgc1::getParameterLevel(EffectParamWriter& param) { in getParameterLevel() argument
109 return param.writeToValue(&level); in getParameterLevel()
112 status_t AidlConversionAgc1::getParameterGain(EffectParamWriter& param) { in getParameterGain() argument
120 return param.writeToValue(&gain); in getParameterGain()
123 status_t AidlConversionAgc1::getParameterLimiterEnable(EffectParamWriter& param) { in getParameterLimiterEnable() argument
131 return param.writeToValue(&enable); in getParameterLimiterEnable()
134 status_t AidlConversionAgc1::getParameter(EffectParamWriter& param) { in getParameter() argument
136 if (OK != param.readFromParameter(&type)) { in getParameter()
137 ALOGE("%s invalid param %s", __func__, param.toString().c_str()); in getParameter()
142 return getParameterLevel(param); in getParameter()
145 return getParameterGain(param); in getParameter()
148 return getParameterLimiterEnable(param); in getParameter()
151 RETURN_STATUS_IF_ERROR(getParameterLevel(param)); in getParameter()
152 RETURN_STATUS_IF_ERROR(getParameterGain(param)); in getParameter()
153 RETURN_STATUS_IF_ERROR(getParameterLimiterEnable(param)); in getParameter()
157 VENDOR_EXTENSION_GET_AND_RETURN(AutomaticGainControlV1, automaticGainControlV1, param); in getParameter()