Home
last modified time | relevance | path

Searched refs:resonantFrequency (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp101 ss << "\t\t- resonant frequency: " << param.resonantFrequency << '\n'; in hapticParamToString()
151 context->param.resonantFrequency = DEFAULT_RESONANT_FREQUENCY; in HapticGenerator_Init()
224 auto bpf = createBPF(param->resonantFrequency, param->bpfQ, sampleRate, channelCount); in HapticGenerator_buildProcessingChain()
243 param->resonantFrequency, param->bsfZeroQ, param->bsfPoleQ, sampleRate, channelCount); in HapticGenerator_buildProcessingChain()
342 const float resonantFrequency = *(float*) value; in HapticGenerator_SetParameter() local
345 context->param.resonantFrequency = in HapticGenerator_SetParameter()
346 audio_utils::safe_isnan(resonantFrequency) ? DEFAULT_RESONANT_FREQUENCY in HapticGenerator_SetParameter()
347 : resonantFrequency; in HapticGenerator_SetParameter()
353 context->param.resonantFrequency, context->param.bsfZeroQ, context->param.bsfPoleQ, in HapticGenerator_SetParameter()
358 bpfCoefs(context->param.resonantFrequency, in HapticGenerator_SetParameter()
[all …]
DEffectHapticGenerator.h56 float resonantFrequency; member
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioVibratorInfo.aidl25 float resonantFrequency;
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp444 jfloat resonantFrequency = static_cast<jfloat>(info.resonantFrequency.valueOr(NAN)); in vibratorGetInfo() local
454 env->NewObject(sFrequencyProfileClass, sFrequencyProfileCtor, resonantFrequency, in vibratorGetInfo()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp214 ASSERT_TRUE(info.resonantFrequency.isUnsupported()); in TEST_F()
247 ASSERT_TRUE(info.resonantFrequency.isUnsupported()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp386 ASSERT_TRUE(failed.resonantFrequency.isFailed()); in TEST_F()
403 ASSERT_EQ(F0, successful.resonantFrequency.value()); in TEST_F()
479 ASSERT_EQ(F0, info.resonantFrequency.value()); in TEST_F()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h243 const HalResult<float> resonantFrequency; variable
264 logFailure<float>(resonantFrequency, "getResonantFrequency"); in logFailures()
276 resonantFrequency.shouldRetry() || frequencyResolution.shouldRetry() || in shouldRetry()
/frameworks/av/services/audioflinger/
DEffects.cpp1601 vibratorInfoPtr[0] = vibratorInfo.resonantFrequency; in setVibratorInfo_l()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp3043 vibratorInfo.resonantFrequency = in android_media_AudioSystem_setVibratorInfos()