Searched refs:bandLevels (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionEq.cpp | 72 std::vector<Equalizer::BandLevel> bandLevels = {{.index = band, .levelMb = level}}; in setParameter() local 73 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, bandLevels, bandLevels); in setParameter() 92 std::vector<Equalizer::BandLevel> bandLevels; in setParameter() local 99 bandLevels.push_back(level); in setParameter() 101 aidlParam = MAKE_SPECIFIC_PARAMETER(Equalizer, equalizer, bandLevels, bandLevels); in setParameter() 157 Parameter aidlParam = VALUE_OR_RETURN_STATUS(getAidlParameter(Equalizer::bandLevels)); in getParameter() 158 const auto& bandLevels = VALUE_OR_RETURN_STATUS(GET_PARAMETER_SPECIFIC_FIELD( in getParameter() local 159 aidlParam, Equalizer, equalizer, Equalizer::bandLevels, in getParameter() 161 uint16_t bands = bandLevels.size(); in getParameter() 170 if (r.min.getTag() == Equalizer::bandLevels && in getParameter() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Equalizer.java | 450 public short[] bandLevels = null; field in Equalizer.Settings 485 bandLevels = new short[numBands]; in Settings() 491 bandLevels[i] = Short.parseShort(st.nextToken()); in Settings() 507 str = str.concat(";band"+(i+1)+"Level="+Short.toString(bandLevels[i])); in toString() 529 settings.bandLevels = new short[mNumBands]; in getProperties() 531 settings.bandLevels[i] = byteArrayToShort(param, 4 + 2*i); in getProperties() 546 if (settings.numBands != settings.bandLevels.length || in setProperties() 555 shortToByteArray(settings.bandLevels[i])); in setProperties()
|
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/ |
D | BundleContext.cpp | 422 std::vector<Equalizer::BandLevel> bandLevels; in setEqualizerPreset() local 423 bandLevels.reserve(lvm::MAX_NUM_BANDS); in setEqualizerPreset() 425 bandLevels.emplace_back(Equalizer::BandLevel{static_cast<int32_t>(i), in setEqualizerPreset() 429 RetCode ret = updateControlParameter(bandLevels); in setEqualizerPreset() 438 RetCode BundleContext::setEqualizerBandLevels(const std::vector<Equalizer::BandLevel>& bandLevels) { in setEqualizerBandLevels() argument 439 RETURN_VALUE_IF(bandLevels.size() > lvm::MAX_NUM_BANDS || bandLevels.empty(), in setEqualizerBandLevels() 442 RetCode ret = updateControlParameter(bandLevels); in setEqualizerBandLevels() 446 LOG(ERROR) << __func__ << " failed with " << ::android::internal::ToString(bandLevels); in setEqualizerBandLevels() 452 std::vector<Equalizer::BandLevel> bandLevels; in getEqualizerBandLevels() local 453 bandLevels.reserve(lvm::MAX_NUM_BANDS); in getEqualizerBandLevels() [all …]
|
D | BundleContext.h | 59 RetCode setEqualizerBandLevels(const std::vector<Equalizer::BandLevel>& bandLevels); 132 RetCode updateControlParameter(const std::vector<Equalizer::BandLevel>& bandLevels); 133 bool isBandLevelIndexInRange(const std::vector<Equalizer::BandLevel>& bandLevels) const;
|
D | EffectBundleAidl.cpp | 181 case Equalizer::bandLevels: in setParameterEqualizer() 182 RETURN_IF(mContext->setEqualizerBandLevels(eq.get<Equalizer::bandLevels>()) != in setParameterEqualizer() 288 case Equalizer::bandLevels: { in getParameterEqualizer() 289 eqParam.set<Equalizer::bandLevels>(mContext->getEqualizerBandLevels()); in getParameterEqualizer()
|
D | BundleTypes.h | 74 MAKE_RANGE(Equalizer, bandLevels,
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioeffect_analyser.cpp | 314 expGaindB[i] = ((int16_t)settings->bandLevels[i]) / 100.0f; // gain in milli bels in TEST()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16018 field public short[] bandLevels;
|
/frameworks/base/core/api/ |
D | current.txt | 25769 field public short[] bandLevels;
|