Home | History | Annotate | Download | only in functional

Lines Matching refs:Temperature

35 using ::android::hardware::thermal::V1_0::Temperature;
62 void checkTemperatures(const hidl_vec<Temperature> temperatures) {
122 // Check validity of temperature returned by Thermal HAL.
123 void checkDeviceTemperature(const Temperature& temperature) {
125 EXPECT_TRUE(temperature.type == TemperatureType::UNKNOWN ||
126 std::abs(temperature.currentValue) < MAX_DEVICE_TEMPERATURE ||
127 isnan(temperature.currentValue));
130 EXPECT_LT(0u, temperature.name.size());
133 EXPECT_TRUE(temperature.currentValue < temperature.shutdownThreshold ||
134 isnan(temperature.currentValue) || isnan(temperature.shutdownThreshold));
137 EXPECT_TRUE(temperature.throttlingThreshold < temperature.shutdownThreshold ||
138 isnan(temperature.throttlingThreshold) || isnan(temperature.shutdownThreshold));
165 hidl_vec<Temperature> passed;
168 [&passed](ThermalStatus status, hidl_vec<Temperature> temperatures) {