Lines Matching refs:Vibrator

121     std::unique_ptr<Vibrator::HwApi> mHwApi;
122 std::unique_ptr<Vibrator::HwApi> mNoApi;
141 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>;
160 HasTest::MakeParam("device/cp_dig_scale", &Vibrator::HwApi::hasEffectScale),
161 HasTest::MakeParam("device/asp_enable", &Vibrator::HwApi::hasAspEnable),
162 HasTest::MakeParam("device/pwle", &Vibrator::HwApi::hasPwle),
166 using GetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool *)>;
205 &Vibrator::HwApi::getAspEnable),
209 using GetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t *)>;
235 &Vibrator::HwApi::getEffectCount),
237 &Vibrator::HwApi::getEffectDuration),
239 … &Vibrator::HwApi::getAvailablePwleSegments),
243 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
275 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
276 SetBoolTest::MakeParam("state", &Vibrator::HwApi::setState),
278 &Vibrator::HwApi::setAspEnable),
282 using SetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t)>;
306 SetUint32Test::MakeParam("device/f0_stored", &Vibrator::HwApi::setF0),
307 SetUint32Test::MakeParam("device/redc_stored", &Vibrator::HwApi::setRedc),
308 SetUint32Test::MakeParam("device/q_stored", &Vibrator::HwApi::setQ),
309 SetUint32Test::MakeParam("duration", &Vibrator::HwApi::setDuration),
311 &Vibrator::HwApi::setEffectIndex),
312 SetUint32Test::MakeParam("device/cp_dig_scale", &Vibrator::HwApi::setEffectScale),
313 SetUint32Test::MakeParam("device/dig_scale", &Vibrator::HwApi::setGlobalScale),
315 &Vibrator::HwApi::setGpioFallIndex),
317 &Vibrator::HwApi::setGpioFallScale),
319 &Vibrator::HwApi::setGpioRiseIndex),
321 &Vibrator::HwApi::setGpioRiseScale),
325 using SetStringTest = HwApiTypedTest<bool(Vibrator::HwApi &, std::string)>;
349 &Vibrator::HwApi::setEffectQueue),
351 &Vibrator::HwApi::setPwle),