Searched refs:out_result (Results 1 – 2 of 2) sorted by relevance
118 Result out_result = Result::UNKNOWN; in getChargeCounterUah() local119 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() local129 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 …]
52 Result out_result = {Status::FAILURE_UNKNOWN, ""}; in getPartitionType() local59 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() local74 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() local85 out_result = result; in getVariant()[all …]