Home
last modified time | relevance | path

Searched refs:tagCount (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp104 int tagCount = vDesc->getTagCount(); in TEST() local
105 EXPECT_EQ(tagCount, vOps->get_tag_count(vOps)); in TEST()
107 uint32_t descTagArray[tagCount]; in TEST()
108 uint32_t opsTagArray[tagCount]; in TEST()
118 for (int i = 0; i < tagCount; ++i) { in TEST()
149 int tagCount = vDescOriginal->getTagCount(); in TEST() local
150 ASSERT_EQ(tagCount, vDescParceled->getTagCount()); in TEST()
152 uint32_t descTagArray[tagCount]; in TEST()
153 uint32_t desc2TagArray[tagCount]; in TEST()
163 for (int i = 0; i < tagCount; ++i) { in TEST()
/frameworks/av/camera/
DVendorTagDescriptor.cpp118 int32_t tagCount = 0; in readFromParcel() local
119 if ((res = parcel->readInt32(&tagCount)) != OK) { in readFromParcel()
124 if (tagCount < 0 || tagCount > INT32_MAX) { in readFromParcel()
125 ALOGE("%s: tag count %d from vendor ops is invalid.", __FUNCTION__, tagCount); in readFromParcel()
129 mTagCount = tagCount; in readFromParcel()
135 for (int32_t i = 0; i < tagCount; ++i) { in readFromParcel()
179 if (tagCount > 0) { in readFromParcel()
202 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(tagCount) != allTags.size(), in readFromParcel()
205 for (size_t i = 0; i < static_cast<size_t>(tagCount); ++i) { in readFromParcel()
516 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps() local
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1371 int tagCount = 0; in createDescriptorFromHidl() local
1374 tagCount += vts[s].tags.size(); in createDescriptorFromHidl()
1377 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromHidl()
1378 ALOGE("%s: tag count %d from vendor tag sections is invalid.", __FUNCTION__, tagCount); in createDescriptorFromHidl()
1383 LOG_ALWAYS_FATAL_IF(tagArray.resize(tagCount) != tagCount, in createDescriptorFromHidl()
1384 "%s: too many (%u) vendor tags defined.", __FUNCTION__, tagCount); in createDescriptorFromHidl()
1388 desc->mTagCount = tagCount; in createDescriptorFromHidl()