Lines Matching refs:mHwApi
182 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
188 if (!mHwApi->setState(true)) { in Vibrator()
193 mHwApi->setAutocal(autocal); in Vibrator()
263 mHwApi->setOlLraPeriod(lraPeriod); in Vibrator()
276 if (!mHwApi->setLpTriggerEffect(lpTrigSupport)) { in Vibrator()
292 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on()
293 if (!mHwApi->setDuration(timeoutMs)) { in on()
298 mHwApi->setMode(mode); in on()
300 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on()
301 mHwApi->setOdClamp(config->odClamp[volOffset]); in on()
302 mHwApi->setOlLraPeriod(config->olLraPeriod); in on()
305 if (!mHwApi->setActivate(1)) { in on()
318 mHwApi->getUsbTemp(&usbTemp); in on()
333 if (!mHwApi->setActivate(0)) { in off()
342 return (mHwApi->hasRtpInput() ? true : false); in supportsAmplitudeControl()
354 if (!mHwApi->setRtpInput(rtp_input)) { in setAmplitude()
409 mHwApi->debug(fd); in debug()
475 mHwApi->setSequencer(WAVEFORM_TICK_EFFECT_SEQ); in performEffect()
480 mHwApi->setSequencer(WAVEFORM_CLICK_EFFECT_SEQ); in performEffect()
485 mHwApi->setSequencer(WAVEFORM_DOUBLE_CLICK_EFFECT_SEQ); in performEffect()
490 mHwApi->setSequencer(WAVEFORM_TICK_EFFECT_SEQ); in performEffect()
495 mHwApi->setSequencer(WAVEFORM_HEAVY_CLICK_EFFECT_SEQ); in performEffect()