Searched refs:defaults_ (Results 1 – 4 of 4) sorted by relevance
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | default_option_delegate.h | 35 : defaults_(std::move(defaults)){}; in DefaultOptionDelegate() 41 if (defaults_.count(template_type) > 0) { in DefaultValueForTemplate() 43 *default_value = defaults_[template_type]; in DefaultValueForTemplate() 45 } else if (defaults_.count(OTHER_TEMPLATES)) { in DefaultValueForTemplate() 47 *default_value = defaults_[OTHER_TEMPLATES]; in DefaultValueForTemplate() 55 std::map<int, T> defaults_;
|
D | default_option_delegate_test.cpp | 31 dut_.reset(new DefaultOptionDelegate<int>(defaults_)); in SetUp() 35 std::map<int, int> defaults_{{CAMERA3_TEMPLATE_STILL_CAPTURE, 10}, member in v4l2_camera_hal::DefaultOptionDelegateTest 44 EXPECT_EQ(actual, defaults_[CAMERA3_TEMPLATE_STILL_CAPTURE]); in TEST_F() 52 EXPECT_EQ(actual, defaults_[OTHER_TEMPLATES]); in TEST_F()
|
D | menu_control_options.h | 35 : options_(options), defaults_(defaults){}; in MenuControlOptions() 38 defaults_(std::make_shared<DefaultOptionDelegate<T>>(defaults)){}; in MenuControlOptions() 54 if (defaults_->DefaultValueForTemplate(template_type, default_value) && in DefaultValueForTemplate() 66 std::shared_ptr<DefaultOptionDelegate<T>> defaults_; variable
|
D | slider_control_options.h | 37 : min_(min), max_(max), defaults_(defaults){}; in SliderControlOptions() 41 defaults_(std::make_shared<DefaultOptionDelegate<T>>(defaults)){}; in SliderControlOptions() 56 if (defaults_->DefaultValueForTemplate(template_type, default_value)) { in DefaultValueForTemplate() 74 std::shared_ptr<DefaultOptionDelegate<T>> defaults_; variable
|