Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp672 CameraMetadata metadataCopy(metadata); in TEST() local
673 ASSERT_FALSE(metadataCopy.isEmpty()); in TEST()
674 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST()
675 ASSERT_EQ(OK, metadataCopy.update(tagId, &byteVal, 1)); in TEST()
676 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST()
687 secondMetadata.swap(metadataCopy); in TEST()
688 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST()
693 ASSERT_EQ(OK, metadataCopy.update(tagId, &doubleVal, 1)); in TEST()
694 entry = metadataCopy.find(tagId); in TEST()
702 ASSERT_NE(OK, metadataCopy.append(secondMetadata)); in TEST()
[all …]
/frameworks/av/camera/tests/fuzzer/
Dcamera_metadata_fuzzer.cpp157 [&]() { CameraMetadata metadataCopy(mCameraMetadata->release()); }, in invokeCameraMetadata() local
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp1738 CameraMetadata metadataCopy; in onResultReceived() local
1740 dev->mCaptureResultMetadataQueue.get(), &metadataCopy); in onResultReceived()
1746 metadataCopy.update(ANDROID_LENS_INFO_SHADING_MAP_SIZE, dev->mShadingMapSize, in onResultReceived()
1748 metadataCopy.update(ANDROID_SYNC_FRAME_NUMBER, &frameNumber, /* data_count= */1); in onResultReceived()
1761 metadataCopy.release(), ACameraMetadata::ACM_RESULT)); in onResultReceived()
/frameworks/av/camera/ndk/impl/
DACameraDevice.cpp1755 CameraMetadata metadataCopy = metadata; in onResultReceived() local
1756 metadataCopy.update(ANDROID_LENS_INFO_SHADING_MAP_SIZE, dev->mShadingMapSize, /*data_count*/2); in onResultReceived()
1757 metadataCopy.update(ANDROID_SYNC_FRAME_NUMBER, &frameNumber, /*data_count*/1); in onResultReceived()
1770 metadataCopy.release(), ACameraMetadata::ACM_RESULT)); in onResultReceived()