Home
last modified time | relevance | path

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

12

/device/google/sunfish/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 &)>;
212 HasTest::MakeParam("device/rtp_input", &Vibrator::HwApi::hasRtpInput),
216 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
253 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
[all …]
Dmocks.h21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
/device/google/redfin/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 &)>;
211 HasTest::MakeParam("device/rtp_input", &Vibrator::HwApi::hasRtpInput),
215 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
252 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
[all …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/device/google/barbet/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 &)>;
211 HasTest::MakeParam("device/rtp_input", &Vibrator::HwApi::hasRtpInput),
215 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>;
252 SetBoolTest::MakeParam("activate", &Vibrator::HwApi::setActivate),
[all …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/device/google/felix/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.h34 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
/device/google/sunfish/vibrator/drv2624/
DHardware.h31 class HwApi : public Vibrator::HwApi, private HwApiBase {
33 static std::unique_ptr<HwApi> Create() { in Create()
34 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create()
61 HwApi() { in HwApi() function
DVibrator.h33 class HwApi {
35 virtual ~HwApi() = default;
155 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
186 std::unique_ptr<HwApi> mHwApi;
Dservice.cpp32 using android::hardware::vibrator::V1_3::implementation::HwApi;
37 auto hwapi = HwApi::Create(); in registerVibratorService()
DVibrator.cpp181 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
/device/google/barbet/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
DVibrator.h30 class HwApi {
32 virtual ~HwApi() = default;
154 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
194 std::unique_ptr<HwApi> mHwApi;
Dservice.cpp23 using aidl::android::hardware::vibrator::HwApi;
28 auto hwapi = HwApi::Create(); in main()
/device/google/redfin/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
DVibrator.h30 class HwApi {
32 virtual ~HwApi() = default;
160 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
200 std::unique_ptr<HwApi> mHwApi;
Dservice.cpp23 using aidl::android::hardware::vibrator::HwApi;
28 auto hwapi = HwApi::Create(); in main()
/device/google/felix/vibrator/cs40l26/
DVibrator.h49 class HwApi {
51 virtual ~HwApi() = default;
139 Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> hwCalDefault,
140 std::unique_ptr<HwApi> hwApiDual, std::unique_ptr<HwCal> hwCalDual,
208 std::unique_ptr<HwApi> mHwApiDef;
210 std::unique_ptr<HwApi> mHwApiDual;
DHardware.h68 class HwApi : public Vibrator::HwApi, private HwApiBase {
70 static std::unique_ptr<HwApi> Create() { in Create()
71 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create()
74 HwApi() { in HwApi() function
Dservice.cpp26 using ::aidl::android::hardware::vibrator::HwApi;
48 auto hwApiDef = HwApi::Create(); in main()
65 std::make_unique<HwApi>(), in main()
DVibrator.cpp366 Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> hwCalDefault, in Vibrator()
367 std::unique_ptr<HwApi> hwApiDual, std::unique_ptr<HwCal> hwCalDual, in Vibrator()
/device/google/barbet/vibrator/drv2624/bench/
Dbenchmark.cpp68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
/device/google/redfin/vibrator/drv2624/bench/
Dbenchmark.cpp68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
/device/google/sunfish/vibrator/drv2624/bench/
Dbenchmark.cpp74 mVibrator = new Vibrator(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()

12