Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp96 if (power_rail_info_pair.second.virtual_power_rail_info != nullptr && in registerPowerRailsToWatch()
97 power_rail_info_pair.second.virtual_power_rail_info->linked_power_rails.size()) { in registerPowerRailsToWatch()
99 i < power_rail_info_pair.second.virtual_power_rail_info->linked_power_rails.size(); in registerPowerRailsToWatch()
102 power_rail_info_pair.second.virtual_power_rail_info->linked_power_rails[i]; in registerPowerRailsToWatch()
282 if (power_rail_info.virtual_power_rail_info == nullptr) { in updatePowerRail()
285 const auto offset = power_rail_info.virtual_power_rail_info->offset; in updatePowerRail()
287 for (size_t i = 0; i < power_rail_info.virtual_power_rail_info->linked_power_rails.size(); in updatePowerRail()
289 float coefficient = power_rail_info.virtual_power_rail_info->coefficients[i]; in updatePowerRail()
291 power_rail_info.virtual_power_rail_info->linked_power_rails[i], in updatePowerRail()
294 switch (power_rail_info.virtual_power_rail_info->formula) { in updatePowerRail()
Dthermal_info.h244 std::unique_ptr<VirtualPowerRailInfo> virtual_power_rail_info; member
Dthermal_info.cpp1558 std::unique_ptr<VirtualPowerRailInfo> virtual_power_rail_info; in ParsePowerRailInfo() local
1560 virtual_power_rail_info.reset( in ParsePowerRailInfo()
1577 .virtual_power_rail_info = std::move(virtual_power_rail_info), in ParsePowerRailInfo()
/hardware/google/pixel/thermal/
DThermal.cpp574 if (power_rail_pair.second.virtual_power_rail_info != nullptr) { in dumpPowerRailInfo()
576 switch (power_rail_pair.second.virtual_power_rail_info->formula) { in dumpPowerRailInfo()
596 if (power_rail_pair.second.virtual_power_rail_info != nullptr) { in dumpPowerRailInfo()
599 << power_rail_pair.second.virtual_power_rail_info->linked_power_rails[i] in dumpPowerRailInfo()
602 << power_rail_pair.second.virtual_power_rail_info->coefficients[i] in dumpPowerRailInfo()