Home
last modified time | relevance | path

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

12

/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp272 return HalResult<void>::fromStatus(IInterface::asBinder(getHal())->pingBinder()); in ping()
294 auto ret = HalResult<void>::fromStatus(getHal()->on(timeout.count(), cb)); in on()
303 return HalResult<void>::fromStatus(getHal()->off()); in off()
307 return HalResult<void>::fromStatus(getHal()->setAmplitude(amplitude)); in setAmplitude()
311 return HalResult<void>::fromStatus(getHal()->setExternalControl(enabled)); in setExternalControl()
315 return HalResult<void>::fromStatus(getHal()->alwaysOnEnable(id, effect, strength)); in alwaysOnEnable()
319 return HalResult<void>::fromStatus(getHal()->alwaysOnDisable(id)); in alwaysOnDisable()
330 auto result = getHal()->perform(effect, strength, cb, &lengthMs); in performEffect()
360 return HalResult<milliseconds>::fromStatus(getHal()->compose(primitives, cb), duration); in performComposedEffect()
367 return HalResult<void>::fromStatus(getHal()->composePwle(primitives, cb)); in performPwleEffect()
[all …]
DVibratorManagerHalWrapper.cpp80 auto result = this->getHal()->getVibrator(vibratorId, &vibrator); in connectToVibrator()
96 return HalResult<void>::fromStatus(IInterface::asBinder(getHal())->pingBinder()); in ping()
114 auto result = getHal()->getCapabilities(&cap); in getCapabilities()
131 auto result = getHal()->getVibratorIds(&ids); in getVibratorIds()
160 auto ret = HalResult<void>::fromStatus(getHal()->prepareSynced(ids)); in prepareSynced()
182 return HalResult<void>::fromStatus(getHal()->triggerSynced(cb)); in triggerSynced()
186 auto ret = HalResult<void>::fromStatus(getHal()->cancelSynced()); in cancelSynced()
199 sp<Aidl::IVibratorManager> AidlManagerHalWrapper::getHal() { in getHal() function in android::vibrator::AidlManagerHalWrapper
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp115 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
141 if (auto hal = getHal<V1_3::IVibrator>()) { in doMain()
145 } else if (auto hal = getHal<V1_2::IVibrator>()) { in doMain()
149 } else if (auto hal = getHal<V1_1::IVibrator>()) { in doMain()
153 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain()
DCommandOff.cpp48 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
52 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain()
DCommandSetExternalControl.cpp54 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
58 } else if (auto hal = getHal<V1_3::IVibrator>()) { in doMain()
DCommandSetAmplitude.cpp56 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
61 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain()
DCommandOn.cpp74 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
89 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain()
DCommandGetQFactor.cpp49 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetFrequencyMinimum.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetFrequencyResolution.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetResonantFrequency.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetPwleCompositionSizeMax.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetCapabilities.cpp49 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetPwlePrimitiveDurationMax.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetCompositionSizeMax.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetCompositionDelayMax.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetSupportedPrimitives.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetSupportedAlwaysOnEffects.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetSupportedBraking.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetSupportedEffects.cpp51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandAlwaysOnDisable.cpp57 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetPrimitiveDuration.cpp64 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandGetBandwidthAmplitudeMap.cpp53 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
DCommandAlwaysOnEnable.cpp78 if (auto hal = getHal<aidl::IVibrator>()) { in doMain()
/frameworks/native/cmds/idlcli/
Dvibrator.h103 static auto getHal() { in getHal() function
110 auto hal = getHal<I>(); in halCall()

12