• Home
  • Raw
  • Download

Lines Matching refs:hwapi

143     Vibrator::HwApi hwapi;  in registerVibratorService()  local
146 hwapi.activate.open(ACTIVATE_PATH); in registerVibratorService()
147 if (!hwapi.activate) { in registerVibratorService()
153 hwapi.duration.open(DURATION_PATH); in registerVibratorService()
154 if (!hwapi.duration) { in registerVibratorService()
160 hwapi.state.open(STATE_PATH); in registerVibratorService()
161 if (!hwapi.state) { in registerVibratorService()
167 hwapi.state << 1 << std::endl; in registerVibratorService()
168 if (!hwapi.state) { in registerVibratorService()
175 hwapi.rtpInput.open(RTP_INPUT_PATH); in registerVibratorService()
176 if (!hwapi.rtpInput) { in registerVibratorService()
181 hwapi.mode.open(MODE_PATH); in registerVibratorService()
182 if (!hwapi.mode) { in registerVibratorService()
187 hwapi.sequencer.open(SEQUENCER_PATH); in registerVibratorService()
188 if (!hwapi.sequencer) { in registerVibratorService()
193 hwapi.scale.open(SCALE_PATH); in registerVibratorService()
194 if (!hwapi.scale) { in registerVibratorService()
199 hwapi.ctrlLoop.open(CTRL_LOOP_PATH); in registerVibratorService()
200 if (!hwapi.ctrlLoop) { in registerVibratorService()
205 hwapi.lpTriggerEffect.open(LP_TRIGGER_PATH); in registerVibratorService()
206 if (!hwapi.lpTriggerEffect) { in registerVibratorService()
211 hwapi.lraWaveShape.open(LRA_WAVE_SHAPE_PATH); in registerVibratorService()
212 if (!hwapi.lraWaveShape) { in registerVibratorService()
217 hwapi.odClamp.open(OD_CLAMP_PATH); in registerVibratorService()
218 if (!hwapi.odClamp) { in registerVibratorService()
223 hwapi.olLraPeriod.open(OL_LRA_PERIOD_FILEPATH); in registerVibratorService()
224 if (!hwapi.olLraPeriod) { in registerVibratorService()
233 sp<IVibrator> vibrator = new Vibrator(std::move(hwapi), short_lra_period, long_lra_period); in registerVibratorService()