Lines Matching refs:result
23 std::map<std::string, std::string> result;
29 result["currentNow"] = currentNow;
30 result["voltageNow"] = voltageNow;
31 if (result.find("currentNow") != result.end() && result["currentNow"].empty()) {
32 result["currentNow"] = "NA";
34 if (result.find("voltageNow") != result.end() && result["voltageNow"].empty()) {
35 result["voltageNow"] = "NA";
39 LOGI("Power::ItemData map size(%u)", result.size());
41 result["failed"] = "RK does not support power acquisition";
44 return result;