Home
last modified time | relevance | path

Searched refs:resonantFrequencyHz (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionHapticGenerator.cpp66 float resonantFrequencyHz, qFactor, maxAmplitude; in setParameter() local
67 if (OK != param.readFromValue(&resonantFrequencyHz) || in setParameter()
72 HapticGenerator::VibratorInformation info({.resonantFrequencyHz = resonantFrequencyHz, in setParameter()
/frameworks/native/cmds/idlcli/vibrator/
DCommandGetResonantFrequency.cpp48 float resonantFrequencyHz; in doMain() local
52 auto status = hal->call(&aidl::IVibrator::getResonantFrequency, &resonantFrequencyHz); in doMain()
60 std::cout << "Resonant Frequency: " << resonantFrequencyHz << " Hz" << std::endl; in doMain()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp40 mParams.mVibratorInfo.resonantFrequencyHz = DEFAULT_RESONANT_FREQUENCY; in HapticGeneratorContext()
114 if (::android::audio_utils::safe_isnan(mParams.mVibratorInfo.resonantFrequencyHz)) { in setHgVibratorInformation()
117 mParams.mVibratorInfo.resonantFrequencyHz = DEFAULT_RESONANT_FREQUENCY; in setHgVibratorInformation()
126 mParams.mVibratorInfo.resonantFrequencyHz, DEFAULT_BPF_Q, mSampleRate)); in setHgVibratorInformation()
130 mParams.mVibratorInfo.resonantFrequencyHz, mParams.mVibratorInfo.qFactor, in setHgVibratorInformation()
280 mParams.mVibratorInfo.resonantFrequencyHz, DEFAULT_BPF_Q, mSampleRate, channelCount); in buildProcessingChain()
299 mParams.mVibratorInfo.resonantFrequencyHz, mParams.mVibratorInfo.qFactor, in buildProcessingChain()
/frameworks/base/core/java/android/os/
DVibratorInfo.java578 public FrequencyProfile(float resonantFrequencyHz, float minFrequencyHz, in FrequencyProfile() argument
581 mResonantFrequencyHz = resonantFrequencyHz; in FrequencyProfile()
589 boolean isValid = !Float.isNaN(resonantFrequencyHz) in FrequencyProfile()
590 && (resonantFrequencyHz > 0) in FrequencyProfile()
608 && (resonantFrequencyHz >= minFrequencyHz) in FrequencyProfile()
609 && (resonantFrequencyHz <= maxFrequencyHz) in FrequencyProfile()