Home
last modified time | relevance | path

Searched refs:hwapi (Results 1 – 3 of 3) sorted by relevance

/device/google/bonito/vibrator/
Dservice.cpp143 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()
[all …]
DVibrator.cpp70 Vibrator::Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period) in Vibrator() argument
71 : mHwApi(std::move(hwapi)), mShortLraPeriod(short_lra_period), mLongLraPeriod(long_lra_period) { in Vibrator()
DVibrator.h48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period);