Home
last modified time | relevance | path

Searched refs:temperatures (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/thermal/1.0/default/
DThermal.cpp51 hidl_vec<Temperature> temperatures; in getTemperatures() local
55 _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 …]
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp62 void checkTemperatures(const hidl_vec<Temperature> temperatures) { in checkTemperatures() argument
63 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() argument
171 passed = temperatures; in TEST_F()
/hardware/interfaces/thermal/1.0/
DIThermal.hal22 * Retrieves temperatures in Celsius.
27 * @return temperatures If status code is SUCCESS, it's filled with the
28 * current temperatures. The order of temperatures of built-in
32 * always returns and never removes such temperatures.
39 generates (ThermalStatus status, vec<Temperature> temperatures);
Dtypes.hal42 * All temperatures of the same "type" must have a different "name",
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal649 * This parameter affects all HVAC temperatures in the system.