Searched refs:HwApi (Results 1 – 11 of 11) sorted by relevance
/device/google/coral/vibrator/tests/ |
D | test-hwapi.cpp | 52 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 …]
|
D | mocks.h | 21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
|
/device/google/coral/vibrator/ |
D | Hardware.cpp | 98 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()
|
D | service.cpp | 28 using android::hardware::vibrator::V1_3::implementation::HwApi; 34 sp<Vibrator> vibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in registerVibratorService()
|
D | Vibrator.h | 33 class HwApi { 35 virtual ~HwApi() = default; 113 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 154 std::unique_ptr<HwApi> mHwApi;
|
D | Hardware.h | 28 class HwApi : public Vibrator::HwApi { 53 HwApi();
|
D | Vibrator.cpp | 79 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
|
/device/google/bonito/vibrator/ |
D | Vibrator.h | 45 } HwApi; typedef 48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period); 69 HwApi mHwApi;
|
D | service.cpp | 143 Vibrator::HwApi hwapi; in registerVibratorService()
|
D | Vibrator.cpp | 70 Vibrator::Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period) in Vibrator()
|
/device/google/coral/vibrator/bench/ |
D | benchmark.cpp | 64 mVibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in SetUp()
|