Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthshim/
Dshim.cpp118 Result out_result = Result::UNKNOWN; in getChargeCounterUah() local
119 auto ret = service_->getChargeCounter([out, &out_result](auto result, auto value) { in getChargeCounterUah()
120 out_result = result; in getChargeCounterUah()
121 if (out_result != Result::SUCCESS) return; in getChargeCounterUah()
124 return ReturnAndResultToStatus(ret, out_result); in getChargeCounterUah()
128 Result out_result = Result::UNKNOWN; in getCurrentNowMicroamps() local
129 auto ret = service_->getCurrentNow([out, &out_result](auto result, auto value) { in getCurrentNowMicroamps()
130 out_result = result; in getCurrentNowMicroamps()
131 if (out_result != Result::SUCCESS) return; in getCurrentNowMicroamps()
134 return ReturnAndResultToStatus(ret, out_result); in getCurrentNowMicroamps()
[all …]
/hardware/interfaces/fastboot/aidl/fastbootshim/
Dfastbootshim.cpp52 Result out_result = {Status::FAILURE_UNKNOWN, ""}; in getPartitionType() local
59 out_result = result; in getPartitionType()
60 if (out_result.status != Status::SUCCESS) return; in getPartitionType()
63 return ResultToAStatus(out_result); in getPartitionType()
67 Result out_result = {Status::FAILURE_UNKNOWN, ""}; in doOemCommand() local
74 out_result = result; in doOemCommand()
75 if (out_result.status != Status::SUCCESS) return; in doOemCommand()
78 return ResultToAStatus(out_result); in doOemCommand()
82 Result out_result = {Status::FAILURE_UNKNOWN, ""}; in getVariant() local
85 out_result = result; in getVariant()
[all …]