Searched refs:temperatures (Results 1 – 4 of 4) 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 …]
78 void checkTemperatures(const hidl_vec<Temperature> temperatures) { in checkTemperatures() argument79 size_t size = temperatures.size(); in checkTemperatures()83 checkDeviceTemperature(temperatures[i]); in checkTemperatures()85 EXPECT_EQ(names_[i], temperatures[i].name.c_str()); in checkTemperatures()88 if (temperatures[i].type != TemperatureType::UNKNOWN) { in checkTemperatures()90 temperatures[i].name.c_str())); in checkTemperatures()92 names_.push_back(temperatures[i].name); in checkTemperatures()185 [&passed](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_F() argument187 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);
948 * Note that internally, all temperatures are represented in floating point Celsius.