Lines Matching refs:mHwApi
66 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
71 if (!mHwApi->setState(true)) { in Vibrator()
76 mHwApi->setAutocal(autocal); in Vibrator()
105 mHwApi->setOlLraPeriod(lraPeriod); in Vibrator()
117 if (mHwApi->hasRtpInput()) { in getCapabilities()
134 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on()
135 if (!mHwApi->setDuration(timeoutMs)) { in on()
140 mHwApi->setMode(mode); in on()
142 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on()
143 mHwApi->setOdClamp(config->odClamp); in on()
144 mHwApi->setOlLraPeriod(config->olLraPeriod); in on()
147 if (!mHwApi->setActivate(1)) { in on()
166 if (!mHwApi->setActivate(0)) { in off()
181 if (!mHwApi->setRtpInput(rtp_input)) { in setAmplitude()
224 mHwApi->debug(fd); in dump()
322 mHwApi->setSequencer(std::to_string(index) + " 0"); in performEffect()
323 mHwApi->setScale(scale); in performEffect()
362 if (!mHwApi->setLpTriggerEffect(index)) { in alwaysOnEnable()
366 if (!mHwApi->setLpTriggerScale(scale)) { in alwaysOnEnable()
377 mHwApi->setLpTriggerEffect(0); in alwaysOnDisable()