/frameworks/base/core/java/android/os/ |
Temperature.aidl | 19 parcelable Temperature;
|
IThermalEventListener.aidl | 19 import android.os.Temperature; 28 * @param temperature the temperature at which the event was generated. 31 in boolean isThrottling, in Temperature temperature);
|
Temperature.java | 20 * Temperature values used by IThermalService. 26 public class Temperature implements Parcelable { 27 /* Temperature value */ 29 /* A temperature type from HardwarePropertiesManager */ 32 public Temperature() { 37 public Temperature(float value, int type) { 43 * Return the temperature value. 44 * @return a temperature value in floating point. 51 * Return the temperature type. 52 * @return a temperature type [all...] |
IThermalService.aidl | 20 import android.os.Temperature; 40 * @param temperature the temperature at which the event was generated. 44 in boolean isThrottling, in Temperature temperature);
|
/frameworks/native/services/thermalservice/aidl/android/os/ |
IThermalEventListener.aidl | 19 import android.os.Temperature; 28 * @param temperature the temperature at which the event was generated. 31 in boolean isThrottling, in Temperature temperature);
|
Temperature.h | 9 class Temperature : public Parcelable { 12 Temperature(); 13 Temperature(const float value, const int type); 14 ~Temperature() override; 23 // The value of the temperature as a float, or NAN if unknown. 25 // The type of the temperature, an enum temperature_type from
|
Temperature.cpp | 17 #include "android/os/Temperature.h" 29 Temperature::Temperature() : value_(NAN), type_(DEVICE_TEMPERATURE_UNKNOWN) {} 31 Temperature::Temperature(const float value, const int type) : 34 Temperature::~Temperature() {} 38 * frameworks/base/core/java/android/os/Temperature.java 41 status_t Temperature::readFromParcel(const Parcel* p) { 47 status_t Temperature::writeToParcel(Parcel* p) const [all...] |
IThermalService.aidl | 20 import android.os.Temperature; 38 * @param temperature the temperature at which the event was generated. 42 in boolean isThrottling, in Temperature temperature);
|
/hardware/interfaces/thermal/1.1/ |
IThermalCallback.hal | 19 import android.hardware.thermal@1.0::Temperature; 29 * @param temperature The temperature associated with the throttling 32 oneway notifyThrottling(bool isThrottling, Temperature temperature);
|
/frameworks/native/services/thermalservice/ |
ThermalService.h | 22 #include <android/os/Temperature.h> 36 const bool isThrottling, const Temperature& temperature); 42 Temperature mThrottleTemperature;
|
thermalserviced.h | 24 using ::android::hardware::thermal::V1_0::Temperature;
|
ThermalService.cpp | 20 #include <android/os/Temperature.h> 32 * @param temperature the temperature at which the event was generated 35 const bool isThrottling, const Temperature& temperature) { 39 mThrottleTemperature = temperature; 42 mListeners[i]->notifyThrottling(isThrottling, temperature);
|
thermalserviced.cpp | 31 using ::android::hardware::thermal::V1_0::Temperature;
|
/frameworks/native/services/thermalservice/libthermalcallback/ |
ThermalCallback.h | 6 #include <android/os/Temperature.h> 29 const android::hardware::thermal::V1_0::Temperature& temperature)
|
ThermalCallback.cpp | 7 #include <android/os/Temperature.h> 28 const android::hardware::thermal::V1_0::Temperature& temperature) { 30 // Convert HIDL IThermal Temperature to binder IThermalService Temperature. 35 switch(temperature.type) { 54 value = temperature.currentValue == UNKNOWN_TEMPERATURE ? NAN : 55 temperature.currentValue; 57 android::os::Temperature thermal_svc_temp(value, type);
|
/hardware/interfaces/thermal/1.0/ |
IThermal.hal | 39 generates (ThermalStatus status, vec<Temperature> temperatures);
|
types.hal | 19 /** Device temperature types */ 34 struct Temperature { 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 [all...] |
/external/dng_sdk/source/ |
dng_temperature.h | 15 * Representation of color temperature and offset (tint) using black body 48 dng_temperature (real64 temperature, 51 : fTemperature (temperature) 67 void SetTemperature (real64 temperature) 69 fTemperature = temperature; 72 real64 Temperature () const
|
/hardware/interfaces/thermal/1.1/vts/functional/ |
VtsHalThermalV1_1TargetTest.cpp | 24 using ::android::hardware::thermal::V1_0::Temperature; 33 static const Temperature kThrottleTemp = { 35 .name = "test temperature sensor", 45 Temperature temperature; member in class:ThermalCallbackArgs 56 const Temperature& temperature) override { 59 args.temperature = temperature; 98 EXPECT_EQ(kThrottleTemp, res.args->temperature); [all...] |
/device/google/wahoo/thermal/ |
Thermal.h | 32 using ::android::hardware::thermal::V1_0::Temperature; 48 void notifyThrottling(bool isThrottling, const Temperature& temperature);
|
thermal-helper.h | 42 using ::android::hardware::thermal::V1_0::Temperature; 94 ssize_t fillTemperatures(hidl_vec<Temperature> *temperatures);
|
Thermal.cpp | 55 hidl_vec<Temperature> temperatures; 160 bool isThrottling, const Temperature& temperature) { 163 gThermalCallback->notifyThrottling(isThrottling, temperature);
|
/hardware/interfaces/thermal/1.0/vts/functional/ |
VtsHalThermalV1_0TargetTest.cpp | 35 using ::android::hardware::thermal::V1_0::Temperature; 62 void checkTemperatures(const hidl_vec<Temperature> temperatures) { 71 // Names must be unique only for known temperature types. 123 // Check validity of temperature returned by Thermal HAL. 124 void checkDeviceTemperature(const Temperature& temperature) { 126 EXPECT_TRUE(temperature.type == TemperatureType::UNKNOWN || 127 std::abs(temperature.currentValue) < MAX_DEVICE_TEMPERATURE || 128 isnan(temperature.currentValue)); 131 EXPECT_LT(0u, temperature.name.size()) [all...] |
/test/vts-testcase/hal/thermal/V1_0/target_stress/ |
thermal_hidl_stress_test.cpp | 32 using ::android::hardware::thermal::V1_0::Temperature; 73 [&](ThermalStatus status, hidl_vec<Temperature> /* temperatures */) {
|
/hardware/interfaces/thermal/1.0/default/ |
Thermal.h | 34 using ::android::hardware::thermal::V1_0::Temperature;
|