Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp140 void checkDeviceTemperature(const Temperature& temperature) { in checkDeviceTemperature() argument
142 EXPECT_TRUE(temperature.type == TemperatureType::UNKNOWN || in checkDeviceTemperature()
143 std::abs(temperature.currentValue) < MAX_DEVICE_TEMPERATURE || in checkDeviceTemperature()
144 isnan(temperature.currentValue)); in checkDeviceTemperature()
147 EXPECT_LT(0u, temperature.name.size()); in checkDeviceTemperature()
150 EXPECT_TRUE(temperature.currentValue < temperature.shutdownThreshold || in checkDeviceTemperature()
151 isnan(temperature.currentValue) || isnan(temperature.shutdownThreshold)); in checkDeviceTemperature()
154 EXPECT_TRUE(temperature.throttlingThreshold < temperature.shutdownThreshold || in checkDeviceTemperature()
155 isnan(temperature.throttlingThreshold) || isnan(temperature.shutdownThreshold)); in checkDeviceTemperature()
/hardware/interfaces/thermal/1.0/
Dtypes.hal19 /** Device temperature types */
36 * This temperature's type.
41 * Name of this temperature.
48 * Current temperature in Celsius. If not available set by HAL to NAN.
49 * Current temperature can be in any units if type=UNKNOWN.
54 * Throttling temperature constant for this temperature.
60 * Shutdown temperature constant for this temperature.
66 * Threshold temperature above which the VR mode clockrate minimums cannot
/hardware/interfaces/thermal/2.0/
Dtypes.hal21 /** Device temperature types */
89 * This temperature's type.
94 * Name of this temperature matching the Temperature struct.
101 * Hot throttling temperature constant for this temperature sensor in
103 * happens when temperature >= threshold. If not available, set to NAN.
109 * Cold throttling temperature constant for this temperature sensor in
111 * happens when temperature <= threshold. If not available, set to NAN.
117 * Threshold temperature above which the VR mode clockrate minimums cannot
126 * This temperature's type.
131 * Name of this temperature matching the TemperatureThreshold.
[all …]
DIThermalChangedCallback.hal29 * @param temperature The temperature associated with the
32 oneway notifyThrottling (Temperature temperature);
DIThermal.hal45 * Retrieves static temperature thresholds in Celsius.
/hardware/interfaces/thermal/1.1/vts/functional/
DVtsHalThermalV1_1TargetTest.cpp46 Temperature temperature; member in ThermalCallbackArgs
57 const Temperature& temperature) override { in notifyThrottling() argument
60 args.temperature = temperature; in notifyThrottling()
114 EXPECT_EQ(kThrottleTemp, res.args->temperature); in TEST_F()
/hardware/interfaces/thermal/1.1/
DIThermalCallback.hal29 * @param temperature The temperature associated with the throttling
32 oneway notifyThrottling(bool isThrottling, Temperature temperature);
/hardware/interfaces/thermal/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp51 Temperature temperature; member in ThermalCallbackArgs
58 Return<void> notifyThrottling(const Temperature& temperature) override { in notifyThrottling() argument
60 args.temperature = temperature; in notifyThrottling()
128 EXPECT_EQ(kThrottleTemp, res.args->temperature); in TEST_F()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c58 char *temperature; member
193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
266 long long temperature = 0; in main() local
451 fptr = fopen(mpu.temperature, "r"); in main()
453 fscanf(fptr,"%lld %ld", &temperature, &timestamp); in main()
478 save_data.gyro_temp = temperature * (1L << 16); in main()
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp39 float finalizeTemperature(float temperature) { in finalizeTemperature() argument
40 return temperature == UNKNOWN_TEMPERATURE ? NAN : temperature; in finalizeTemperature()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.h35 const char *temperature; member
Dinv_sysfs_utils.c134 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.h29 const char *temperature; member
Dinv_sysfs_utils.c128 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
/hardware/google/pixel/pixelstats/
Dpixelatoms.proto100 /* Battery temperature, in deciC. */
108 /* Battery temperature stats, in deciC. */
/hardware/interfaces/health/1.0/
Dtypes.hal122 * batteryTemperaturePath - file path to read battery temperature in tenths
202 /** Instantaneous battery temperature in tenths of degree celcius */
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal724 * temperature control units -- driver side and passenger side.
732 * The temperature controllers are assigned to the seats which they
742 * are three temperature control units -- driver side, passenger side, and rear.
776 * HVAC current temperature.
789 * HVAC, target temperature set.
830 * temperature, etc as necessary to cool the vehicle as quickly as possible.
847 * temperature, etc as necessary to defrost the windows as quickly as
879 * Enable temperature coupling between areas.
891 * temperature control units -- driver side and passenger side -- which can
896 * When the property is enabled, the ECU must synchronize the temperature
[all …]
/hardware/libhardware/include/hardware/
Dsensors.h330 float temperature; member
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp79 CHECK_MEMBER_AT(sensors_event_t, temperature, 24, 24); in CheckOffsets()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h449 char *temperature; member
DMPLSensor.cpp300 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor()
301 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor()
306 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor()
3967 long long temperature[2]; in buildMpuEvent() local
3968 if(inv_read_temperature(temperature) == 0) { in buildMpuEvent()
3971 temperature[0], temperature[1]); in buildMpuEvent()
3972 inv_build_temp(temperature[0], temperature[1]); in buildMpuEvent()
3982 (float)temperature[0] / 65536.f, in buildMpuEvent()
5050 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp208 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor()
209 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor()
214 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor()
4394 long long temperature[2]; local
4395 if(inv_read_temperature(temperature) == 0) {
4398 temperature[0], temperature[1]);
4399 inv_build_temp(temperature[0], temperature[1]);
4410 (float)temperature[0] / 65536.f,
5411 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature");
DMPLSensor.h451 char *temperature; member
/hardware/interfaces/sensors/1.0/
Dtypes.hal265 * The ambient (room) temperature in degree Celsius.
652 * calibration parameters, noise level metrics, device internal temperature,
1000 /** float: Celsius temperature */
1175 * temperature is in degrees centigrade (Celsius)
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal1278 /** android.sensor.temperature [dynamic, float, system]
1280 * <p>The temperature of the sensor, sampled at the time