Home
last modified time | relevance | path

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

123

/hardware/google/pixel/thermal/tests/
Dthermal_looper_test.cpp38 ndk::ScopedAStatus notifyThrottling(const Temperature &t) override { in notifyThrottling()
44 std::vector<Temperature> getTemperatures() { in getTemperatures()
55 std::vector<Temperature> mTemperatures;
60 Temperature t1; in TEST_F()
62 Temperature t2; in TEST_F()
66 std::vector<Temperature> *temperatures) { in TEST_F()
67 std::vector<Temperature> ret = {t1, t2}; in TEST_F()
Dmock_thermal_helper.h32 (bool, bool, TemperatureType, std::vector<Temperature> *), (override));
42 (std::string_view, Temperature *out,
/hardware/interfaces/thermal/1.1/vts/functional/
DVtsHalThermalV1_1TargetTest.cpp26 using ::android::hardware::thermal::V1_0::Temperature;
35 static const Temperature kThrottleTemp = {
47 Temperature temperature;
58 const Temperature& temperature) override { in notifyThrottling()
/hardware/interfaces/thermal/aidl/android/hardware/thermal/
DIThermal.aidl23 import android.hardware.thermal.Temperature;
75 Temperature[] getTemperatures(); in getTemperatures()
92 Temperature[] getTemperaturesWithType(in TemperatureType type); in getTemperaturesWithType()
DIThermalChangedCallback.aidl19 import android.hardware.thermal.Temperature;
34 oneway void notifyThrottling(in Temperature temperature); in notifyThrottling()
/hardware/google/camera/common/hal/aidl_service/
Daidl_thermal_utils.h41 const aidl::android::hardware::thermal::Temperature& temperature) override;
58 const aidl::android::hardware::thermal::Temperature& aidl_temperature,
59 google_camera_hal::Temperature* hal_temperature);
Daidl_thermal_utils.cc28 using ::aidl::android::hardware::thermal::Temperature;
186 const Temperature& aidl_temperature, in ConvertToHalTemperature()
187 google_camera_hal::Temperature* hal_temperature) { in ConvertToHalTemperature()
216 const Temperature& temperature) { in notifyThrottling()
217 google_camera_hal::Temperature hal_temperature; in notifyThrottling()
/hardware/google/camera/common/hal/common/
Dthermal_types.h59 struct Temperature { struct
68 std::function<void(const Temperature& /*temperature*/)>; argument
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp37 using ::android::hardware::thermal::V1_0::Temperature;
64 void checkTemperatures(const hidl_vec<Temperature> temperatures) { in checkTemperatures()
126 void checkDeviceTemperature(const Temperature& temperature) { in checkDeviceTemperature()
168 hidl_vec<Temperature> passed; in TEST_P()
171 [&passed](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_P()
/hardware/google/pixel/thermal/
DThermal.h55 ndk::ScopedAStatus getTemperatures(std::vector<Temperature> *_aidl_return) override;
57 std::vector<Temperature> *_aidl_return) override;
85 void sendThermalChangedCallback(const Temperature &t);
120 std::vector<Temperature> *_aidl_return);
Dthermal-helper.h48 using NotificationCallback = std::function<void(const Temperature &t)>;
82 std::vector<Temperature> *temperatures) = 0;
94 std::string_view sensor_name, Temperature *out,
125 std::vector<Temperature> *temperatures) override;
145 std::string_view sensor_name, Temperature *out,
/hardware/interfaces/thermal/2.0/
Dtypes.hal94 * Name of this temperature matching the Temperature struct.
96 * e.g., cpu0, battery. Clients use it to match Temperature struct.
104 * Unit is same as Temperature's value.
112 * Unit is same as Temperature's value.
119 * Unit is same as Temperature's value.
124 struct Temperature {
DIThermalChangedCallback.hal19 import android.hardware.thermal@2.0::Temperature;
32 oneway notifyThrottling (Temperature temperature);
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/1/android/hardware/thermal/
DIThermal.aidl40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
DIThermalChangedCallback.aidl38 oneway void notifyThrottling(in android.hardware.thermal.Temperature temperature); in notifyThrottling()
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/2/android/hardware/thermal/
DIThermal.aidl40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
DIThermalChangedCallback.aidl38 oneway void notifyThrottling(in android.hardware.thermal.Temperature temperature); in notifyThrottling()
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/
DIThermal.aidl40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
DIThermalChangedCallback.aidl38 oneway void notifyThrottling(in android.hardware.thermal.Temperature temperature); in notifyThrottling()
/hardware/interfaces/thermal/utils/tests/
DThermalHidlWrapperTest.cpp62 using ::android::hardware::thermal::V2_0::Temperature;
68 static const Temperature kThrottleTemp = {
77 Temperature temperature;
84 Return<void> notifyThrottling(const Temperature& temperature) override { in notifyThrottling()
200 [](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_P()
213 true, type, [&type](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_P()
/hardware/interfaces/thermal/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp38 using ::android::hardware::thermal::V2_0::Temperature;
44 static const Temperature kThrottleTemp = {
53 Temperature temperature;
60 Return<void> notifyThrottling(const Temperature& temperature) override { in notifyThrottling()
174 [](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_P()
187 true, type, [&type](ThermalStatus status, hidl_vec<Temperature> temperatures) { in TEST_P()
/hardware/interfaces/thermal/utils/include/thermalutils/
DThermalHidlWrapper.h45 using Temperature_1_0 = ::android::hardware::thermal::V1_0::Temperature;
46 using Temperature_2_0 = ::android::hardware::thermal::V2_0::Temperature;
91 ::ndk::ScopedAStatus notifyThrottling(const Temperature& temperature) override;
/hardware/interfaces/thermal/aidl/default/
DThermal.h36 ndk::ScopedAStatus getTemperatures(std::vector<Temperature>* out_temperatures) override;
38 std::vector<Temperature>* out_temperatures) override;
/hardware/google/pixel/thermal/utils/
Dthermal_throttling.h80 const Temperature &temp, const SensorInfo &sensor_info,
100 const Temperature &temp, const SensorInfo &sensor_info,
114 const Temperature &temp, const SensorInfo &sensor_info,
/hardware/interfaces/thermal/1.1/
DIThermalCallback.hal19 import android.hardware.thermal@1.0::Temperature;
32 oneway notifyThrottling(bool isThrottling, Temperature temperature);

123