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

/frameworks/av/camera/tests/
H A DVendorTagDescriptorTests.cpp104 int tagCount = vDesc->getTagCount(); local
105 EXPECT_EQ(tagCount, vOps->get_tag_count(vOps));
107 uint32_t descTagArray[tagCount];
108 uint32_t opsTagArray[tagCount];
118 for (int i = 0; i < tagCount; ++i) {
148 int tagCount = vDescOriginal->getTagCount(); local
149 ASSERT_EQ(tagCount, vDescParceled->getTagCount());
151 uint32_t descTagArray[tagCount];
152 uint32_t desc2TagArray[tagCount];
162 for (int i = 0; i < tagCount;
[all...]
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp118 int32_t tagCount = 0; local
119 if ((res = parcel->readInt32(&tagCount)) != OK) {
124 if (tagCount < 0 || tagCount > INT32_MAX) {
125 ALOGE("%s: tag count %d from vendor ops is invalid.", __FUNCTION__, tagCount);
129 mTagCount = tagCount;
135 for (int32_t i = 0; i < tagCount; ++i) {
179 if (tagCount > 0) {
202 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(tagCount) != allTags.size(),
203 "tagCount mus
516 int tagCount = vOps->get_tag_count(vOps); local
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp1263 int tagCount = 0; local
1266 tagCount += vts[s].tags.size();
1269 if (tagCount < 0 || tagCount > INT32_MAX) {
1270 ALOGE("%s: tag count %d from vendor tag sections is invalid.", __FUNCTION__, tagCount);
1275 LOG_ALWAYS_FATAL_IF(tagArray.resize(tagCount) != tagCount,
1276 "%s: too many (%u) vendor tags defined.", __FUNCTION__, tagCount);
1280 desc->mTagCount = tagCount;

Completed in 82 milliseconds