Searched refs:hwapi (Results 1 – 3 of 3) sorted by relevance
143 Vibrator::HwApi hwapi; in registerVibratorService() local146 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()[all …]
70 Vibrator::Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period) in Vibrator() argument71 : mHwApi(std::move(hwapi)), mShortLraPeriod(short_lra_period), mLongLraPeriod(long_lra_period) { in Vibrator()
48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period);