Home
last modified time | relevance | path

Searched refs:vOps (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp83 static void FillWithDefaults(vendor_tag_ops_t* vOps) { in FillWithDefaults() argument
84 ASSERT_NOT_NULL(vOps); in FillWithDefaults()
85 vOps->get_tag_count = default_get_tag_count; in FillWithDefaults()
86 vOps->get_all_tags = default_get_all_tags; in FillWithDefaults()
87 vOps->get_section_name = default_get_section_name; in FillWithDefaults()
88 vOps->get_tag_name = default_get_tag_name; in FillWithDefaults()
89 vOps->get_tag_type = default_get_tag_type; in FillWithDefaults()
98 const vendor_tag_ops_t *vOps = &fakevendor_ops; in TEST() local
99 EXPECT_EQ(OK, VendorTagDescriptor::createDescriptorFromOps(vOps, /*out*/vDesc)); in TEST()
105 EXPECT_EQ(tagCount, vOps->get_tag_count(vOps)); in TEST()
[all …]
/frameworks/av/camera/
DVendorTagDescriptor.cpp341 status_t VendorTagDescriptor::createDescriptorFromOps(const vendor_tag_ops_t* vOps, in createDescriptorFromOps() argument
344 if (vOps == NULL) { in createDescriptorFromOps()
349 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps()
359 vOps->get_all_tags(vOps, /*out*/tagArray.editArray()); in createDescriptorFromOps()
373 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps()
379 const char *sectionName = vOps->get_section_name(vOps, tag); in createDescriptorFromOps()
390 int tagType = vOps->get_tag_type(vOps, tag); in createDescriptorFromOps()
/frameworks/av/include/camera/
DVendorTagDescriptor.h143 static status_t createDescriptorFromOps(const vendor_tag_ops_t* vOps,
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp715 vendor_tag_ops_t vOps = vendor_tag_ops_t(); in setUpVendorTags() local
723 mModule->getVendorTagOps(&vOps); in setUpVendorTags()
726 if (vOps.get_tag_count == NULL || vOps.get_all_tags == NULL || in setUpVendorTags()
727 vOps.get_section_name == NULL || vOps.get_tag_name == NULL || in setUpVendorTags()
728 vOps.get_tag_type == NULL) { in setUpVendorTags()
737 if ((res = VendorTagDescriptor::createDescriptorFromOps(&vOps, /*out*/desc)) in setUpVendorTags()