Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/metadata/
Dslider_control_options.h37 : min_(min), max_(max), defaults_(defaults){}; in SliderControlOptions()
40 max_(max), in SliderControlOptions()
44 return {min_, max_}; in MetadataRepresentation()
47 return option >= min_ && option <= max_; in IsSupported()
51 if (min_ > max_) { in DefaultValueForTemplate()
60 } else if (*default_value > max_) { in DefaultValueForTemplate()
61 *default_value = max_; in DefaultValueForTemplate()
73 T max_; variable
Dranged_converter_test.cpp36 new RangedConverter<int, int32_t>(converter_, min_, max_, step_)); in SetUp()
53 const int32_t max_ = 10; member in v4l2_camera_hal::RangedConverterTest
59 ExpectConvert(max_ - step_, max_ - step_); in TEST_F()
64 ExpectConvert(max_ - step_ + 1, max_ - step_); in TEST_F()
74 ExpectConvert(max_ + step_, max_); in TEST_F()
Dslider_control_options_test.cpp37 dut_.reset(new SliderControlOptions<int>(min_, max_, mock_defaults_)); in SetUp()
43 const int max_ = 10; member in v4l2_camera_hal::SliderControlOptionsTest
49 std::vector<int> expected{min_, max_}; in TEST_F()
54 for (int i = min_; i <= max_; ++i) { in TEST_F()
59 EXPECT_FALSE(dut_->IsSupported(max_ + 1)); in TEST_F()
64 int expected = max_ - 1; in TEST_F()
92 int default_val = max_ + 1; in TEST_F()
94 int expected = max_; in TEST_F()
Dranged_converter.h46 const TV4L2 max_; variable
62 max_(max), in RangedConverter()
85 } else if (raw_conversion > max_) { in MetadataToV4L2()
86 raw_conversion = max_; in MetadataToV4L2()
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp44 memset(max_, 0, sizeof(max_)); in BatteryMetricsLogger()
67 max_stats_ss.set_temperature_deci_celsius(max_[type][TEMP]); in uploadOutlierMetric()
68 max_stats_ss.set_voltage_micro_volt(max_[type][VOLT]); in uploadOutlierMetric()
69 max_stats_ss.set_current_micro_amps(max_[type][CURR]); in uploadOutlierMetric()
70 max_stats_ss.set_open_circuit_micro_volt(max_[type][OCV]); in uploadOutlierMetric()
71 max_stats_ss.set_resistance_micro_ohm(max_[type][RES]); in uploadOutlierMetric()
72 max_stats_ss.set_level_percent(max_[type][SOC]); in uploadOutlierMetric()
136 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
148 memset(max_, 0, sizeof(max_)); in uploadMetrics()
203 sample[metric] > max_[metric][metric]) { in recordSample()
[all …]
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal1013 * max_{di, dj} (
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal1326 * max_{di, dj} (
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal1325 * max_{di, dj} (