Home
last modified time | relevance | path

Searched refs:max_ (Results 1 – 9 of 9) 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()
62 .temperatureDeciC = max_[type][TEMP], in uploadOutlierMetric()
63 .voltageMicroV = max_[type][VOLT], in uploadOutlierMetric()
64 .currentMicroA = max_[type][CURR], in uploadOutlierMetric()
65 .openCircuitVoltageMicroV = max_[type][OCV], in uploadOutlierMetric()
66 .resistanceMicroOhm = max_[type][RES], in uploadOutlierMetric()
67 .levelPercent = max_[type][SOC]}; in uploadOutlierMetric()
135 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
147 memset(max_, 0, sizeof(max_)); in uploadMetrics()
202 sample[metric] > max_[metric][metric]) { in recordSample()
[all …]
/hardware/google/pixel/health/include/pixelhealth/
DBatteryMetricsLogger.h82 int32_t max_[NUM_FIELDS][NUM_FIELDS]; variable
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal1012 * max_{di, dj} (
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal1324 * max_{di, dj} (
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal1321 * max_{di, dj} (