Searched refs:tagCount (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/camera/tests/ |
D | VendorTagDescriptorTests.cpp | 104 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/ |
D | VendorTagDescriptor.cpp | 118 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() 525 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps() local [all …]
|
D | CameraMetadata.cpp | 428 uint32_t tagCount = 0; in removePermissionEntries() local 445 tagCount = vTags->getTagCount(); in removePermissionEntries() 446 uint32_t *vendorTags = new uint32_t[tagCount]; in removePermissionEntries() 452 tagsToRemove.reserve(tagCount); in removePermissionEntries() 453 tagsToRemove.insert(tagsToRemove.begin(), vendorTags, vendorTags + tagCount); in removePermissionEntries() 456 tagCount = 0; in removePermissionEntries() 459 auto tagsNeedingPermission = get_camera_metadata_permission_needed(&tagCount); in removePermissionEntries() 460 if (tagCount > 0) { in removePermissionEntries() 461 tagsToRemove.reserve(tagsToRemove.capacity() + tagCount); in removePermissionEntries() 463 tagsNeedingPermission + tagCount); in removePermissionEntries()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.cpp | 71 int tagCount = 0; in createDescriptorFromHidl() local 74 tagCount += vts[s].tags.size(); in createDescriptorFromHidl() 77 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromHidl() 78 ALOGE("%s: tag count %d from vendor tag sections is invalid.", __FUNCTION__, tagCount); in createDescriptorFromHidl() 83 LOG_ALWAYS_FATAL_IF(tagArray.resize(tagCount) != tagCount, in createDescriptorFromHidl() 84 "%s: too many (%u) vendor tags defined.", __FUNCTION__, tagCount); in createDescriptorFromHidl() 87 desc->mTagCount = tagCount; in createDescriptorFromHidl()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | HidlCameraService.cpp | 281 int tagCount = desc->getTagCount(); in getCameraVendorTagSections() local 282 std::vector<uint32_t> tags(tagCount); in getCameraVendorTagSections() 284 for (int i = 0; i < tagCount; i++) { in getCameraVendorTagSections()
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | UptcMap.java | 174 final int tagCount = tagCountForUserAndPackage(userId, pkgName); in forEach() local 175 for (int t = 0; t < tagCount; ++t) { in forEach()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 2911 int tagCount = 0; in createDescriptorFromHidl() local 2914 tagCount += vts[s].tags.size(); in createDescriptorFromHidl() 2917 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromHidl() 2918 ALOGE("%s: tag count %d from vendor tag sections is invalid.", __FUNCTION__, tagCount); in createDescriptorFromHidl() 2923 LOG_ALWAYS_FATAL_IF(tagArray.resize(tagCount) != tagCount, in createDescriptorFromHidl() 2924 "%s: too many (%u) vendor tags defined.", __FUNCTION__, tagCount); in createDescriptorFromHidl() 2928 desc->mTagCount = tagCount; in createDescriptorFromHidl()
|