Searched refs:chargeTypePath (Results 1 – 6 of 6) sorted by relevance
187 Json::Value chargeTypePath = GetValue(chargerConfig, "type.path"); in ParseChargerConfig() local188 if (isValidJsonString(chargeTypePath)) { in ParseChargerConfig()189 chargerConfig_.chargeTypePath = chargeTypePath.asString(); in ParseChargerConfig()
636 std::string mockChargeTypePath = chargerConfig.chargeTypePath; in InitChargerSysfs()911 int32_t PowerSupplyProvider::ParseChargeType(int32_t* chargeType, std::string& chargeTypePath) in ParseChargeType() argument914 int32_t ret = ReadBatterySysfsToBuff(chargeTypePath.c_str(), buf, sizeof(buf)); in ParseChargeType()
239 int32_t ret = powerSupplyProvider_->ParseChargeType(&type, chargerConfig.chargeTypePath); in GetChargeType()
104 ASSERT_TRUE(chargerConf.chargeTypePath.size());
45 std::string chargeTypePath; member
93 int32_t ParseChargeType(int32_t* chargeType, std::string& chargeTypePath);