Home
last modified time | relevance | path

Searched refs:fromReturn (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/include/powermanager/
DHalResult.h76 static HalResult<T> fromReturn(hardware::Return<R>& ret, T&& data) { in fromReturn() function
82 static HalResult<T> fromReturn(hardware::Return<R>& ret, T& data) { in fromReturn() function
83 return HalResult<T>::fromReturn(ret, T{data}); in fromReturn()
87 static HalResult<T> fromReturn(hardware::Return<R>& ret, hardware::power::V1_0::Status status, in fromReturn() function
94 static HalResult<T> fromReturn(hardware::Return<R>& ret, hardware::power::V1_0::Status status, in fromReturn() function
96 return HalResult<T>::fromReturn(ret, status, T{data}); in fromReturn()
146 static HalResult<void> fromReturn(hardware::Return<R>& ret) { in fromReturn() function
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp112 return HalResult<void>::fromReturn(ret); in sendPowerHint()
117 return HalResult<void>::fromReturn(ret); in setInteractive()
122 return HalResult<void>::fromReturn(ret); in setFeature()
134 return HalResult<void>::fromReturn(ret); in sendPowerHint()
142 return HalResult<void>::fromReturn(ret); in sendPowerHint()
184 return HalResult<void>::fromReturn(ret); in sendPowerHint()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp424 return HalResultFactory::fromReturn(result); in ping()
483 return HalResultFactory::fromReturn<Capabilities>(result, capabilities); in getCapabilitiesInternal()
502 auto ret = HalResultFactory::fromReturn<milliseconds>(result, status, length); in performInternal()
607 return HalResultFactory::fromReturn<Capabilities>(amplitudeResult, capabilities); in getCapabilitiesInternal()
622 return HalResultFactory::fromReturn<Capabilities>(externalControlResult, capabilities); in getCapabilitiesInternal()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h112 static HalResult<T> fromReturn(hardware::Return<R>& ret, T data) { in fromReturn() function
117 static HalResult<T> fromReturn(hardware::Return<R>& ret, in fromReturn() function
136 static HalResult<void> fromReturn(hardware::Return<R>& ret) { in fromReturn() function