Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Drb_tree_test.cpp118 int min_val = INT_MAX; in validate_tree_order() local
122 assert(n->key <= min_val); in validate_tree_order()
123 if (n->key < min_val) { in validate_tree_order()
124 min_val = n->key; in validate_tree_order()
139 min_val = INT_MAX; in validate_tree_order()
143 assert(n->key <= min_val); in validate_tree_order()
144 if (n->key < min_val) { in validate_tree_order()
145 min_val = n->key; in validate_tree_order()
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp47 float min_val = getFloatFromValue(values[0]); in getInputRangeInfoFromJsonValues() local
50 if (std::isnan(min_val) || std::isnan(max_val)) { in getInputRangeInfoFromJsonValues()
51 LOG(ERROR) << "Illegal data range: thresholds not defined properly " << min_val << " : " in getInputRangeInfoFromJsonValues()
56 if (min_val > max_val) { in getInputRangeInfoFromJsonValues()
57 LOG(ERROR) << "Illegal data range: data_min_threshold(" << min_val in getInputRangeInfoFromJsonValues()
61 input_range_info->min_threshold = min_val; in getInputRangeInfoFromJsonValues()
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp343 int min_val = 0xC8000; in TEST_F() local
345 std::string f0Val = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()
346 std::string redcVal = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()
347 std::string qVal = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()