Home
last modified time | relevance | path

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

/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp118 void checkCoolingDevices(const hidl_vec<CoolingDevice> coolingDevices) { in checkCoolingDevices() argument
119 size_t size = coolingDevices.size(); in checkCoolingDevices()
123 checkCoolingDevice(coolingDevices[i]); in checkCoolingDevices()
125 EXPECT_EQ(names_[i], coolingDevices[i].name.c_str()); in checkCoolingDevices()
129 coolingDevices[i].name.c_str())); in checkCoolingDevices()
130 names_.push_back(coolingDevices[i].name); in checkCoolingDevices()
215 ThermalStatus status, hidl_vec<CoolingDevice> coolingDevices) { in TEST_F() argument
217 passed = coolingDevices; in TEST_F()
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp145 hidl_vec<CoolingDevice> coolingDevices; in getCoolingDevices() local
149 _hidl_cb(status, coolingDevices); in getCoolingDevices()
160 coolingDevices.resize(list.size()); in getCoolingDevices()
164 coolingDevices[i].type = CoolingType::FAN_RPM; in getCoolingDevices()
169 coolingDevices[i].name = list[i].name; in getCoolingDevices()
170 coolingDevices[i].currentValue = list[i].current_value; in getCoolingDevices()
178 _hidl_cb(status, coolingDevices); in getCoolingDevices()