Home
last modified time | relevance | path

Searched refs:supportPath (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp275 Json::Value supportPath = GetValue(valueObj, "support.path"); in IsValidChargeSceneConfig() local
278 if (!isValidJsonString(supportPath) && !isValidJsonString(setPath) && !isValidJsonString(getPath)) { in IsValidChargeSceneConfig()
288 Json::Value supportPath = GetValue(valueObj, "support.path"); in ParseChargeSceneSupport() local
291 if (isValidJsonString(supportPath)) { in ParseChargeSceneSupport()
292 std::string path = supportPath.asString(); in ParseChargeSceneSupport()
294 config.supportPath = path; in ParseChargeSceneSupport()
H A Dbattery_interface_impl.cpp306 std::string supportPath = (it -> second).supportPath; in IsBatteryConfigSupported() local
311 supportPath.c_str(), type.c_str(), expectValue.c_str()); in IsBatteryConfigSupported()
314 return powerSupplyProvider_->CheckPathExists(supportPath, value); in IsBatteryConfigSupported()
317 int ret = powerSupplyProvider_->GetConfigByPath(supportPath, temp); in IsBatteryConfigSupported()
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp88 || !chargeSceneConfig.supportPath.empty()); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h49 std::string supportPath; member

Completed in 3 milliseconds