Lines Matching refs:HalResult

34 HalResult<void> EmptyHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) {  in setBoost()
37 return HalResult<void>::unsupported(); in setBoost()
40 HalResult<void> EmptyHalWrapper::setMode(Aidl::Mode mode, bool enabled) { in setMode()
43 return HalResult<void>::unsupported(); in setMode()
46 HalResult<std::shared_ptr<PowerHintSessionWrapper>> EmptyHalWrapper::createHintSession( in createHintSession()
50 return HalResult<std::shared_ptr<PowerHintSessionWrapper>>::unsupported(); in createHintSession()
53 HalResult<std::shared_ptr<PowerHintSessionWrapper>> EmptyHalWrapper::createHintSessionWithConfig( in createHintSessionWithConfig()
58 return HalResult<std::shared_ptr<PowerHintSessionWrapper>>::unsupported(); in createHintSessionWithConfig()
61 HalResult<int64_t> EmptyHalWrapper::getHintSessionPreferredRate() { in getHintSessionPreferredRate()
63 return HalResult<int64_t>::unsupported(); in getHintSessionPreferredRate()
66 HalResult<Aidl::ChannelConfig> EmptyHalWrapper::getSessionChannel(int, int) { in getSessionChannel()
68 return HalResult<Aidl::ChannelConfig>::unsupported(); in getSessionChannel()
71 HalResult<void> EmptyHalWrapper::closeSessionChannel(int, int) { in closeSessionChannel()
73 return HalResult<void>::unsupported(); in closeSessionChannel()
82 HalResult<void> HidlHalWrapperV1_0::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost()
90 HalResult<void> HidlHalWrapperV1_0::setMode(Aidl::Mode mode, bool enabled) { in setMode()
110 HalResult<void> HidlHalWrapperV1_0::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
112 return HalResult<void>::fromReturn(ret); in sendPowerHint()
115 HalResult<void> HidlHalWrapperV1_0::setInteractive(bool enabled) { in setInteractive()
117 return HalResult<void>::fromReturn(ret); in setInteractive()
120 HalResult<void> HidlHalWrapperV1_0::setFeature(V1_0::Feature feature, bool enabled) { in setFeature()
122 return HalResult<void>::fromReturn(ret); in setFeature()
131 HalResult<void> HidlHalWrapperV1_1::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
134 return HalResult<void>::fromReturn(ret); in sendPowerHint()
139 HalResult<void> HidlHalWrapperV1_2::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
142 return HalResult<void>::fromReturn(ret); in sendPowerHint()
145 HalResult<void> HidlHalWrapperV1_2::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost()
156 HalResult<void> HidlHalWrapperV1_2::setMode(Aidl::Mode mode, bool enabled) { in setMode()
173 HalResult<void> HidlHalWrapperV1_3::setMode(Aidl::Mode mode, bool enabled) { in setMode()
181 HalResult<void> HidlHalWrapperV1_3::sendPowerHint(V1_3::PowerHint hintId, uint32_t data) { in sendPowerHint()
184 return HalResult<void>::fromReturn(ret); in sendPowerHint()
189 HalResult<void> AidlHalWrapper::setBoost(Aidl::Boost boost, int32_t durationMs) { in setBoost()
196 return HalResult<void>::unsupported(); in setBoost()
206 return HalResult<void>::fromStatus(isSupportedRet); in setBoost()
213 return HalResult<void>::unsupported(); in setBoost()
218 return HalResult<void>::fromStatus(mHandle->setBoost(boost, durationMs)); in setBoost()
221 HalResult<void> AidlHalWrapper::setMode(Aidl::Mode mode, bool enabled) { in setMode()
228 return HalResult<void>::unsupported(); in setMode()
235 return HalResult<void>::failed(isSupportedRet.getDescription()); in setMode()
241 return HalResult<void>::unsupported(); in setMode()
246 return HalResult<void>::fromStatus(mHandle->setMode(mode, enabled)); in setMode()
249 HalResult<std::shared_ptr<PowerHintSessionWrapper>> AidlHalWrapper::createHintSession( in createHintSession()
252 return HalResult<std::shared_ptr<PowerHintSessionWrapper>>:: in createHintSession()
257 HalResult<std::shared_ptr<PowerHintSessionWrapper>> AidlHalWrapper::createHintSessionWithConfig( in createHintSessionWithConfig()
261 return HalResult<std::shared_ptr<PowerHintSessionWrapper>>:: in createHintSessionWithConfig()
267 HalResult<int64_t> AidlHalWrapper::getHintSessionPreferredRate() { in getHintSessionPreferredRate()
270 return HalResult<int64_t>::fromStatus(result, rate); in getHintSessionPreferredRate()
273 HalResult<Aidl::ChannelConfig> AidlHalWrapper::getSessionChannel(int tgid, int uid) { in getSessionChannel()
276 return HalResult<Aidl::ChannelConfig>::fromStatus(result, std::move(config)); in getSessionChannel()
279 HalResult<void> AidlHalWrapper::closeSessionChannel(int tgid, int uid) { in closeSessionChannel()
280 return HalResult<void>::fromStatus(mHandle->closeSessionChannel(tgid, uid)); in closeSessionChannel()