Searched refs:getResonantFrequencyHz (Results 1 – 9 of 9) sorted by relevance
64 return Float.isNaN(info.getResonantFrequencyHz()) ? 0 : info.getResonantFrequencyHz(); in clampFrequency()
79 if (Float.isNaN(info.getResonantFrequencyHz())) { in fillEmptyFrequency()82 return frequencyHz == 0 ? info.getResonantFrequencyHz() : frequencyHz; in fillEmptyFrequency()
110 if (Float.isNaN(info.getResonantFrequencyHz())) { in fillEmptyFrequency()113 return frequencyHz == 0 ? info.getResonantFrequencyHz() : frequencyHz; in fillEmptyFrequency()
99 if (Float.isNaN(info.getResonantFrequencyHz())) { in fillEmptyFrequency()102 return frequencyHz == 0 ? info.getResonantFrequencyHz() : frequencyHz; in fillEmptyFrequency()
176 assertTrue(Float.isNaN(info.getResonantFrequencyHz())); in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()185 assertTrue(Float.isNaN(info.getResonantFrequencyHz())); in testGetQFactorAndResonantFrequency_differentValues_returnsNaN()208 assertEquals(11f, info.getResonantFrequencyHz(), TEST_TOLERANCE); in testGetQFactorAndResonantFrequency_sameValues_returnsValue()
210 VibratorInfo::getResonantFrequencyHz); in frequencyProfileIntersection()
273 return getInfo().getResonantFrequencyHz(); in getResonantFrequency()
433 public float getResonantFrequencyHz() { in getResonantFrequencyHz() method in VibratorInfo
432 assertEquals(123.f, info.getResonantFrequencyHz(), 0.01 /*tolerance*/); in getVibratorInfo_vibratorFailedLoadAfterSystemReady_returnsInfoForVibrator()457 assertEquals(123.f, info.getResonantFrequencyHz(), 0.01 /*tolerance*/); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()476 assertEquals(123.f, info.getResonantFrequencyHz(), 0.01 /*tolerance*/); in getVibratorInfo_vibratorFailedThenSuccessfulLoad_returnsNullThenInfo()