Home
last modified time | relevance | path

Searched refs:hwapi (Results 1 – 6 of 6) 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);
/device/google/coral/vibrator/tests/
DAndroid.bp20 "test-hwapi.cpp",
/device/google/coral/vibrator/
DVibrator.cpp79 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
80 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h113 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);