Home
last modified time | relevance | path

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

12

/device/google/coral/vibrator/tests/
Dtest-hwapi.cpp95 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 …]
Dmocks.h21 class MockApi : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwApi {
48 class MockCal : public ::android::hardware::vibrator::V1_3::implementation::Vibrator::HwCal {
Dtest-hwcal.cpp70 std::unique_ptr<Vibrator::HwCal> mHwCal;
Dtest-vibrator.cpp148 mVibrator = new Vibrator(std::move(mockapi), std::move(mockcal)); in createVibrator()
/device/google/coral/vibrator/
DVibrator.cpp79 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 …]
Dservice.cpp30 using android::hardware::vibrator::V1_3::implementation::Vibrator;
34 sp<Vibrator> vibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in registerVibratorService()
DVibrator.h30 class Vibrator : public IVibrator {
113 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
DHardware.h28 class HwApi : public Vibrator::HwApi {
106 class HwCal : public Vibrator::HwCal {
DAndroid.bp58 "Vibrator.cpp",
/device/google/wahoo/vibrator/
DVibrator.cpp67 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 …]
DVibrator.h30 class Vibrator : public IVibrator {
32 Vibrator(std::ofstream&& activate, std::ofstream&& duration,
Dservice.cpp29 using android::hardware::vibrator::V1_2::implementation::Vibrator;
192 sp<IVibrator> vibrator = new Vibrator(std::move(activate), std::move(duration), in registerVibratorService()
DAndroid.bp19 srcs: ["service.cpp", "Vibrator.cpp"],
/device/google/bonito/vibrator/
DVibrator.cpp70 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 …]
DVibrator.h30 class Vibrator : public IVibrator {
48 Vibrator(HwApi &&hwapi, std::uint32_t short_lra_period, std::uint32_t long_lra_period);
Dservice.cpp30 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()
DAndroid.bp19 srcs: ["service.cpp", "Vibrator.cpp"],
/device/google/crosshatch/vibrator/
DVibrator.cpp103 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 …]
DVibrator.h30 class Vibrator : public IVibrator {
32 Vibrator(std::ofstream&& activate, std::ofstream&& duration, std::ofstream&& effect,
Dimpl.cpp29 using android::hardware::vibrator::V1_2::implementation::Vibrator;
146 return new Vibrator(std::move(activate), std::move(duration), std::move(effect), in makeVibratorService()
DAndroid.bp21 "Vibrator.cpp",
/device/google/crosshatch-sepolicy/vendor/google/
Dsmall_hals.te13 # Vibrator Permissions
/device/google/coral/vibrator/bench/
Dbenchmark.cpp64 mVibrator = new Vibrator(std::make_unique<HwApi>(), std::make_unique<HwCal>()); in SetUp()
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dhal_dumpstate_impl.te132 # Vibrator
/device/google/coral-sepolicy/vendor/google/
Dgenfs_contexts75 # Vibrator

12