Searched refs:HwApi (Results 1 – 13 of 13) sorted by relevance
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | test-hwapi.cpp | 70 mHwApi = std::make_unique<HwApi>(); in SetUp() 78 mNoApi = std::make_unique<HwApi>(); in SetUp() 119 std::unique_ptr<Vibrator::HwApi> mHwApi; 120 std::unique_ptr<Vibrator::HwApi> mNoApi; 139 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>; 158 HasTest::MakeParam("device/cp_dig_scale", &Vibrator::HwApi::hasEffectScale), 159 HasTest::MakeParam("device/asp_enable", &Vibrator::HwApi::hasAspEnable), 163 using GetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool *)>; 202 &Vibrator::HwApi::getAspEnable), 206 using GetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t *)>; [all …]
|
D | mocks.h | 23 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 72 mHwApi = HwApi::Create(); in SetUp() 82 mNoApi = HwApi::Create(); in SetUp() 133 std::unique_ptr<Vibrator::HwApi> mHwApi; 134 std::unique_ptr<Vibrator::HwApi> mNoApi; 155 std::unique_ptr<HwApi> hwapi; in TEST_P() 170 hwapi = HwApi::Create(); in TEST_P() 193 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>; 212 &Vibrator::HwApi::hasRtpInput), 216 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>; 253 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate), [all …]
|
D | mocks.h | 21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
|
/hardware/google/pixel/vibrator/drv2624/ |
D | Hardware.h | 26 class HwApi : public Vibrator::HwApi, private HwApiBase { 28 static std::unique_ptr<HwApi> Create() { in Create() 29 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create() 55 HwApi() { in HwApi() function
|
D | service.cpp | 23 using aidl::android::hardware::vibrator::HwApi; 28 auto hwapi = HwApi::Create(); in main()
|
D | Vibrator.h | 30 class HwApi { 32 virtual ~HwApi() = default; 133 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 163 std::unique_ptr<HwApi> mHwApi;
|
D | Vibrator.cpp | 61 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | service.cpp | 23 using aidl::android::hardware::vibrator::HwApi; 29 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(std::make_unique<HwApi>(), in main()
|
D | Vibrator.h | 32 class HwApi { 34 virtual ~HwApi() = default; 117 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 168 std::unique_ptr<HwApi> mHwApi;
|
D | Hardware.h | 26 class HwApi : public Vibrator::HwApi, private HwApiBase { 28 HwApi() { in HwApi() function
|
D | Vibrator.cpp | 85 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
|
/hardware/google/pixel/vibrator/drv2624/bench/ |
D | benchmark.cpp | 68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
|