/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalController.cpp | 32 sp<Aidl::IVibratorManager> hal = waitForVintfService<Aidl::IVibratorManager>(); in connectManagerHal() local 56 std::shared_ptr<ManagerHalWrapper> hal = nullptr; in apply() local 93 hal_fn<void> pingFn = [](std::shared_ptr<ManagerHalWrapper> hal) { return hal->ping(); }; in ping() 107 hal_fn<ManagerCapabilities> getCapabilitiesFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in getCapabilities() 114 hal_fn<std::vector<int32_t>> getVibratorIdsFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in getVibratorIds() 122 [&](std::shared_ptr<ManagerHalWrapper> hal) { return hal->getVibrator(id); }; in getVibrator() 127 hal_fn<void> prepareSyncedFn = [&](std::shared_ptr<ManagerHalWrapper> hal) { in prepareSynced() 135 hal_fn<void> triggerSyncedFn = [&](std::shared_ptr<ManagerHalWrapper> hal) { in triggerSynced() 142 hal_fn<void> cancelSyncedFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in cancelSynced()
|
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 144 return mController.doWithRetry<void>([](auto hal) { return hal->off(); }, "off"); in turnVibratorOff() 148 auto disableExternalControlFn = [](auto hal) { return hal->setExternalControl(false); }; in disableExternalControl() 222 auto pingFn = [](auto hal) { return hal->ping(); }; in __anon599d61ff0502() 244 auto onFn = [&](auto hal) { return hal->on(duration, cb.completeFn()); }; in __anon599d61ff0602() 269 auto onFn = [&](auto hal) { return hal->on(duration, cb.completeFn()); }; in __anon599d61ff0702() 273 auto offFn = [&](auto hal) { return hal->off(); }; in __anon599d61ff0802() 295 auto setAmplitudeFn = [&](auto hal) { return hal->setAmplitude(amplitude); }; in __anon599d61ff0902() 297 auto onFn = [&](auto hal) { return hal->on(duration, [&]() {}); }; in __anon599d61ff0a02() 314 auto enableExternalControlFn = [](auto hal) { return hal->setExternalControl(true); }; in __anon599d61ff0c02() 339 auto setAmplitudeFn = [&](auto hal) { return hal->setAmplitude(amplitude); }; in __anon599d61ff0d02() [all …]
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandPerform.cpp | 115 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local 141 if (auto hal = getHal<V1_3::IVibrator>()) { in doMain() local 145 } else if (auto hal = getHal<V1_2::IVibrator>()) { in doMain() local 149 } else if (auto hal = getHal<V1_1::IVibrator>()) { in doMain() local 153 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain() local
|
D | CommandOff.cpp | 48 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local 52 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain() local
|
D | CommandSetAmplitude.cpp | 56 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local 61 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain() local
|
D | CommandSetExternalControl.cpp | 54 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local 58 } else if (auto hal = getHal<V1_3::IVibrator>()) { in doMain() local
|
D | CommandOn.cpp | 74 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local 89 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain() local
|
D | CommandGetCompositionDelayMax.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetCompositionSizeMax.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetCapabilities.cpp | 49 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetResonantFrequency.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetFrequencyMinimum.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetQFactor.cpp | 49 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetFrequencyResolution.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetPwlePrimitiveDurationMax.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
D | CommandGetPwleCompositionSizeMax.cpp | 51 if (auto hal = getHal<aidl::IVibrator>()) { in doMain() local
|
/frameworks/native/cmds/idlcli/ |
D | vibrator.h | 86 auto hal = getService<I>(name.empty() ? "default" : name); in Create() local 96 HalWrapper(shared_ptr<I>&& hal) : mHal(std::move(hal)) {} in HalWrapper() 110 auto hal = getHal<I>(); in halCall() local
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalController.h | 71 std::shared_ptr<HalWrapper> hal; in getInfo() local 121 std::shared_ptr<HalWrapper> hal; in doWithRetry() local 136 HalResult<T> doOnce(HalWrapper* hal, const HalFunction<HalResult<T>>& halFn, in doOnce()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 223 auto pingFn = [](vibrator::HalWrapper* hal) { return hal->ping(); }; in vibratorIsAvailable() 235 auto onFn = [timeoutMs, &callback](vibrator::HalWrapper* hal) { in vibratorOn() 248 auto offFn = [](vibrator::HalWrapper* hal) { return hal->off(); }; in vibratorOff() 259 auto setAmplitudeFn = [amplitude](vibrator::HalWrapper* hal) { in vibratorSetAmplitude() 272 auto setExternalControlFn = [enabled](vibrator::HalWrapper* hal) { in vibratorSetExternalControl() 288 auto performEffectFn = [effectType, effectStrength, &callback](vibrator::HalWrapper* hal) { in vibratorPerformEffect() 309 auto performComposedEffectFn = [&effects, &callback](vibrator::HalWrapper* hal) { in vibratorPerformComposedEffect() 344 auto performPwleEffectFn = [&primitives, &callback](vibrator::HalWrapper* hal) { in vibratorPerformPwleEffect() 358 auto alwaysOnEnableFn = [id, effect, strength](vibrator::HalWrapper* hal) { in vibratorAlwaysOnEnable() 371 auto alwaysOnDisableFn = [id](vibrator::HalWrapper* hal) { in vibratorAlwaysOnDisable()
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalControllerTest.cpp | 43 static const auto ON_FN = [](vibrator::HalWrapper* hal) { return hal->on(10ms, []() {}); }; in __anonb1938c430102() 44 static const auto OFF_FN = [](vibrator::HalWrapper* hal) { return hal->off(); }; in __anonb1938c430302() 45 static const auto PING_FN = [](vibrator::HalWrapper* hal) { return hal->ping(); }; in __anonb1938c430402() 260 auto onFn = [&](vibrator::HalWrapper* hal) { in TEST_F()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalAidlBenchmarks.cpp | 69 std::shared_ptr<IPower> hal = PowerHalLoader::loadAidl(); in runBenchmark() local 98 std::shared_ptr<IPower> hal = PowerHalLoader::loadAidl(); in runSessionBenchmark() local 167 std::shared_ptr<IPower> hal = PowerHalLoader::loadAidl(); in BM_PowerHalAidlBenchmarks_createHintSession() local
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 35 namespace hal = android::hardware::graphics::composer::hal; variable
|
D | MockHWC2.h | 44 namespace hal = android::hardware::graphics::composer::hal; variable
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | FakeHalFactory.java | 49 final FakeSoundTriggerHal hal = new FakeSoundTriggerHal(mInjection); in create() local
|
/frameworks/base/services/core/jni/tvinput/ |
D | JTvInputHal.cpp | 389 JTvInputHal::NotifyHandler::NotifyHandler(JTvInputHal* hal, const TvInputEventWrapper& event) { in NotifyHandler() 411 JTvInputHal::NotifyTvMessageHandler::NotifyTvMessageHandler(JTvInputHal* hal, in NotifyTvMessageHandler() 446 JTvInputHal::TvInputCallbackWrapper::TvInputCallbackWrapper(JTvInputHal* hal) { in TvInputCallbackWrapper() 451 JTvInputHal::AidlTvInputCallback::AidlTvInputCallback(JTvInputHal* hal) { in AidlTvInputCallback()
|