Lines Matching refs:mHwApi
71 : mHwApi(std::move(hwapi)), mShortLraPeriod(short_lra_period), mLongLraPeriod(long_lra_period) { in Vibrator()
81 mHwApi.lpTriggerEffect << 1 << std::endl; in Vibrator()
82 if (!mHwApi.lpTriggerEffect) { in Vibrator()
89 mHwApi.ctrlLoop << LOOP_MODE_OPEN << std::endl; in on()
90 mHwApi.duration << timeoutMs << std::endl; in on()
91 if (!mHwApi.duration) { in on()
97 mHwApi.mode << WAVEFORM_MODE << std::endl; in on()
98 mHwApi.lraWaveShape << SINE_WAVE << std::endl; in on()
99 mHwApi.odClamp << mShortVoltageMax << std::endl; in on()
100 mHwApi.olLraPeriod << mShortLraPeriod << std::endl; in on()
102 mHwApi.mode << RTP_MODE << std::endl; in on()
103 mHwApi.lraWaveShape << SQUARE_WAVE << std::endl; in on()
104 mHwApi.odClamp << mLongVoltageMax << std::endl; in on()
105 mHwApi.olLraPeriod << mLongLraPeriod << std::endl; in on()
108 mHwApi.activate << 1 << std::endl; in on()
109 if (!mHwApi.activate) { in on()
123 mHwApi.activate << 0 << std::endl; in off()
124 if (!mHwApi.activate) { in off()
132 return (mHwApi.rtpInput ? true : false); in supportsAmplitudeControl()
143 mHwApi.rtpInput << rtp_input << std::endl; in setAmplitude()
144 if (!mHwApi.rtpInput) { in setAmplitude()
202 mHwApi.sequencer << WAVEFORM_CLICK_EFFECT_SEQ << std::endl; in performEffect()
206 mHwApi.sequencer << WAVEFORM_DOUBLE_CLICK_EFFECT_SEQ << std::endl; in performEffect()
210 mHwApi.sequencer << WAVEFORM_TICK_EFFECT_SEQ << std::endl; in performEffect()
214 mHwApi.sequencer << WAVEFORM_HEAVY_CLICK_EFFECT_SEQ << std::endl; in performEffect()
221 mHwApi.scale << convertEffectStrength(strength) << std::endl; in performEffect()