/hardware/google/camera/common/hal/aidl_service/ |
D | aidl_thermal_utils.cc | 29 using ::aidl::android::hardware::thermal::TemperatureType; 40 const google_camera_hal::TemperatureType& hal_temperature_type, in ConvertToAidlTemperatureType() 41 TemperatureType* aidl_temperature_type) { in ConvertToAidlTemperatureType() 48 case google_camera_hal::TemperatureType::kUnknown: in ConvertToAidlTemperatureType() 49 *aidl_temperature_type = TemperatureType::UNKNOWN; in ConvertToAidlTemperatureType() 51 case google_camera_hal::TemperatureType::kCpu: in ConvertToAidlTemperatureType() 52 *aidl_temperature_type = TemperatureType::CPU; in ConvertToAidlTemperatureType() 54 case google_camera_hal::TemperatureType::kGpu: in ConvertToAidlTemperatureType() 55 *aidl_temperature_type = TemperatureType::GPU; in ConvertToAidlTemperatureType() 57 case google_camera_hal::TemperatureType::kBattery: in ConvertToAidlTemperatureType() [all …]
|
D | aidl_thermal_utils.h | 48 const aidl::android::hardware::thermal::TemperatureType& 50 google_camera_hal::TemperatureType* hal_temperature_type); 63 const google_camera_hal::TemperatureType& hal_temperature_type, 64 aidl::android::hardware::thermal::TemperatureType* aidl_temperature_type);
|
/hardware/google/camera/common/hal/common/ |
D | thermal_types.h | 31 enum class TemperatureType : int32_t { enum 60 TemperatureType type = TemperatureType::kUnknown; 75 bool /*filter_type*/, TemperatureType /*type*/)>;
|
/hardware/google/pixel/thermal/ |
D | Thermal.h | 34 TemperatureType type) in CallbackSetting() 38 TemperatureType type; 56 ndk::ScopedAStatus getTemperaturesWithType(TemperatureType type, 62 TemperatureType type, std::vector<TemperatureThreshold> *_aidl_return) override; 68 TemperatureType type) override; 119 ndk::ScopedAStatus getFilteredTemperatures(bool filterType, TemperatureType type, 124 bool filterType, TemperatureType type, std::vector<TemperatureThreshold> *_aidl_return); 127 TemperatureType type);
|
/hardware/interfaces/thermal/utils/tests/ |
D | ThermalHidlWrapperTest.cpp | 64 using ::android::hardware::thermal::V2_0::TemperatureType; 69 .type = TemperatureType::SKIN, 103 mThermalCallback, false, TemperatureType::SKIN, in SetUp() 108 mThermalCallback, false, TemperatureType::SKIN, in SetUp() 146 mThermalCallback, false, TemperatureType::SKIN, in TEST_P() 151 nullptr, false, TemperatureType::SKIN, in TEST_P() 157 localThermalCallback, false, TemperatureType::SKIN, in TEST_P() 182 localThermalCallback, false, TemperatureType::SKIN, in TEST_P() 199 mThermal->getCurrentTemperatures(false, TemperatureType::SKIN, in TEST_P() 210 auto types = hidl_enum_range<TemperatureType>(); in TEST_P() [all …]
|
/hardware/interfaces/thermal/2.0/vts/functional/ |
D | VtsHalThermalV2_0TargetTest.cpp | 40 using ::android::hardware::thermal::V2_0::TemperatureType; 45 .type = TemperatureType::SKIN, 77 mThermalCallback, false, TemperatureType::SKIN, in SetUp() 82 mThermalCallback, false, TemperatureType::SKIN, in SetUp() 120 mThermalCallback, false, TemperatureType::SKIN, in TEST_P() 125 nullptr, false, TemperatureType::SKIN, in TEST_P() 131 localThermalCallback, false, TemperatureType::SKIN, in TEST_P() 156 localThermalCallback, false, TemperatureType::SKIN, in TEST_P() 173 mThermal->getCurrentTemperatures(false, TemperatureType::SKIN, in TEST_P() 184 auto types = hidl_enum_range<TemperatureType>(); in TEST_P() [all …]
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.h | 46 using ::android::hardware::thermal::V2_0::TemperatureType; 49 CallbackSetting(sp<IThermalChangedCallback> callback, bool is_filter_type, TemperatureType type) in CallbackSetting() 53 TemperatureType type; 64 Return<void> getCurrentTemperatures(bool filterType, TemperatureType type, 66 Return<void> getTemperatureThresholds(bool filterType, TemperatureType type, 69 const sp<IThermalChangedCallback>& callback, bool filterType, TemperatureType type,
|
D | Thermal.cpp | 41 .type = static_cast<::android::hardware::thermal::V1_0::TemperatureType>( 42 TemperatureType::SKIN), 51 .type = TemperatureType::SKIN, 58 .type = TemperatureType::SKIN, 110 Return<void> Thermal::getCurrentTemperatures(bool filterType, TemperatureType type, in getCurrentTemperatures() 125 Return<void> Thermal::getTemperatureThresholds(bool filterType, TemperatureType type, in getTemperatureThresholds() 156 bool filterType, TemperatureType type, in registerThermalChangedCallback()
|
/hardware/interfaces/thermal/aidl/android/hardware/thermal/ |
D | IThermal.aidl | 25 import android.hardware.thermal.TemperatureType; 92 Temperature[] getTemperaturesWithType(in TemperatureType type); in getTemperaturesWithType() 137 TemperatureThreshold[] getTemperatureThresholdsWithType(in TemperatureType type); in getTemperatureThresholdsWithType() 176 in IThermalChangedCallback callback, in TemperatureType type); in registerThermalChangedCallbackWithType()
|
D | TemperatureThreshold.aidl | 19 import android.hardware.thermal.TemperatureType; 28 TemperatureType type;
|
D | Temperature.aidl | 19 import android.hardware.thermal.TemperatureType; 29 TemperatureType type;
|
/hardware/google/pixel/thermal/tests/ |
D | thermal_looper_test.cpp | 61 t1.type = TemperatureType::SKIN; in TEST_F() 63 t2.type = TemperatureType::UNKNOWN; in TEST_F() 65 .WillByDefault([this, t1, t2](bool, bool, TemperatureType, in TEST_F() 78 thermal->registerThermalChangedCallbackWithType(callbackWithType, TemperatureType::SKIN) in TEST_F() argument 89 thermal->registerThermalChangedCallbackWithType(callbackWithType, TemperatureType::SKIN) in TEST_F()
|
D | mock_thermal_helper.h | 32 (bool, bool, TemperatureType, std::vector<Temperature> *), (override)); 34 (bool, TemperatureType, std::vector<TemperatureThreshold> *), (const, override));
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/1/android/hardware/thermal/ |
D | IThermal.aidl | 41 …re.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.TemperatureType type); in getTemperaturesWithType() 43 …tureThreshold[] getTemperatureThresholdsWithType(in android.hardware.thermal.TemperatureType type); in getTemperatureThresholdsWithType() 45 …rdware.thermal.IThermalChangedCallback callback, in android.hardware.thermal.TemperatureType type); in registerThermalChangedCallbackWithType()
|
D | TemperatureThreshold.aidl | 38 android.hardware.thermal.TemperatureType type;
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/current/android/hardware/thermal/ |
D | IThermal.aidl | 41 …re.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.TemperatureType type); in getTemperaturesWithType() 43 …tureThreshold[] getTemperatureThresholdsWithType(in android.hardware.thermal.TemperatureType type); in getTemperatureThresholdsWithType() 45 …rdware.thermal.IThermalChangedCallback callback, in android.hardware.thermal.TemperatureType type); in registerThermalChangedCallbackWithType()
|
D | TemperatureThreshold.aidl | 38 android.hardware.thermal.TemperatureType type;
|
/hardware/interfaces/thermal/aidl/aidl_api/android.hardware.thermal/2/android/hardware/thermal/ |
D | IThermal.aidl | 41 …re.thermal.Temperature[] getTemperaturesWithType(in android.hardware.thermal.TemperatureType type); in getTemperaturesWithType() 43 …tureThreshold[] getTemperatureThresholdsWithType(in android.hardware.thermal.TemperatureType type); in getTemperatureThresholdsWithType() 45 …rdware.thermal.IThermalChangedCallback callback, in android.hardware.thermal.TemperatureType type); in registerThermalChangedCallbackWithType()
|
D | TemperatureThreshold.aidl | 38 android.hardware.thermal.TemperatureType type;
|
/hardware/interfaces/thermal/aidl/default/ |
D | Thermal.h | 37 ndk::ScopedAStatus getTemperaturesWithType(TemperatureType in_type, 44 TemperatureType in_type, 52 TemperatureType in_type) override;
|
/hardware/interfaces/thermal/1.0/default/ |
D | Thermal.cpp | 69 temperatures[i].type = TemperatureType::UNKNOWN; in getTemperatures() 72 temperatures[i].type = TemperatureType::CPU; in getTemperatures() 75 temperatures[i].type = TemperatureType::GPU; in getTemperatures() 78 temperatures[i].type = TemperatureType::BATTERY; in getTemperatures() 81 temperatures[i].type = TemperatureType::SKIN; in getTemperatures()
|
/hardware/google/pixel/usb/include/pixelusb/ |
D | UsbOverheatEvent.h | 60 using ::android::hardware::thermal::V2_0::TemperatureType; 78 TemperatureType type_; 83 ZoneInfo(const TemperatureType &type, const string &name, const ThrottlingSeverity &severity);
|
/hardware/interfaces/thermal/aidl/vts/ |
D | VtsHalThermalTargetTest.cpp | 53 using android::hardware::thermal::TemperatureType; 59 .type = TemperatureType::SKIN, 238 mThermalCallback, TemperatureType::SKIN); in TEST_P() 241 status = mThermal->registerThermalChangedCallbackWithType(nullptr, TemperatureType::SKIN); in TEST_P() 248 TemperatureType::SKIN); in TEST_P() 303 auto types = ::ndk::enum_range<TemperatureType>(); in TEST_P() 332 auto types = ::ndk::enum_range<TemperatureType>(); in TEST_P() 365 mThermal->getTemperaturesWithType(TemperatureType::SKIN, &temperatures); in TEST_P() 372 status = mThermal->getTemperatureThresholdsWithType(TemperatureType::SKIN, &thresholds); in TEST_P()
|
/hardware/interfaces/thermal/utils/ |
D | ThermalHidlWrapper.cpp | 67 TemperatureType_2_0 convertAidlTemperatureType(const TemperatureType& type) { in convertAidlTemperatureType() 68 if (type < TemperatureType::CPU || type > TemperatureType::NPU) { in convertAidlTemperatureType() 138 a_status = thermal_service_->getTemperaturesWithType(static_cast<TemperatureType>(type), in getCurrentTemperatures() 169 static_cast<TemperatureType>(type), &ret_aidl); in getTemperatureThresholds() 209 callback_wrapper, static_cast<TemperatureType>(type)); in registerThermalChangedCallback()
|
/hardware/interfaces/thermal/1.1/vts/functional/ |
D | VtsHalThermalV1_1TargetTest.cpp | 27 using ::android::hardware::thermal::V1_0::TemperatureType; 36 .type = TemperatureType::CPU,
|