Home
last modified time | relevance | path

Searched refs:TemperatureType (Results 1 – 21 of 21) sorted by relevance

/hardware/google/camera/common/hal/hidl_service/
Dhidl_thermal_utils.cc48 const google_camera_hal::TemperatureType& hal_temperature_type, in ConvertToHidlTemperatureType()
49 TemperatureType* hidl_temperature_type) { in ConvertToHidlTemperatureType()
56 case google_camera_hal::TemperatureType::kUnknown: in ConvertToHidlTemperatureType()
57 *hidl_temperature_type = TemperatureType::UNKNOWN; in ConvertToHidlTemperatureType()
59 case google_camera_hal::TemperatureType::kCpu: in ConvertToHidlTemperatureType()
60 *hidl_temperature_type = TemperatureType::CPU; in ConvertToHidlTemperatureType()
62 case google_camera_hal::TemperatureType::kGpu: in ConvertToHidlTemperatureType()
63 *hidl_temperature_type = TemperatureType::GPU; in ConvertToHidlTemperatureType()
65 case google_camera_hal::TemperatureType::kBattery: in ConvertToHidlTemperatureType()
66 *hidl_temperature_type = TemperatureType::BATTERY; in ConvertToHidlTemperatureType()
[all …]
Dhidl_thermal_utils.h35 using ::android::hardware::thermal::V2_0::TemperatureType;
59 const TemperatureType& hidl_temperature_type,
60 google_camera_hal::TemperatureType* hal_temperature_type);
72 const google_camera_hal::TemperatureType& hal_temperature_type,
73 TemperatureType* hidl_temperature_type);
Dhidl_camera_device_session.cc51 using ::android::hardware::thermal::V2_0::TemperatureType;
423 bool filter_type, google_camera_hal::TemperatureType type) { in SetSessionCallbacks()
437 google_camera_hal::TemperatureType type) { in RegisterThermalChangedCallback()
449 TemperatureType hidl_type; in RegisterThermalChangedCallback()
Dhidl_camera_device_session.h189 bool filter_type, google_camera_hal::TemperatureType type);
/hardware/google/camera/common/hal/common/
Dthermal_types.h31 enum class TemperatureType : int32_t { enum
60 TemperatureType type = TemperatureType::kUnknown;
75 bool /*filter_type*/, TemperatureType /*type*/)>;
/hardware/interfaces/thermal/2.0/default/
DThermal.h46 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,
DThermal.cpp41 .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/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp40 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()
122 mThermalCallback, false, TemperatureType::SKIN, in TEST_P()
127 nullptr, false, TemperatureType::SKIN, in TEST_P()
133 localThermalCallback, false, TemperatureType::SKIN, in TEST_P()
158 localThermalCallback, false, TemperatureType::SKIN, in TEST_P()
175 mThermal->getCurrentTemperatures(false, TemperatureType::SKIN, in TEST_P()
186 auto types = hidl_enum_range<TemperatureType>(); in TEST_P()
[all …]
/hardware/google/pixel/usb/include/pixelusb/
DUsbOverheatEvent.h59 using ::android::hardware::thermal::V2_0::TemperatureType;
77 TemperatureType type_;
82 ZoneInfo(const TemperatureType &type, const string &name, const ThrottlingSeverity &severity);
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp69 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/interfaces/thermal/1.1/vts/functional/
DVtsHalThermalV1_1TargetTest.cpp27 using ::android::hardware::thermal::V1_0::TemperatureType;
36 .type = TemperatureType::CPU,
/hardware/interfaces/thermal/2.0/
Dtypes.hal22 enum TemperatureType : @1.0::TemperatureType {
91 TemperatureType type;
128 TemperatureType type;
DIThermal.hal28 * @param type the TemperatureType such as battery or skin.
41 getCurrentTemperatures(bool filterType, TemperatureType type)
48 * @param type the TemperatureType such as battery or skin.
65 getTemperatureThresholds(bool filterType, TemperatureType type)
85 TemperatureType type)
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp38 using ::android::hardware::thermal::V1_0::TemperatureType;
74 if (temperatures[i].type != TemperatureType::UNKNOWN) { in checkTemperatures()
128 EXPECT_TRUE(temperature.type == TemperatureType::UNKNOWN || in checkDeviceTemperature()
/hardware/interfaces/thermal/1.0/
Dtypes.hal21 enum TemperatureType : int32_t {
38 TemperatureType type;
/hardware/google/pixel/usb/
DUsbOverheatEvent.cpp246 false, TemperatureType::USB_PORT, in getCurrentTemperature()
302 ZoneInfo::ZoneInfo(const TemperatureType &type, const string &name, in ZoneInfo()
/hardware/google/pixel/thermal/
Dthermal-helper.h67 using TemperatureType_1_0 = ::android::hardware::thermal::V1_0::TemperatureType;
68 using TemperatureType_2_0 = ::android::hardware::thermal::V2_0::TemperatureType;
/hardware/google/pixel/thermal/utils/
Dconfig_parser.h32 using TemperatureType_2_0 = ::android::hardware::thermal::V2_0::TemperatureType;
Dconfig_parser.cpp38 using TemperatureType_2_0 = ::android::hardware::thermal::V2_0::TemperatureType;
/hardware/google/camera/common/hal/tests/
Dcamera_device_session_tests.cc400 google_camera_hal::TemperatureType /*type*/) { in TEST_F()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device_session.cc599 /*type=*/TemperatureType::kUnknown); in SetSessionCallback()