Searched refs:resonantFrequency (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 101 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 …]
|
D | EffectHapticGenerator.h | 56 float resonantFrequency; member
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioVibratorInfo.aidl | 25 float resonantFrequency;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 444 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/ |
D | VibratorHalWrapperHidlV1_0Test.cpp | 214 ASSERT_TRUE(info.resonantFrequency.isUnsupported()); in TEST_F() 247 ASSERT_TRUE(info.resonantFrequency.isUnsupported()); in TEST_F()
|
D | VibratorHalWrapperAidlTest.cpp | 386 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/ |
D | VibratorHalWrapper.h | 243 const HalResult<float> resonantFrequency; variable 264 logFailure<float>(resonantFrequency, "getResonantFrequency"); in logFailures() 276 resonantFrequency.shouldRetry() || frequencyResolution.shouldRetry() || in shouldRetry()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1601 vibratorInfoPtr[0] = vibratorInfo.resonantFrequency; in setVibratorInfo_l()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 3043 vibratorInfo.resonantFrequency = in android_media_AudioSystem_setVibratorInfos()
|