Home
last modified time | relevance | path

Searched refs:thermal_status (Results 1 – 2 of 2) sorted by relevance

/aosp12/hardware/google/pixel/usb/
H A DUsbOverheatEvent.cpp239 ThermalStatus thermal_status; in getCurrentTemperature() local
248 thermal_status = status; in getCurrentTemperature()
252 if (ret.isOk() && thermal_status.code == ThermalStatusCode::SUCCESS) { in getCurrentTemperature()
270 ThermalStatus thermal_status; in onRegistration() local
280 [&](ThermalStatus status) { thermal_status = status; }); in onRegistration()
282 if (!ret.isOk() || thermal_status.code != ThermalStatusCode::SUCCESS) { in onRegistration()
/aosp12/hardware/google/camera/common/hal/hidl_service/
H A Dhidl_camera_device_session.cc467 ThermalStatus thermal_status; in RegisterThermalChangedCallback() local
470 [&](ThermalStatus status) { thermal_status = status; }); in RegisterThermalChangedCallback()
471 if (!hidl_res.isOk() || thermal_status.code != ThermalStatusCode::SUCCESS) { in RegisterThermalChangedCallback()
491 ThermalStatus thermal_status; in UnregisterThermalChangedCallback() local
494 [&](ThermalStatus status) { thermal_status = status; }); in UnregisterThermalChangedCallback()
495 if (!hidl_res.isOk() || thermal_status.code != ThermalStatusCode::SUCCESS) { in UnregisterThermalChangedCallback()
497 thermal_status.debugMessage.c_str()); in UnregisterThermalChangedCallback()