Home
last modified time | relevance | path

Searched refs:sceneName (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_interface_impl.h54 int32_t SetBatteryConfig(const std::string& sceneName, const std::string& value) override;
55 int32_t GetBatteryConfig(const std::string& sceneName, std::string& value) override;
56 int32_t IsBatteryConfigSupported(const std::string& sceneName, bool& value) override;
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp248 int32_t BatteryInterfaceImpl::SetBatteryConfig(const std::string& sceneName, const std::string& value) in SetBatteryConfig() argument
259 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in SetBatteryConfig()
265 BATTERY_HILOGW(FEATURE_BATT_INFO, "key:%{public}s not found", sceneName.c_str()); in SetBatteryConfig()
269 int32_t BatteryInterfaceImpl::GetBatteryConfig(const std::string& sceneName, std::string& value) in GetBatteryConfig() argument
281 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in GetBatteryConfig()
287 BATTERY_HILOGE(FEATURE_BATT_INFO, "key:%{public}s not found", sceneName.c_str()); in GetBatteryConfig()
292 int32_t BatteryInterfaceImpl::IsBatteryConfigSupported(const std::string& sceneName, bool& value) in IsBatteryConfigSupported() argument
304 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in IsBatteryConfigSupported()
325 BATTERY_HILOGE(FEATURE_BATT_INFO, "key:%{public}s not found", sceneName.c_str()); in IsBatteryConfigSupported()

Completed in 1 milliseconds