Home
last modified time | relevance | path

Searched refs:HalWrapper (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/idlcli/
Dvibrator.h62 class HalWrapper {
64 static std::unique_ptr<HalWrapper> Create() { in Create()
68 return hal ? std::unique_ptr<HalWrapper>(new HalWrapper(std::move(hal))) : nullptr; in Create()
77 HalWrapper(shared_ptr<I>&& hal) : mHal(std::move(hal)) {} in HalWrapper() function
85 static auto sHalWrapper = HalWrapper<I>::Create(); in getHal()
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp161 class HalWrapper { class
163 static std::unique_ptr<HalWrapper> Create() { in Create()
167 return hal ? std::unique_ptr<HalWrapper>(new HalWrapper(std::move(hal))) : nullptr; in Create()
195 HalWrapper(sp<I> &&hal) : mHal(std::move(hal)) {} in HalWrapper() function in android::HalWrapper
203 static auto sHalWrapper = HalWrapper<I>::Create(); in getHal()