Searched refs:thermal_status (Results 1 – 2 of 2) sorted by relevance
239 ThermalStatus thermal_status; in getCurrentTemperature() local248 thermal_status = status; in getCurrentTemperature()252 if (ret.isOk() && thermal_status.code == ThermalStatusCode::SUCCESS) { in getCurrentTemperature()270 ThermalStatus thermal_status; in onRegistration() local280 [&](ThermalStatus status) { thermal_status = status; }); in onRegistration()282 if (!ret.isOk() || thermal_status.code != ThermalStatusCode::SUCCESS) { in onRegistration()
467 ThermalStatus thermal_status; in RegisterThermalChangedCallback() local470 [&](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() local494 [&](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()