Searched refs:resonantFrequencyHz (Results 1 – 2 of 2) sorted by relevance
48 float resonantFrequencyHz; in doMain() local52 auto status = hal->call(&aidl::IVibrator::getResonantFrequency, &resonantFrequencyHz); in doMain()60 std::cout << "Resonant Frequency: " << resonantFrequencyHz << " Hz" << std::endl; in doMain()
526 public FrequencyMapping(float minFrequencyHz, float resonantFrequencyHz, in FrequencyMapping() argument529 mResonantFrequencyHz = resonantFrequencyHz; in FrequencyMapping()539 if (Float.isNaN(resonantFrequencyHz) || Float.isNaN(minFrequencyHz) in FrequencyMapping()541 || resonantFrequencyHz < minFrequencyHz in FrequencyMapping()542 || resonantFrequencyHz > maxFrequencyHz) { in FrequencyMapping()552 resonantFrequencyHz - minFrequencyHz, in FrequencyMapping()553 maxFrequencyHz - resonantFrequencyHz); in FrequencyMapping()555 (minFrequencyHz - resonantFrequencyHz) / safeDelta, in FrequencyMapping()556 (maxFrequencyHz - resonantFrequencyHz) / safeDelta); in FrequencyMapping()