Home
last modified time | relevance | path

Searched refs:chargeTypePath (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp187 Json::Value chargeTypePath = GetValue(chargerConfig, "type.path"); in ParseChargerConfig() local
188 if (isValidJsonString(chargeTypePath)) { in ParseChargerConfig()
189 chargerConfig_.chargeTypePath = chargeTypePath.asString(); in ParseChargerConfig()
H A Dpower_supply_provider.cpp636 std::string mockChargeTypePath = chargerConfig.chargeTypePath; in InitChargerSysfs()
911 int32_t PowerSupplyProvider::ParseChargeType(int32_t* chargeType, std::string& chargeTypePath) in ParseChargeType() argument
914 int32_t ret = ReadBatterySysfsToBuff(chargeTypePath.c_str(), buf, sizeof(buf)); in ParseChargeType()
H A Dbattery_interface_impl.cpp239 int32_t ret = powerSupplyProvider_->ParseChargeType(&type, chargerConfig.chargeTypePath); in GetChargeType()
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp104 ASSERT_TRUE(chargerConf.chargeTypePath.size());
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h45 std::string chargeTypePath; member
H A Dpower_supply_provider.h93 int32_t ParseChargeType(int32_t* chargeType, std::string& chargeTypePath);