/device/google/sunfish/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 73 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 …]
|
D | mocks.h | 21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
|
/device/google/redfin/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 &)>; 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 …]
|
D | mocks.h | 21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
|
/device/google/barbet/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 &)>; 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 …]
|
D | mocks.h | 21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
|
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-hwapi.cpp | 62 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 …]
|
D | mocks.h | 34 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
|
/device/google/sunfish/vibrator/drv2624/ |
D | Hardware.h | 31 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
|
D | Vibrator.h | 33 class HwApi { 35 virtual ~HwApi() = default; 155 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 186 std::unique_ptr<HwApi> mHwApi;
|
D | service.cpp | 32 using android::hardware::vibrator::V1_3::implementation::HwApi; 37 auto hwapi = HwApi::Create(); in registerVibratorService()
|
D | Vibrator.cpp | 181 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator()
|
/device/google/barbet/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() 56 HwApi() { in HwApi() function
|
D | Vibrator.h | 30 class HwApi { 32 virtual ~HwApi() = default; 154 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 194 std::unique_ptr<HwApi> mHwApi;
|
D | service.cpp | 23 using aidl::android::hardware::vibrator::HwApi; 28 auto hwapi = HwApi::Create(); in main()
|
/device/google/redfin/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() 56 HwApi() { in HwApi() function
|
D | Vibrator.h | 30 class HwApi { 32 virtual ~HwApi() = default; 160 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal); 200 std::unique_ptr<HwApi> mHwApi;
|
D | service.cpp | 23 using aidl::android::hardware::vibrator::HwApi; 28 auto hwapi = HwApi::Create(); in main()
|
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.h | 49 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;
|
D | Hardware.h | 68 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
|
D | service.cpp | 26 using ::aidl::android::hardware::vibrator::HwApi; 48 auto hwApiDef = HwApi::Create(); in main() 65 std::make_unique<HwApi>(), in main()
|
D | Vibrator.cpp | 366 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/ |
D | benchmark.cpp | 68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
|
/device/google/redfin/vibrator/drv2624/bench/ |
D | benchmark.cpp | 68 mVibrator = ndk::SharedRefBase::make<Vibrator>(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
|
/device/google/sunfish/vibrator/drv2624/bench/ |
D | benchmark.cpp | 74 mVibrator = new Vibrator(HwApi::Create(), std::make_unique<HwCal>()); in SetUp()
|