Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp542 int FakeVehicleHardware::getHvacTempNumIncrements(int requestedTemp, int minTemp, int maxTemp, in getHvacTempNumIncrements() argument
544 requestedTemp = std::max(requestedTemp, minTemp); in getHvacTempNumIncrements()
545 requestedTemp = std::min(requestedTemp, maxTemp); in getHvacTempNumIncrements()
546 int numIncrements = std::round((requestedTemp - minTemp) / static_cast<float>(increment)); in getHvacTempNumIncrements()
564 int requestedTemp = static_cast<int>((*hvacTemperatureValueSuggestionInput)[0] * 10.0f); in updateHvacTemperatureValueSuggestionInput() local
567 ? getHvacTempNumIncrements(requestedTemp, minTempInCelsius, maxTempInCelsius, in updateHvacTemperatureValueSuggestionInput()
569 : getHvacTempNumIncrements(requestedTemp, minTempInFahrenheit, in updateHvacTemperatureValueSuggestionInput()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/include/
DFakeVehicleHardware.h216 int getHvacTempNumIncrements(int requestedTemp, int minTemp, int maxTemp, int increment);