/device/google/coral/vibrator/tests/ |
D | test-hwapi.cpp | 95 std::unique_ptr<Vibrator::HwApi> mHwApi; 96 std::unique_ptr<Vibrator::HwApi> mNoApi; 116 using HasTest = HwApiTypedTest<bool(Vibrator::HwApi &)>; 135 &Vibrator::HwApi::hasEffectScale), 136 HasTest::MakeParam("ASP_ENABLE_PATH", &Vibrator::HwApi::hasAspEnable), 140 using GetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool *)>; 179 &Vibrator::HwApi::getAspEnable), 183 using GetUint32Test = HwApiTypedTest<bool(Vibrator::HwApi &, uint32_t *)>; 209 &Vibrator::HwApi::getEffectDuration), 213 using SetBoolTest = HwApiTypedTest<bool(Vibrator::HwApi &, bool)>; [all …]
|
D | mocks.h | 21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi { 48 class MockCal : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwCal {
|
D | test-hwcal.cpp | 70 std::unique_ptr<Vibrator::HwCal> mHwCal;
|
D | test-vibrator.cpp | 148 mVibrator = new Vibrator(std::move(mockapi), std::move(mockcal)); in createVibrator()
|
/device/google/coral/vibrator/ |
D | Vibrator.cpp | 79 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() function in android::hardware::vibrator::V1_3::implementation::Vibrator 115 Return<Status> Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex) { in on() 124 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on() 136 Return<Status> Vibrator::off() { in off() 146 Return<bool> Vibrator::supportsAmplitudeControl() { in supportsAmplitudeControl() 151 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude() 164 Return<Status> Vibrator::setEffectAmplitude(uint8_t amplitude, uint8_t maximum) { in setEffectAmplitude() 175 Return<Status> Vibrator::setGlobalAmplitude(bool set) { in setGlobalAmplitude() 189 Return<bool> Vibrator::supportsExternalControl() { in supportsExternalControl() 194 Return<Status> Vibrator::setExternalControl(bool enabled) { in setExternalControl() [all …]
|
D | service.cpp | 30 using android::hardware::vibrator::V1_3::implementation::Vibrator; 34 sp<Vibrator> vibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in registerVibratorService()
|
D | Vibrator.h | 30 class Vibrator : public IVibrator { 113 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
|
D | Hardware.h | 28 class HwApi : public Vibrator::HwApi { 106 class HwCal : public Vibrator::HwCal {
|
D | Android.bp | 58 "Vibrator.cpp",
|
/device/google/wahoo/vibrator/ |
D | Vibrator.cpp | 67 Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration, in Vibrator() function in android::hardware::vibrator::V1_2::implementation::Vibrator 94 Return<Status> Vibrator::on(uint32_t timeoutMs, bool forceOpenLoop, bool isWaveform) { in on() 126 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on() 130 Return<Status> Vibrator::off() { in off() 139 Return<bool> Vibrator::supportsAmplitudeControl() { in supportsAmplitudeControl() 143 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude() 178 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() 182 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() 187 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() 192 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() [all …]
|
D | Vibrator.h | 30 class Vibrator : public IVibrator { 32 Vibrator(std::ofstream&& activate, std::ofstream&& duration,
|
D | service.cpp | 29 using android::hardware::vibrator::V1_2::implementation::Vibrator; 192 sp<IVibrator> vibrator = new Vibrator(std::move(activate), std::move(duration), in registerVibratorService()
|
D | Android.bp | 19 srcs: ["service.cpp", "Vibrator.cpp"],
|
/device/google/bonito/vibrator/ |
D | Vibrator.cpp | 70 Vibrator::Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period) in Vibrator() function in android::hardware::vibrator::V1_2::implementation::Vibrator 87 Return<Status> Vibrator::on(uint32_t timeoutMs, bool isWaveform) { in on() 118 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on() 122 Return<Status> Vibrator::off() { in off() 131 Return<bool> Vibrator::supportsAmplitudeControl() { in supportsAmplitudeControl() 135 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude() 168 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() 172 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() 177 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_2() 182 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() [all …]
|
D | Vibrator.h | 30 class Vibrator : public IVibrator { 48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period);
|
D | service.cpp | 30 using android::hardware::vibrator::V1_2::implementation::Vibrator; 143 Vibrator::HwApi hwapi; in registerVibratorService() 233 sp<IVibrator> vibrator = new Vibrator(std::move(hwapi), short_lra_period, long_lra_period); in registerVibratorService()
|
D | Android.bp | 19 srcs: ["service.cpp", "Vibrator.cpp"],
|
/device/google/crosshatch/vibrator/ |
D | Vibrator.cpp | 103 Vibrator::Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect, in Vibrator() function in android::hardware::vibrator::V1_2::implementation::Vibrator 112 Return<Status> Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex) { in on() 122 Return<Status> Vibrator::on(uint32_t timeoutMs) { in on() 126 Return<Status> Vibrator::off() { in off() 135 Return<bool> Vibrator::supportsAmplitudeControl() { in supportsAmplitudeControl() 139 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude() 156 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, in perform() 161 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() 166 Return<void> Vibrator::perform_1_2(Effect effect, EffectStrength strength, in perform_1_2() 172 Return<void> Vibrator::performWrapper(T effect, EffectStrength strength, perform_cb _hidl_cb) { in performWrapper() [all …]
|
D | Vibrator.h | 30 class Vibrator : public IVibrator { 32 Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect,
|
D | impl.cpp | 29 using android::hardware::vibrator::V1_2::implementation::Vibrator; 146 return new Vibrator(std::move(activate), std::move(duration), std::move(effect), in makeVibratorService()
|
D | Android.bp | 21 "Vibrator.cpp",
|
/device/google/crosshatch-sepolicy/vendor/google/ |
D | small_hals.te | 13 # Vibrator Permissions
|
/device/google/coral/vibrator/bench/ |
D | benchmark.cpp | 64 mVibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in SetUp()
|
/device/google/crosshatch-sepolicy/vendor/qcom/common/ |
D | hal_dumpstate_impl.te | 132 # Vibrator
|
/device/google/coral-sepolicy/vendor/google/ |
D | genfs_contexts | 75 # Vibrator
|