Home
last modified time | relevance | path

Searched refs:setPath (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_config.cpp169 Json::Value setPath = GetValue(valueObj, "set.path"); in ParseSceneConfig() local
174 if (isValidJsonString(setPath)) { in ParseSceneConfig()
175 tempPowerSceneConfig.setPath = setPath.asString(); in ParseSceneConfig()
176 HDF_LOGI("setPath key=%{public}s", tempPowerSceneConfig.setPath.c_str()); in ParseSceneConfig()
H A Dpower_config.h35 std::string setPath; member
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp276 Json::Value setPath = GetValue(valueObj, "set.path"); in IsValidChargeSceneConfig() local
278 if (!isValidJsonString(supportPath) && !isValidJsonString(setPath) && !isValidJsonString(getPath)) { in IsValidChargeSceneConfig()
305 Json::Value setPath = GetValue(valueObj, "set.path"); in ParseChargeSceneSet() local
306 if (isValidJsonString(setPath)) { in ParseChargeSceneSet()
307 std::string path = setPath.asString(); in ParseChargeSceneSet()
309 config.setPath = path; in ParseChargeSceneSet()
H A Dbattery_interface_impl.cpp261 std::string setPath = (it -> second).setPath; in SetBatteryConfig() local
262 return powerSupplyProvider_->SetConfigByPath(setPath, value); in SetBatteryConfig()
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp87 ASSERT_TRUE(!chargeSceneConfig.setPath.empty() || !chargeSceneConfig.getPath.empty() in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h53 std::string setPath; member

Completed in 3 milliseconds