Lines Matching refs:preset
62 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, preset, (int)value); in setParameter()
84 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, preset, (int)num); in setParameter()
124 Parameter aidlParam = VALUE_OR_RETURN_STATUS(getAidlParameter(Equalizer::preset)); in getParameterPreset()
126 Equalizer::preset, int32_t)); in getParameterPreset()
139 for (const auto& preset : presets) { in getParameterPresetName() local
140 if (presetIdx == preset.index) { in getParameterPresetName()
141 return preset.name; in getParameterPresetName()
261 int32_t preset = VALUE_OR_RETURN_STATUS(getParameterPreset()); in getParameter() local
262 return param.writeToValue((uint16_t*)&preset); in getParameter()
271 std::erase_if(presets, [](const auto& preset) { return preset.index < 0; }); in getParameter() argument
275 for (const auto& preset : presets) { in getParameter() local
276 if (preset.index >= num || 0 != uniqueIndices.count(preset.index)) { in getParameter()
279 uniqueIndices.insert(preset.index); in getParameter()
288 int32_t preset = VALUE_OR_RETURN_STATUS(getParameterPreset()); in getParameter() local
289 if (OK != param.writeToValue((uint16_t*)&preset)) { in getParameter()