Home
last modified time | relevance | path

Searched refs:frequencyResolution (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp432 jfloat frequencyResolution = static_cast<jfloat>(info.frequencyResolution.valueOr(NAN)); in vibratorGetInfo() local
441 minFrequency, resonantFrequency, frequencyResolution, in vibratorGetInfo()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp455 float frequencyResolution = 0; in getFrequencyResolutionInternal() local
456 auto result = getHal()->getFrequencyResolution(&frequencyResolution); in getFrequencyResolutionInternal()
457 return HalResult<float>::fromStatus(result, frequencyResolution); in getFrequencyResolutionInternal()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp215 ASSERT_TRUE(info.frequencyResolution.isUnsupported()); in TEST_F()
248 ASSERT_TRUE(info.frequencyResolution.isUnsupported()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp387 ASSERT_TRUE(failed.frequencyResolution.isFailed()); in TEST_F()
404 ASSERT_EQ(F_RESOLUTION, successful.frequencyResolution.value()); in TEST_F()
480 ASSERT_TRUE(info.frequencyResolution.isUnsupported()); in TEST_F()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h191 const HalResult<float> frequencyResolution; variable
207 frequencyResolution.checkAndLogFailure("getFrequencyResolution") || in checkAndLogFailure()