Home
last modified time | relevance | path

Searched refs:temperatures (Results 1 – 4 of 4) 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.cpp78 void checkTemperatures(const hidl_vec<Temperature> temperatures) { in checkTemperatures() argument
79 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() argument
187 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);
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal948 * Note that internally, all temperatures are represented in floating point Celsius.