Searched refs:qFactor (Results 1 – 13 of 13) sorted by relevance
46 float qFactor; in doMain() local50 auto status = hal->call(&aidl::IVibrator::getQFactor, &qFactor); in doMain()58 std::cout << "Q Factor: " << qFactor << std::endl; in doMain()
26 float qFactor;
104 float qFactor, @NonNull FrequencyMapping frequencyMapping) { in VibratorInfo() argument114 mQFactor = qFactor; in VibratorInfo()766 public Builder setQFactor(float qFactor) { in setQFactor() argument767 mQFactor = qFactor; in setQFactor()
279 public void setQFactor(float qFactor) { in setQFactor() argument280 mQFactor = qFactor; in setQFactor()
294 const float qFactor = *((float *) value + 1); in HapticGenerator_SetParameter() local297 context->param.bsfZeroQ = isnan(qFactor) ? DEFAULT_BSF_POLE_Q : qFactor; in HapticGenerator_SetParameter()
274 checkHalResult(result.qFactor, state);289 checkHalResult(result.qFactor, state);
461 float qFactor = 0; in getQFactorInternal() local462 auto result = getHal()->getQFactor(&qFactor); in getQFactorInternal()463 return HalResult<float>::fromStatus(result, qFactor); in getQFactorInternal()
216 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()249 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()
388 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()
425 if (info.qFactor.isOk()) { in vibratorGetInfo()427 static_cast<jfloat>(info.qFactor.value())); in vibratorGetInfo()
192 const HalResult<float> qFactor; variable208 qFactor.checkAndLogFailure("getQFactor") || in checkAndLogFailure()
1621 vibratorInfoPtr[1] = vibratorInfo->qFactor; in setVibratorInfo()
2706 vibratorInfo.qFactor = env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getQFactor); in android_media_AudioSystem_setVibratorInfos()