Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-hwapi.cpp70 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 …]
Dmocks.h23 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwapi.cpp72 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 …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/hardware/google/pixel/vibrator/drv2624/
DHardware.h26 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
Dservice.cpp23 using aidl::android::hardware::vibrator::HwApi;
28 auto hwapi = HwApi::Create(); in main()
DVibrator.h30 class HwApi {
32 virtual ~HwApi() = default;
133 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
163 std::unique_ptr<HwApi> mHwApi;
DVibrator.cpp61 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
/hardware/google/pixel/vibrator/cs40l25/
Dservice.cpp23 using aidl::android::hardware::vibrator::HwApi;
29 std::shared_ptr<Vibrator> vib = ndk::SharedRefBase::make<Vibrator>(std::make_unique<HwApi>(), in main()
DVibrator.h32 class HwApi {
34 virtual ~HwApi() = default;
117 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
168 std::unique_ptr<HwApi> mHwApi;
DHardware.h26 class HwApi : public Vibrator::HwApi, private HwApiBase {
28 HwApi() { in HwApi() function
DVibrator.cpp85 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()