Home
last modified time | relevance | path

Searched refs:qFactor (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/cmds/idlcli/vibrator/
DCommandGetQFactor.cpp46 float qFactor; in doMain() local
50 auto status = hal->call(&aidl::IVibrator::getQFactor, &qFactor); in doMain()
58 std::cout << "Q Factor: " << qFactor << std::endl; in doMain()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioVibratorInfo.aidl26 float qFactor;
/frameworks/base/core/java/android/os/
DVibratorInfo.java104 float qFactor, @NonNull FrequencyMapping frequencyMapping) { in VibratorInfo() argument
114 mQFactor = qFactor; in VibratorInfo()
766 public Builder setQFactor(float qFactor) { in setQFactor() argument
767 mQFactor = qFactor; in setQFactor()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DFakeVibratorControllerProvider.java279 public void setQFactor(float qFactor) { in setQFactor() argument
280 mQFactor = qFactor; in setQFactor()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp294 const float qFactor = *((float *) value + 1); in HapticGenerator_SetParameter() local
297 context->param.bsfZeroQ = isnan(qFactor) ? DEFAULT_BSF_POLE_Q : qFactor; in HapticGenerator_SetParameter()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp274 checkHalResult(result.qFactor, state);
289 checkHalResult(result.qFactor, state);
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp461 float qFactor = 0; in getQFactorInternal() local
462 auto result = getHal()->getQFactor(&qFactor); in getQFactorInternal()
463 return HalResult<float>::fromStatus(result, qFactor); in getQFactorInternal()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp216 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()
249 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp388 ASSERT_TRUE(failed.qFactor.isFailed()); in TEST_F()
405 ASSERT_EQ(Q_FACTOR, successful.qFactor.value()); in TEST_F()
481 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp425 if (info.qFactor.isOk()) { in vibratorGetInfo()
427 static_cast<jfloat>(info.qFactor.value())); in vibratorGetInfo()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h192 const HalResult<float> qFactor; variable
208 qFactor.checkAndLogFailure("getQFactor") || in checkAndLogFailure()
/frameworks/av/services/audioflinger/
DEffects.cpp1621 vibratorInfoPtr[1] = vibratorInfo->qFactor; in setVibratorInfo()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2706 vibratorInfo.qFactor = env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getQFactor); in android_media_AudioSystem_setVibratorInfos()