Home
last modified time | relevance | path

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

123456

/hardware/google/pixel/thermal/
Dpixel-thermal-logd.rc1 on property:persist.vendor.log.thermal=1
2 start vendor.thermal.logd
4 on property:persist.vendor.log.thermal=0
5 stop vendor.thermal.logd
7 on property:persist.vendor.log.thermal=1 && property:persist.vendor.log.thermal.interval=*
8 restart vendor.thermal.logd
10 service vendor.thermal.logd /vendor/bin/thermal_logd ${persist.vendor.log.thermal.interval:-5}
16 # Switch thermal protection for Pixels
17 on property:persist.vendor.disable.thermal.control=*
18 setprop vendor.disable.thermal.control ${persist.vendor.disable.thermal.control}
[all …]
Dandroid.hardware.thermal-service.pixel.rc1 on property:vendor.thermal.link_ready=1
2 # queue the trigger to start thermal-hal and continue execute
3 # per-device thermal setup "on property:vendor.thermal.link_ready=1"
4 trigger enable-thermal-hal
6 on enable-thermal-hal
7 restart vendor.thermal-hal
9 service vendor.thermal-hal /vendor/bin/hw/android.hardware.thermal-service.pixel
Dinit.thermal.symlinks.sh3 for f in /sys/class/thermal/thermal_zone*
6 ln -s $f /dev/thermal/tz-by-name/$tz_name
8 for f in /sys/class/thermal/cooling_device*
11 ln -s $f /dev/thermal/cdev-by-name/$cdev_name
13 setprop vendor.thermal.link_ready 1
Dpixel-thermal-symlinks.rc2 mkdir /dev/thermal 0750 system system
3 mkdir /dev/thermal/tz-by-name 0750 system system
4 mkdir /dev/thermal/cdev-by-name 0750 system system
5 start vendor.thermal.symlinks
7 service vendor.thermal.symlinks /vendor/bin/thermal_symlinks
DAndroid.bp6 name: "android.hardware.thermal-service.pixel",
10 "thermal-helper.cpp",
23 "android.hardware.thermal-service.pixel.xml",
26 "android.hardware.thermal-service.pixel.rc",
37 "android.hardware.thermal-V2-ndk",
73 "thermal-helper.cpp",
95 "android.hardware.thermal-V2-ndk",
109 src: "init.thermal.logging.sh",
112 "pixel-thermal-logd.rc",
118 src: "init.thermal.symlinks.sh",
[all …]
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/
DIThermal.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.CoolingDevice[] getCoolingDevices(); in getCoolingDevices()
39 …android.hardware.thermal.CoolingDevice[] getCoolingDevicesWithType(in android.hardware.thermal.Coo… in getCoolingDevicesWithType()
40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
42 android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholds(); in getTemperatureThresholds()
43 …android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholdsWithType(in android.hardwa… in getTemperatureThresholdsWithType()
44 void registerThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback); in registerThermalChangedCallback()
45 …angedCallbackWithType(in android.hardware.thermal.IThermalChangedCallback callback, in android.har… in registerThermalChangedCallbackWithType()
46 …void unregisterThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback… in unregisterThermalChangedCallback()
[all …]
DTemperature.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.TemperatureType type;
41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/2/android/hardware/thermal/
DIThermal.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.CoolingDevice[] getCoolingDevices(); in getCoolingDevices()
39 …android.hardware.thermal.CoolingDevice[] getCoolingDevicesWithType(in android.hardware.thermal.Coo… in getCoolingDevicesWithType()
40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
42 android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholds(); in getTemperatureThresholds()
43 …android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholdsWithType(in android.hardwa… in getTemperatureThresholdsWithType()
44 void registerThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback); in registerThermalChangedCallback()
45 …angedCallbackWithType(in android.hardware.thermal.IThermalChangedCallback callback, in android.har… in registerThermalChangedCallbackWithType()
46 …void unregisterThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback… in unregisterThermalChangedCallback()
[all …]
DTemperature.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.TemperatureType type;
41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/1/android/hardware/thermal/
DIThermal.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.CoolingDevice[] getCoolingDevices(); in getCoolingDevices()
39 …android.hardware.thermal.CoolingDevice[] getCoolingDevicesWithType(in android.hardware.thermal.Coo… in getCoolingDevicesWithType()
40 android.hardware.thermal.Temperature[] getTemperatures(); in getTemperatures()
41 …android.hardware.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.Tempera… in getTemperaturesWithType()
42 android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholds(); in getTemperatureThresholds()
43 …android.hardware.thermal.TemperatureThreshold[] getTemperatureThresholdsWithType(in android.hardwa… in getTemperatureThresholdsWithType()
44 void registerThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback); in registerThermalChangedCallback()
45 …angedCallbackWithType(in android.hardware.thermal.IThermalChangedCallback callback, in android.har… in registerThermalChangedCallbackWithType()
46 …void unregisterThermalChangedCallback(in android.hardware.thermal.IThermalChangedCallback callback… in unregisterThermalChangedCallback()
DTemperature.aidl34 package android.hardware.thermal;
38 android.hardware.thermal.TemperatureType type;
41 android.hardware.thermal.ThrottlingSeverity throttlingStatus;
/hardware/interfaces/thermal/utils/include/thermalutils/
DThermalHidlWrapper.h29 namespace thermal {
38 using IThermal_Aidl = ::aidl::android::hardware::thermal::IThermal;
39 using ::android::hardware::thermal::V1_0::CpuUsage;
40 using CoolingType_2_0 = ::android::hardware::thermal::V2_0::CoolingType;
41 using CoolingDevice_1_0 = ::android::hardware::thermal::V1_0::CoolingDevice;
42 using CoolingDevice_2_0 = ::android::hardware::thermal::V2_0::CoolingDevice;
43 using IThermal_2_0 = ::android::hardware::thermal::V2_0::IThermal;
44 using IThermalChangedCallback_2_0 = ::android::hardware::thermal::V2_0::IThermalChangedCallback;
45 using Temperature_1_0 = ::android::hardware::thermal::V1_0::Temperature;
46 using Temperature_2_0 = ::android::hardware::thermal::V2_0::Temperature;
[all …]
/hardware/interfaces/thermal/aidl/android/hardware/thermal/
DIThermal.aidl17 package android.hardware.thermal;
19 import android.hardware.thermal.CoolingDevice;
20 import android.hardware.thermal.CoolingType;
21 import android.hardware.thermal.ICoolingDeviceChangedCallback;
22 import android.hardware.thermal.IThermalChangedCallback;
23 import android.hardware.thermal.Temperature;
24 import android.hardware.thermal.TemperatureThreshold;
25 import android.hardware.thermal.TemperatureType;
DICoolingDeviceChangedCallback.aidl17 package android.hardware.thermal;
19 import android.hardware.thermal.CoolingDevice;
20 import android.hardware.thermal.Temperature;
/hardware/interfaces/thermal/2.0/default/
DThermal.h26 namespace thermal {
37 using ::android::hardware::thermal::V1_0::CpuUsage;
38 using ::android::hardware::thermal::V2_0::CoolingType;
39 using ::android::hardware::thermal::V2_0::IThermal;
40 using CoolingDevice_1_0 = ::android::hardware::thermal::V1_0::CoolingDevice;
41 using CoolingDevice_2_0 = ::android::hardware::thermal::V2_0::CoolingDevice;
42 using Temperature_1_0 = ::android::hardware::thermal::V1_0::Temperature;
43 using Temperature_2_0 = ::android::hardware::thermal::V2_0::Temperature;
44 using ::android::hardware::thermal::V2_0::IThermalChangedCallback;
45 using ::android::hardware::thermal::V2_0::TemperatureThreshold;
[all …]
Dandroid.hardware.thermal@2.0-service.rc1 service vendor.thermal-hal-2-0-mock /vendor/bin/hw/android.hardware.thermal@2.0-service.mock
2 interface android.hardware.thermal@1.0::IThermal default
3 interface android.hardware.thermal@2.0::IThermal default
/hardware/interfaces/thermal/aidl/default/
DAndroid.bp25 name: "android.hardware.thermal-service.example",
30 "android.hardware.thermal-V2-ndk",
45 name: "android.hardware.thermal.example.xml",
46 src: "thermal-example.xml",
52 name: "android.hardware.thermal.example.rc",
53 src: "thermal-example.rc",
58 name: "com.android.hardware.thermal",
67 "android.hardware.thermal-service.example",
70 "android.hardware.thermal.example.xml",
71 "android.hardware.thermal.example.rc",
Dthermal-example.rc1 service vendor.thermal-example /apex/com.android.hardware.thermal/bin/hw/android.hardware.thermal-s…
/hardware/google/camera/common/hal/aidl_service/
Daidl_thermal_utils.h33 : public aidl::android::hardware::thermal::BnThermalChangedCallback {
41 const aidl::android::hardware::thermal::Temperature& temperature) override;
48 const aidl::android::hardware::thermal::TemperatureType&
53 const aidl::android::hardware::thermal::ThrottlingSeverity&
58 const aidl::android::hardware::thermal::Temperature& aidl_temperature,
64 aidl::android::hardware::thermal::TemperatureType* aidl_temperature_type);
/hardware/interfaces/thermal/1.0/default/
DThermal.h27 namespace thermal {
31 using ::android::hardware::thermal::V1_0::CoolingDevice;
32 using ::android::hardware::thermal::V1_0::CpuUsage;
33 using ::android::hardware::thermal::V1_0::IThermal;
34 using ::android::hardware::thermal::V1_0::Temperature;
35 using ::android::hardware::thermal::V1_0::ThermalStatus;
Dandroid.hardware.thermal@1.0-service.rc1 service vendor.thermal-hal-1-0 /vendor/bin/hw/android.hardware.thermal@1.0-service
2 interface android.hardware.thermal@1.0::IThermal default
/hardware/google/pixel/thermal/tests/
Dthermal_looper_test.cpp23 namespace aidl::android::hardware::thermal::implementation { namespace
33 std::shared_ptr<Thermal> thermal = ndk::SharedRefBase::make<Thermal>(helper); member in aidl::android::hardware::thermal::implementation::ThermalLooperTest
76 ASSERT_TRUE(thermal->registerThermalChangedCallback(callback).isOk()); in TEST_F()
78 thermal->registerThermalChangedCallbackWithType(callbackWithType, TemperatureType::SKIN) in TEST_F()
80 ASSERT_TRUE(thermal->unregisterThermalChangedCallback(callback).isOk()); in TEST_F()
81 ASSERT_TRUE(thermal->unregisterThermalChangedCallback(callbackWithType).isOk()); in TEST_F()
87 ASSERT_TRUE(thermal->registerThermalChangedCallback(callback).isOk()); in TEST_F()
89 thermal->registerThermalChangedCallbackWithType(callbackWithType, TemperatureType::SKIN) in TEST_F()
/hardware/google/pixel/usb/include/pixelusb/
DUsbOverheatEvent.h55 using ::android::hardware::thermal::V1_0::ThermalStatus;
56 using ::android::hardware::thermal::V1_0::ThermalStatusCode;
57 using ::android::hardware::thermal::V2_0::IThermal;
58 using ::android::hardware::thermal::V2_0::IThermalChangedCallback;
59 using ::android::hardware::thermal::V2_0::Temperature;
60 using ::android::hardware::thermal::V2_0::TemperatureType;
61 using ::android::hardware::thermal::V2_0::ThrottlingSeverity;
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator_test.cpp109 thermal::vtestimator::VtEstimatorStatus ret; in run_random_input_inference()
114 thermal::vtestimator::VirtualTempEstimator vt_estimator_( in run_random_input_inference()
115 kTestSensorName, thermal::vtestimator::kUseMLModel, input_size); in run_random_input_inference()
116 ::thermal::vtestimator::VtEstimationInitData init_data(thermal::vtestimator::kUseMLModel); in run_random_input_inference()
123 if (ret != thermal::vtestimator::kVtEstimatorOk) { in run_random_input_inference()
150 if (ret != thermal::vtestimator::kVtEstimatorOk) { in run_random_input_inference()
247 thermal::vtestimator::VtEstimatorStatus ret; in run_single_inference()
250 thermal::vtestimator::VirtualTempEstimator vt_estimator_( in run_single_inference()
251 kTestSensorName, thermal::vtestimator::kUseMLModel, num_linked_sensors); in run_single_inference()
252 ::thermal::vtestimator::VtEstimationInitData init_data(thermal::vtestimator::kUseMLModel); in run_single_inference()
[all …]
/hardware/qcom/sm8150/thermal/
DAndroid.mk19 LOCAL_MODULE := thermal.$(TARGET_BOARD_PLATFORM)
26 LOCAL_SRC_FILES := thermal.c
30 LOCAL_SRC_FILES += thermal-8998.c
32 LOCAL_SRC_FILES += thermal-845.c

123456