Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/metadata/
Dslider_control_options_test.cpp66 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
69 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
82 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
85 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
98 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
101 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
111 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
115 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
124 EXPECT_EQ(bad_options.DefaultValueForTemplate(i, &value), -ENODEV); in TEST_F()
Dmenu_control_options_test.cpp63 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
66 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
76 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
80 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
91 EXPECT_CALL(*mock_defaults_, DefaultValueForTemplate(template_index, _)) in TEST_F()
95 EXPECT_EQ(dut_->DefaultValueForTemplate(template_index, &actual), 0); in TEST_F()
104 EXPECT_EQ(bad_options.DefaultValueForTemplate(i, &value), -ENODEV); in TEST_F()
Ddefault_option_delegate_test.cpp43 dut_->DefaultValueForTemplate(CAMERA3_TEMPLATE_STILL_CAPTURE, &actual)); in TEST_F()
50 EXPECT_TRUE(dut_->DefaultValueForTemplate(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, in TEST_F()
58 EXPECT_FALSE(dut_->DefaultValueForTemplate(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, in TEST_F()
Dtagged_control_options_test.cpp84 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_id, _)) in TEST_F()
88 EXPECT_EQ(dut_->DefaultValueForTemplate(template_id, &actual), 0); in TEST_F()
95 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_id, _)) in TEST_F()
99 EXPECT_EQ(dut_->DefaultValueForTemplate(template_id, &unused), err); in TEST_F()
Dtagged_control_options.h49 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() function
51 return options_->DefaultValueForTemplate(template_type, default_value); in DefaultValueForTemplate()
Dmenu_control_options.h45 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() function
54 if (defaults_->DefaultValueForTemplate(template_type, default_value) && in DefaultValueForTemplate()
Dslider_control_options.h49 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() function
56 if (defaults_->DefaultValueForTemplate(template_type, default_value)) { in DefaultValueForTemplate()
Ddefault_option_delegate_mock.h32 MOCK_METHOD2_T(DefaultValueForTemplate, bool(int, T*));
Dcontrol_options_interface_mock.h34 MOCK_METHOD2_T(DefaultValueForTemplate, int(int, T*));
Dcontrol_options_interface.h39 virtual int DefaultValueForTemplate(int template_type, T* default_value);
Ddefault_option_delegate.h40 virtual bool DefaultValueForTemplate(int template_type, T* default_value) { in DefaultValueForTemplate() function
Dcontrol_test.cpp192 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
204 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
243 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
257 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F()
Dcontrol.h123 res = options_->DefaultValueForTemplate(template_type, &value); in PopulateTemplateRequest()