Home
last modified time | relevance | path

Searched refs:tagCount (Results 1 – 2 of 2) 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()
148 int tagCount = vDescOriginal->getTagCount(); in TEST() local
149 ASSERT_EQ(tagCount, vDescParceled->getTagCount()); in TEST()
151 uint32_t descTagArray[tagCount]; in TEST()
152 uint32_t desc2TagArray[tagCount]; in TEST()
162 for (int i = 0; i < tagCount; ++i) { in TEST()
/frameworks/av/camera/
DVendorTagDescriptor.cpp106 int32_t tagCount = 0; in readFromParcel() local
107 if ((res = parcel->readInt32(&tagCount)) != OK) { in readFromParcel()
112 if (tagCount < 0 || tagCount > INT32_MAX) { in readFromParcel()
113 ALOGE("%s: tag count %d from vendor ops is invalid.", __FUNCTION__, tagCount); in readFromParcel()
117 mTagCount = tagCount; in readFromParcel()
123 for (int32_t i = 0; i < tagCount; ++i) { in readFromParcel()
167 if (tagCount > 0) { in readFromParcel()
190 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(tagCount) != allTags.size(), in readFromParcel()
193 for (size_t i = 0; i < static_cast<size_t>(tagCount); ++i) { in readFromParcel()
349 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps() local
[all …]