Home
last modified time | relevance | path

Searched refs:getPath (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_config.cpp168 Json::Value getPath = GetValue(valueObj, "get.path"); in ParseSceneConfig() local
170 if (isValidJsonString(getPath)) { in ParseSceneConfig()
171 tempPowerSceneConfig.getPath = getPath.asString(); in ParseSceneConfig()
172 HDF_LOGI("getPath key=%{public}s", tempPowerSceneConfig.getPath.c_str()); in ParseSceneConfig()
H A Dpower_config.h34 std::string getPath; member
H A Dpower_interface_impl.cpp482 HDF_LOGW("wakeuo_cause getPath does not exist"); in GetWakeupReason()
485 std::string getPath = (it->second).getPath; in GetWakeupReason() local
486 HDF_LOGI("getPath = %{public}s", getPath.c_str()); in GetWakeupReason()
488 UniqueFd wakeupCauseFd(TEMP_FAILURE_RETRY(open(getPath.c_str(), O_RDONLY | O_CLOEXEC))); in GetWakeupReason()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp277 Json::Value getPath = GetValue(valueObj, "get.path"); in IsValidChargeSceneConfig() local
278 if (!isValidJsonString(supportPath) && !isValidJsonString(setPath) && !isValidJsonString(getPath)) { in IsValidChargeSceneConfig()
318 Json::Value getPath = GetValue(valueObj, "get.path"); in ParseChargeSceneGet() local
319 if (isValidJsonString(getPath)) { in ParseChargeSceneGet()
320 std::string path = getPath.asString(); in ParseChargeSceneGet()
322 config.getPath = path; in ParseChargeSceneGet()
H A Dbattery_interface_impl.cpp283 std::string getPath = (it -> second).getPath; in GetBatteryConfig() local
284 return powerSupplyProvider_->GetConfigByPath(getPath, value); in GetBatteryConfig()
/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.h52 std::string getPath; member

Completed in 5 milliseconds