Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp1469 Json::Value power_rails = config["PowerRails"]; in ParsePowerRailInfo() local
1473 for (Json::Value::ArrayIndex i = 0; i < power_rails.size(); ++i) { in ParsePowerRailInfo()
1474 const std::string &name = power_rails[i]["Name"].asString(); in ParsePowerRailInfo()
1491 if (!power_rails[i]["VirtualRails"].empty() && power_rails[i]["VirtualRails"].isBool()) { in ParsePowerRailInfo()
1492 is_virtual_power_rail = power_rails[i]["VirtualRails"].asBool(); in ParsePowerRailInfo()
1497 values = power_rails[i]["Combination"]; in ParsePowerRailInfo()
1511 values = power_rails[i]["Coefficient"]; in ParsePowerRailInfo()
1532 if (!power_rails[i]["Offset"].empty()) { in ParsePowerRailInfo()
1533 offset = power_rails[i]["Offset"].asFloat(); in ParsePowerRailInfo()
1543 if (power_rails[i]["Formula"].asString().compare("COUNT_THRESHOLD") == 0) { in ParsePowerRailInfo()
[all …]