Home
last modified time | relevance | path

Searched refs:Vibrator (Results 1 – 25 of 48) sorted by relevance

12

/device/google/sunfish/vibrator/drv2624/tests/
Dtest-hwapi.cpp134 std::unique_ptr<Vibrator::HwApi> mHwApi;
135 std::unique_ptr<Vibrator::HwApi> mNoApi;
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),
254 SetBoolTest::MakeParam("state", &Vibrator::HwApi::setState),
256 &Vibrator::HwApi::setCtrlLoop),
260 using SetInt8Test = HwApiTypedTest<bool(Vibrator::HwApi &, int8_t)>;
289 &Vibrator::HwApi::setRtpInput),
[all …]
Dmocks.h21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
44 class MockCal : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwCal {
/device/google/redfin/vibrator/drv2624/tests/
Dtest-hwapi.cpp133 std::unique_ptr<Vibrator::HwApi> mHwApi;
134 std::unique_ptr<Vibrator::HwApi> mNoApi;
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),
253 SetBoolTest::MakeParam("state", &Vibrator::HwApi::setState),
255 &Vibrator::HwApi::setCtrlLoop),
259 using SetInt8Test = HwApiTypedTest<bool(Vibrator::HwApi &, int8_t)>;
288 &Vibrator::HwApi::setRtpInput),
[all …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
44 class MockCal : public ::aidl::android::hardware::vibrator::Vibrator::HwCal {
/device/google/barbet/vibrator/drv2624/tests/
Dtest-hwapi.cpp133 std::unique_ptr<Vibrator::HwApi> mHwApi;
134 std::unique_ptr<Vibrator::HwApi> mNoApi;
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),
253 SetBoolTest::MakeParam("state", &Vibrator::HwApi::setState),
255 &Vibrator::HwApi::setCtrlLoop),
259 using SetInt8Test = HwApiTypedTest<bool(Vibrator::HwApi &, int8_t)>;
288 &Vibrator::HwApi::setRtpInput),
[all …]
Dmocks.h21 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
44 class MockCal : public ::aidl::android::hardware::vibrator::Vibrator::HwCal {
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp288 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() function in aidl::android::hardware::vibrator::Vibrator
415 ndk::ScopedAStatus Vibrator::getCapabilities(int32_t *_aidl_return) { in getCapabilities()
426 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, const char mode[], in on()
458 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on()
488 ndk::ScopedAStatus Vibrator::off() { in off()
497 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude()
513 ndk::ScopedAStatus Vibrator::setExternalControl(bool enabled) { in setExternalControl()
519 binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) { in dump()
567 ndk::ScopedAStatus Vibrator::getSupportedEffects(std::vector<Effect> *_aidl_return) { in getSupportedEffects()
573 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
[all …]
Dservice.cpp25 using aidl::android::hardware::vibrator::Vibrator;
43 std::shared_ptr<Vibrator> vib = in main()
44 ndk::SharedRefBase::make<Vibrator>(std::move(hwapi), std::make_unique<HwCal>()); in main()
46 const std::string instance = std::string() + Vibrator::descriptor + "/default"; in main()
DAndroid.bp63 srcs: ["Vibrator.cpp"],
71 srcs: ["Vibrator.cpp"],
DHardware.h26 class HwApi : public Vibrator::HwApi, private HwApiBase {
97 class HwCal : public Vibrator::HwCal, private HwCalBase {
DVibrator.h27 class Vibrator : public BnVibrator {
154 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp287 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() function in aidl::android::hardware::vibrator::Vibrator
448 ndk::ScopedAStatus Vibrator::getCapabilities(int32_t *_aidl_return) { in getCapabilities()
459 ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, const char mode[], in on()
491 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on()
519 ndk::ScopedAStatus Vibrator::off() { in off()
528 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude()
544 ndk::ScopedAStatus Vibrator::setExternalControl(bool enabled) { in setExternalControl()
550 binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) { in dump()
598 ndk::ScopedAStatus Vibrator::getSupportedEffects(std::vector<Effect> *_aidl_return) { in getSupportedEffects()
604 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
[all …]
Dservice.cpp25 using aidl::android::hardware::vibrator::Vibrator;
37 std::shared_ptr<Vibrator> vib = in main()
38 ndk::SharedRefBase::make<Vibrator>(std::move(hwapi), std::make_unique<HwCal>()); in main()
40 const std::string instance = std::string() + Vibrator::descriptor + "/default"; in main()
DHardware.h26 class HwApi : public Vibrator::HwApi, private HwApiBase {
98 class HwCal : public Vibrator::HwCal, private HwCalBase {
DVibrator.h27 class Vibrator : public BnVibrator {
160 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/device/google/felix/vibrator/cs40l26/tests/
Dtest-hwapi.cpp111 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)>;
219 &Vibrator::HwApi::setF0CompEnable),
221 &Vibrator::HwApi::setRedcCompEnable),
[all …]
Dmocks.h23 class MockGPIO : public ::aidl::android::hardware::vibrator::Vibrator::HwGPIO {
34 class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
62 class MockCal : public ::aidl::android::hardware::vibrator::Vibrator::HwCal {
/device/google/felix/vibrator/cs40l26/
DVibrator.cpp366 Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> hwCalDefault, in Vibrator() function in aidl::android::hardware::vibrator::Vibrator
690 ndk::ScopedAStatus Vibrator::getCapabilities(int32_t *_aidl_return) { in getCapabilities()
711 ndk::ScopedAStatus Vibrator::off() { in off()
754 ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, in on()
778 ndk::ScopedAStatus Vibrator::perform(Effect effect, EffectStrength strength, in perform()
786 ndk::ScopedAStatus Vibrator::getSupportedEffects(std::vector<Effect> *_aidl_return) { in getSupportedEffects()
792 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude()
807 ndk::ScopedAStatus Vibrator::setExternalControl(bool enabled) { in setExternalControl()
826 ndk::ScopedAStatus Vibrator::getCompositionDelayMax(int32_t *maxDelayMs) { in getCompositionDelayMax()
832 ndk::ScopedAStatus Vibrator::getCompositionSizeMax(int32_t *maxSize) { in getCompositionSizeMax()
[all …]
Dservice.cpp29 using ::aidl::android::hardware::vibrator::Vibrator;
57 std::shared_ptr<Vibrator> svc; in main()
64 svc = ndk::SharedRefBase::make<Vibrator>(std::move(hwApiDef), std::move(hwCalDef), in main()
69 svc = ndk::SharedRefBase::make<Vibrator>(std::move(hwApiDef), std::move(hwCalDef), nullptr, in main()
DHardware.h68 class HwApi : public Vibrator::HwApi, private HwApiBase {
273 setMinOnOffInterval(Vibrator::MIN_ON_OFF_INTERVAL_US); in eraseOwtEffect()
292 class HwCal : public Vibrator::HwCal, private HwCalBase {
DVibrator.h32 class Vibrator : public BnVibrator {
139 Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> hwCalDefault,
/device/google/sunfish/vibrator/drv2624/
DVibrator.cpp181 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() function in android::hardware::vibrator::V1_3::implementation::Vibrator
281 Return<Status> Vibrator::on(uint32_t timeoutMs, const char mode[], in on()
314 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on()
331 Return<Status> Vibrator::off() { in off()
340 Return<bool> Vibrator::supportsAmplitudeControl() { in supportsAmplitudeControl()
345 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude()
364 Return<bool> Vibrator::supportsExternalControl() { in supportsExternalControl()
369 Return<Status> Vibrator::setExternalControl(bool enabled) { in setExternalControl()
377 Return<void> Vibrator::debug(const hidl_handle &handle, in debug()
419 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform()
[all …]
Dservice.cpp34 using android::hardware::vibrator::V1_3::implementation::Vibrator;
43 sp<Vibrator> vibrator = new Vibrator(std::move(hwapi), std::make_unique<HwCal>()); in registerVibratorService()
DVibrator.h30 class Vibrator : public IVibrator {
155 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
DHardware.h31 class HwApi : public Vibrator::HwApi, private HwApiBase {
96 class HwCal : public Vibrator::HwCal, private HwCalBase {

12