Searched refs:cooling_devices (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/thermal/utils/tests/ |
D | ThermalHidlWrapperTest.cpp | 260 [](ThermalStatus status, hidl_vec<CoolingDevice> cooling_devices) { in TEST_P() argument 261 if (cooling_devices.size()) { in TEST_P() 266 for (int i = 0; i < cooling_devices.size(); ++i) { in TEST_P() 267 EXPECT_LT(0u, cooling_devices[i].name.size()); in TEST_P() 273 true, type, [&type](ThermalStatus status, hidl_vec<CoolingDevice> cooling_devices) { in TEST_P() argument 274 if (cooling_devices.size()) { in TEST_P() 279 for (int i = 0; i < cooling_devices.size(); ++i) { in TEST_P() 280 EXPECT_EQ(type, cooling_devices[i].type); in TEST_P() 281 EXPECT_LT(0u, cooling_devices[i].name.size()); in TEST_P()
|
/hardware/interfaces/thermal/2.0/vts/functional/ |
D | VtsHalThermalV2_0TargetTest.cpp | 232 false, CoolingType::CPU, [](ThermalStatus status, hidl_vec<CoolingDevice> cooling_devices) { in TEST_P() argument 233 if (cooling_devices.size()) { in TEST_P() 238 for (int i = 0; i < cooling_devices.size(); ++i) { in TEST_P() 239 EXPECT_LT(0u, cooling_devices[i].name.size()); in TEST_P() 245 true, type, [&type](ThermalStatus status, hidl_vec<CoolingDevice> cooling_devices) { in TEST_P() argument 246 if (cooling_devices.size()) { in TEST_P() 251 for (int i = 0; i < cooling_devices.size(); ++i) { in TEST_P() 252 EXPECT_EQ(type, cooling_devices[i].type); in TEST_P() 253 EXPECT_LT(0u, cooling_devices[i].name.size()); in TEST_P()
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.cpp | 104 std::vector<CoolingDevice_1_0> cooling_devices = {kCooling_1_0}; in getCoolingDevices() local 105 _hidl_cb(status, cooling_devices); in getCoolingDevices() 144 std::vector<CoolingDevice_2_0> cooling_devices; in getCurrentCoolingDevices() local 149 cooling_devices = {kCooling_2_0}; in getCurrentCoolingDevices() 151 _hidl_cb(status, cooling_devices); in getCurrentCoolingDevices()
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_info.cpp | 1397 Json::Value cooling_devices = config["CoolingDevices"]; in ParseCoolingDevice() local 1401 for (Json::Value::ArrayIndex i = 0; i < cooling_devices.size(); ++i) { in ParseCoolingDevice() 1402 const std::string &name = cooling_devices[i]["Name"].asString(); in ParseCoolingDevice() 1417 std::string cooling_device_type_str = cooling_devices[i]["Type"].asString(); in ParseCoolingDevice() 1428 const std::string &read_path = cooling_devices[i]["ReadPath"].asString(); in ParseCoolingDevice() 1431 const std::string &write_path = cooling_devices[i]["WritePath"].asString(); in ParseCoolingDevice() 1435 Json::Value values = cooling_devices[i]["State2Power"]; in ParseCoolingDevice() 1452 const std::string &power_rail = cooling_devices[i]["PowerRail"].asString(); in ParseCoolingDevice()
|
/hardware/google/pixel/thermal/ |
D | Thermal.cpp | 784 std::vector<CoolingDevice> cooling_devices; in dumpThermalData() local 786 &cooling_devices)) { in dumpThermalData() 790 for (const auto &c : cooling_devices) { in dumpThermalData()
|
D | thermal-helper.cpp | 949 bool filterType, CoolingType type, std::vector<CoolingDevice> *cooling_devices) const { in fillCurrentCoolingDevices() 963 *cooling_devices = ret; in fillCurrentCoolingDevices()
|