Home
last modified time | relevance | path

Searched refs:HwApi (Results 1 – 11 of 11) sorted by relevance

/device/google/coral/vibrator/tests/
Dtest-hwapi.cpp52 mHwApi = std::make_unique<HwApi>(); in SetUp()
59 mNoApi = std::make_unique<HwApi>(); in SetUp()
95 std::unique_ptr<Vibrator::HwApi> mHwApi;
96 std::unique_ptr<Vibrator::HwApi> mNoApi;
116 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>;
135 &Vibrator::HwApi::hasEffectScale),
136 HasTest::MakeParam("ASP_ENABLE_PATH", &Vibrator::HwApi::hasAspEnable),
140 using GetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool *)>;
179 &Vibrator::HwApi::getAspEnable),
183 using GetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t *)>;
[all …]
Dmocks.h21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
/device/google/coral/vibrator/
DHardware.cpp98 HwApi::HwApi() { in HwApi() function in android::hardware::vibrator::V1_3::implementation::HwApi
119 bool HwApi::has(T &stream) { in has()
124 bool HwApi::get(T *value, U &stream) { in get()
138 bool HwApi::set(const T &value, U &stream) { in set()
151 void HwApi::record(const char *func, const T &value, void *stream) { in record()
156 void HwApi::debug(int fd) { in debug()
180 std::string HwApi::Record<T>::toString(const NamesMap &names) { in toString()
Dservice.cpp28 using android::hardware::vibrator::V1_3::implementation::HwApi;
34 sp<Vibrator> vibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in registerVibratorService()
DVibrator.h33 class HwApi {
35 virtual ~HwApi() = default;
113 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
154 std::unique_ptr<HwApi> mHwApi;
DHardware.h28 class HwApi : public Vibrator::HwApi {
53 HwApi();
DVibrator.cpp79 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
/device/google/bonito/vibrator/
DVibrator.h45 } HwApi; typedef
48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period);
69 HwApi mHwApi;
Dservice.cpp143 Vibrator::HwApi hwapi; in registerVibratorService()
DVibrator.cpp70 Vibrator::Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period) in Vibrator()
/device/google/coral/vibrator/bench/
Dbenchmark.cpp64 mVibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in SetUp()