Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp67 bool getIntFromJsonValues(const Json::Value &values, CdevArray *out, bool inc_check, in getIntFromJsonValues() argument
71 if (inc_check && dec_check) { in getIntFromJsonValues()
80 int last = (inc_check) ? std::numeric_limits<int>::min() : std::numeric_limits<int>::max(); in getIntFromJsonValues()
83 if (inc_check && ret[i] < last) { in getIntFromJsonValues()
100 bool getFloatFromJsonValues(const Json::Value &values, ThrottlingArray *out, bool inc_check, in getFloatFromJsonValues() argument
104 if (inc_check && dec_check) { in getFloatFromJsonValues()
116 if (inc_check && !std::isnan(last) && !std::isnan(ret[i]) && ret[i] < last) { in getFloatFromJsonValues()