Home
last modified time | relevance | path

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

/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-hwapi.cpp73 mHwApi = std::make_unique<HwApi>(); in SetUp()
81 mNoApi = std::make_unique<HwApi>(); in SetUp()
122 std::unique_ptr<Vibrator::HwApi> mHwApi;
123 std::unique_ptr<Vibrator::HwApi> mNoApi;
142 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>;
161 HasTest::MakeParam("device/cp_dig_scale", &Vibrator::HwApi::hasEffectScale),
162 HasTest::MakeParam("device/asp_enable", &Vibrator::HwApi::hasAspEnable),
163 HasTest::MakeParam("device/pwle", &Vibrator::HwApi::hasPwle),
167 using GetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool *)>;
206 &Vibrator::HwApi::getAspEnable),
[all …]
Dmocks.h23 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwapi.cpp73 mHwApi = HwApi::Create(); in SetUp()
83 mNoApi = HwApi::Create(); in SetUp()
134 std::unique_ptr<Vibrator::HwApi> mHwApi;
135 std::unique_ptr<Vibrator::HwApi> mNoApi;
156 std::unique_ptr<HwApi> hwapi; in TEST_P()
171 hwapi = HwApi::Create(); in TEST_P()
194 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>;
213 &Vibrator::HwApi::hasRtpInput),
217 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
254 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
[all …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-hwapi.cpp62 mHwApi = std::make_unique<HwApi>(); in SetUp()
70 mNoApi = std::make_unique<HwApi>(); in SetUp()
111 std::unique_ptr<Vibrator::HwApi> mHwApi;
112 std::unique_ptr<Vibrator::HwApi> mNoApi;
131 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>;
150 &Vibrator::HwApi::hasOwtFreeSpace),
154 using GetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t *)>;
180 &Vibrator::HwApi::getEffectCount),
182 &Vibrator::HwApi::getOwtFreeSpace),
186 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
[all …]
Dmocks.h23 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()
56 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;
136 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
177 std::unique_ptr<HwApi> mHwApi;
DVibrator.cpp65 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
/hardware/google/pixel/vibrator/cs40l26/
Dservice.cpp24 using ::aidl::android::hardware::vibrator::HwApi;
35 std::make_unique<HwApi>(), std::make_unique<HwCal>(), std::make_unique<StatsApi>()); in main()
DVibrator.h44 class HwApi {
46 virtual ~HwApi() = default;
178 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal,
245 std::unique_ptr<HwApi> mHwApi;
DHardware.h69 class HwApi : public Vibrator::HwApi, private HwApiBase {
71 HwApi() { in HwApi() function
72 HwApi::initFF(); in HwApi()
DVibrator.cpp174 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal, in Vibrator()
/hardware/google/pixel/vibrator/cs40l25/
Dservice.cpp26 using ::aidl::android::hardware::vibrator::HwApi;
41 std::make_unique<HwApi>(), std::make_unique<HwCal>(), std::make_unique<StatsApi>()); in main()
DVibrator.h33 class HwApi {
35 virtual ~HwApi() = default;
165 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal,
234 std::unique_ptr<HwApi> mHwApi;
DHardware.h26 class HwApi : public Vibrator::HwApi, private HwApiBase {
28 HwApi() { in HwApi() function
DVibrator.cpp212 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal, in Vibrator()
/hardware/google/pixel/vibrator/cs40l25/bench/
Dbenchmark.cpp80 std::make_unique<HwApi>(), std::make_unique<HwCal>(), std::make_unique<StatsApi>()); in SetUp()
/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp69 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()