Home
last modified time | relevance | path

Searched refs:maxAmplitude (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionHapticGenerator.cpp66 float resonantFrequencyHz, qFactor, maxAmplitude; in setParameter() local
68 OK != param.readFromValue(&qFactor) || OK != param.readFromValue(&maxAmplitude)) { in setParameter()
74 .maxAmplitude = maxAmplitude}); in setParameter()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioVibratorInfo.aidl27 float maxAmplitude;
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp173 auto maxAmplitude = std::numeric_limits<uint8_t>::max(); in TEST_F() local
174 ASSERT_TRUE(mWrapper->setAmplitude(1.0f / maxAmplitude).isOk()); in TEST_F()
175 ASSERT_TRUE(mWrapper->setAmplitude(2.0f / maxAmplitude).isUnsupported()); in TEST_F()
176 ASSERT_TRUE(mWrapper->setAmplitude(3.0f / maxAmplitude).isFailed()); in TEST_F()
177 ASSERT_TRUE(mWrapper->setAmplitude(4.0f / maxAmplitude).isFailed()); in TEST_F()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp240 int32_t maxAmplitude = -1; in TEST_F() local
241 status_t status = mStfRecorder->getMaxAmplitude(&maxAmplitude); in TEST_F()
242 ASSERT_EQ(maxAmplitude, 0) << "Invalid value of max amplitude"; in TEST_F()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp42 mParams.mVibratorInfo.maxAmplitude = 0.f; in HapticGeneratorContext()
180 mParams.mVibratorInfo.maxAmplitude /* limit */); in process()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h191 void setHapticMaxAmplitude(float maxAmplitude) final { in setHapticMaxAmplitude() argument
192 mHapticMaxAmplitude = maxAmplitude; in setHapticMaxAmplitude()
DIAfTrack.h351 virtual void setHapticMaxAmplitude(float maxAmplitude) = 0;
DEffects.cpp1603 vibratorInfoPtr[2] = vibratorInfo.maxAmplitude; in setVibratorInfo_l()
DThreads.cpp2925 track->setHapticMaxAmplitude(vibratorInfo->maxAmplitude); in addTrack_l()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp344 const float maxAmplitude = *((float *) value + 2); in HapticGenerator_SetParameter() local
350 context->param.maxHapticAmplitude = maxAmplitude; in HapticGenerator_SetParameter()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp3046 vibratorInfo.maxAmplitude = in android_media_AudioSystem_setVibratorInfos()