/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionHapticGenerator.cpp | 66 float resonantFrequencyHz, qFactor, maxAmplitude; in setParameter() local 68 OK != param.readFromValue(&qFactor) || OK != param.readFromValue(&maxAmplitude)) { in setParameter() 73 .qFactor = qFactor, in setParameter()
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandGetQFactor.cpp | 46 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/libeffects/hapticgenerator/aidl/ |
D | HapticGeneratorContext.cpp | 41 mParams.mVibratorInfo.qFactor = DEFAULT_BSF_ZERO_Q; in HapticGeneratorContext() 119 if (::android::audio_utils::safe_isnan(mParams.mVibratorInfo.qFactor)) { in setHgVibratorInformation() 121 mParams.mVibratorInfo.qFactor = DEFAULT_BSF_ZERO_Q; in setHgVibratorInformation() 130 mParams.mVibratorInfo.resonantFrequencyHz, mParams.mVibratorInfo.qFactor, in setHgVibratorInformation() 131 mParams.mVibratorInfo.qFactor / 2.0f, mSampleRate)); in setHgVibratorInformation() 299 mParams.mVibratorInfo.resonantFrequencyHz, mParams.mVibratorInfo.qFactor, in buildProcessingChain() 300 mParams.mVibratorInfo.qFactor / 2.0f, mSampleRate, channelCount); in buildProcessingChain()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioVibratorInfo.aidl | 26 float qFactor;
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 114 float qFactor, @NonNull FrequencyProfile frequencyProfile) { in VibratorInfo() argument 126 mQFactor = qFactor; in VibratorInfo() 812 public Builder setQFactor(float qFactor) { in setQFactor() argument 813 mQFactor = qFactor; in setQFactor()
|
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 322 public void setQFactor(float qFactor) { in setQFactor() argument 323 mQFactor = qFactor; in setQFactor()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 343 const float qFactor = *((float *) value + 1); in HapticGenerator_SetParameter() local 348 context->param.bsfZeroQ = audio_utils::safe_isnan(qFactor) ? DEFAULT_BSF_ZERO_Q : qFactor; in HapticGenerator_SetParameter()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 403 float qFactor = 0; in getQFactorInternal() local 404 auto result = getHal()->getQFactor(&qFactor); in getQFactorInternal() 405 return HalResultFactory::fromStatus<float>(result, qFactor); in getQFactorInternal()
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperHidlV1_0Test.cpp | 216 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F() 249 ASSERT_TRUE(info.qFactor.isUnsupported()); in TEST_F()
|
D | VibratorHalWrapperAidlTest.cpp | 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()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 245 const HalResult<float> qFactor; variable 266 logFailure<float>(qFactor, "getQFactor"); in logFailures() 277 qFactor.shouldRetry() || maxAmplitudes.shouldRetry(); in shouldRetry()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 438 if (info.qFactor.isOk()) { in vibratorGetInfo() 440 static_cast<jfloat>(info.qFactor.value())); in vibratorGetInfo()
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1602 vibratorInfoPtr[1] = vibratorInfo.qFactor; in setVibratorInfo_l()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 3045 vibratorInfo.qFactor = env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getQFactor); in android_media_AudioSystem_setVibratorInfos()
|