Home
last modified time | relevance | path

Searched refs:getQFactor (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DVibrator.java275 public float getQFactor() { in getQFactor() method in Vibrator
276 return getInfo().getQFactor(); in getQFactor()
H A DSystemVibrator.java332 floatPropertyIntersection(vibrators, VibratorInfo::getQFactor), in MultiVibratorInfo()
H A DVibratorInfo.java385 public float getQFactor() { in getQFactor() method in VibratorInfo
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibratorTest.java242 assertTrue(Float.isNaN(info.getQFactor())); in getQFactorAndResonantFrequency_noVibrator_returnsNaN()
261 assertTrue(Float.isNaN(info.getQFactor())); in getQFactorAndResonantFrequency_differentValues_returnsNaN()
270 assertTrue(Float.isNaN(info.getQFactor())); in getQFactorAndResonantFrequency_differentValues_returnsNaN()
292 assertEquals(10f, info.getQFactor(), TEST_TOLERANCE); in getQFactorAndResonantFrequency_sameValues_returnsValue()
H A DVibratorInfoTest.java306 .setQFactor(complete.getQFactor() + 3f) in testEquals()
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp226 jmethodID getQFactor; member
2905 vibratorInfo.qFactor = env->CallFloatMethod(jVibrator.get(), gVibratorMethods.getQFactor); in android_media_AudioSystem_setVibratorInfos()
3637 gVibratorMethods.getQFactor = GetMethodIDOrDie(env, vibratorClass, "getQFactor", "()F"); in register_android_media_AudioSystem()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibratorManagerServiceTest.java424 assertTrue(Float.isNaN(info.getQFactor())); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt34070 method public float getQFactor();