Searched refs:temperatures (Results 1 – 5 of 5) sorted by relevance
51 hidl_vec<Temperature> temperatures; in getTemperatures() local55 _hidl_cb(status, temperatures); in getTemperatures()65 temperatures.resize(list.size()); in getTemperatures()69 temperatures[i].type = TemperatureType::UNKNOWN; in getTemperatures()72 temperatures[i].type = TemperatureType::CPU; in getTemperatures()75 temperatures[i].type = TemperatureType::GPU; in getTemperatures()78 temperatures[i].type = TemperatureType::BATTERY; in getTemperatures()81 temperatures[i].type = TemperatureType::SKIN; in getTemperatures()87 temperatures[i].name = list[i].name; in getTemperatures()88 temperatures[i].currentValue = finalizeTemperature(list[i].current_value); in getTemperatures()[all …]
62 void checkTemperatures(const hidl_vec<Temperature> temperatures) { in checkTemperatures() argument63 size_t size = temperatures.size(); in checkTemperatures()67 checkDeviceTemperature(temperatures[i]); in checkTemperatures()69 EXPECT_EQ(names_[i], temperatures[i].name.c_str()); in checkTemperatures()72 if (temperatures[i].type != TemperatureType::UNKNOWN) { in checkTemperatures()74 temperatures[i].name.c_str())); in checkTemperatures()76 names_.push_back(temperatures[i].name); in checkTemperatures()169 [&passed](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_F() argument171 passed = temperatures; in TEST_F()
22 * Retrieves temperatures in Celsius.27 * @return temperatures If status code is SUCCESS, it's filled with the28 * current temperatures. The order of temperatures of built-in32 * always returns and never removes such temperatures.39 generates (ThermalStatus status, vec<Temperature> temperatures);
42 * All temperatures of the same "type" must have a different "name",
649 * This parameter affects all HVAC temperatures in the system.