/hardware/libhardware/modules/camera/3_4/metadata/ |
D | control_test.cpp | 190 int template_type = 3; in TEST_F() local 192 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F() 197 EXPECT_EQ(control_->PopulateTemplateRequest(template_type, &metadata), 0); in TEST_F() 202 int template_type = 3; in TEST_F() local 204 EXPECT_CALL(*mock_options_, DefaultValueForTemplate(template_type, _)) in TEST_F() 209 EXPECT_EQ(control_->PopulateTemplateRequest(template_type, &metadata), err); in TEST_F() 214 int template_type = 3; in TEST_F() local 222 EXPECT_EQ(control_->PopulateTemplateRequest(template_type, &metadata), 0); in TEST_F() 228 int template_type = 3; in TEST_F() local 235 EXPECT_EQ(control_->PopulateTemplateRequest(template_type, &metadata), err); in TEST_F() [all …]
|
D | default_option_delegate.h | 40 virtual bool DefaultValueForTemplate(int template_type, T* default_value) { in DefaultValueForTemplate() argument 41 if (defaults_.count(template_type) > 0) { in DefaultValueForTemplate() 43 *default_value = defaults_[template_type]; in DefaultValueForTemplate()
|
D | metadata_test.cpp | 208 int template_type = 3; in TEST_F() local 211 EXPECT_CALL(*component1_, PopulateTemplateRequest(template_type, _)) in TEST_F() 213 EXPECT_CALL(*component2_, PopulateTemplateRequest(template_type, _)) in TEST_F() 218 EXPECT_EQ(dut_->GetRequestTemplate(template_type, metadata_.get()), 0); in TEST_F() 223 int template_type = 3; in TEST_F() local 227 EXPECT_CALL(*component1_, PopulateTemplateRequest(template_type, _)) in TEST_F() 230 EXPECT_CALL(*component2_, PopulateTemplateRequest(template_type, _)) in TEST_F() 235 EXPECT_EQ(dut_->GetRequestTemplate(template_type, metadata_.get()), err); in TEST_F() 244 int template_type = 99; // Invalid template type. in TEST_F() local 248 EXPECT_EQ(dut_->GetRequestTemplate(template_type, metadata_.get()), -EINVAL); in TEST_F()
|
D | metadata.cpp | 128 int Metadata::GetRequestTemplate(int template_type, in GetRequestTemplate() argument 137 if (template_type < 1 || template_type >= CAMERA3_TEMPLATE_COUNT) { in GetRequestTemplate() 138 HAL_LOGE("Unrecognized template type %d.", template_type); in GetRequestTemplate() 146 component->PopulateTemplateRequest(template_type, &additional_metadata); in GetRequestTemplate()
|
D | tagged_control_options.h | 49 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() argument 51 return options_->DefaultValueForTemplate(template_type, default_value); in DefaultValueForTemplate()
|
D | menu_control_options.h | 45 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() argument 54 if (defaults_->DefaultValueForTemplate(template_type, default_value) && in DefaultValueForTemplate()
|
D | slider_control_options.h | 49 virtual int DefaultValueForTemplate(int template_type, in DefaultValueForTemplate() argument 56 if (defaults_->DefaultValueForTemplate(template_type, default_value)) { in DefaultValueForTemplate()
|
D | control.h | 48 int template_type, android::CameraMetadata* metadata) const override; 118 int template_type, android::CameraMetadata* metadata) const { in PopulateTemplateRequest() argument 123 res = options_->DefaultValueForTemplate(template_type, &value); in PopulateTemplateRequest()
|
D | state_test.cpp | 97 int template_type = 3; in TEST_F() local 100 ASSERT_EQ(state_->PopulateTemplateRequest(template_type, &metadata), 0); in TEST_F()
|
D | control_options_interface.h | 39 virtual int DefaultValueForTemplate(int template_type, T* default_value);
|
D | metadata.h | 33 int GetRequestTemplate(int template_type,
|
D | partial_metadata_interface.h | 47 int template_type, android::CameraMetadata* metadata) const = 0;
|
D | state.h | 43 int template_type, android::CameraMetadata* metadata) const override;
|