Searched refs:metadataCopy (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraProviderManagerTest.cpp | 320 CameraMetadata metadataCopy(metadata); in TEST() local 321 ASSERT_FALSE(metadataCopy.isEmpty()); in TEST() 322 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST() 323 ASSERT_EQ(OK, metadataCopy.update(tagId, &byteVal, 1)); in TEST() 324 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST() 335 secondMetadata.swap(metadataCopy); in TEST() 336 ASSERT_TRUE(metadataCopy.exists(tagId)); in TEST() 341 ASSERT_EQ(OK, metadataCopy.update(tagId, &doubleVal, 1)); in TEST() 342 entry = metadataCopy.find(tagId); in TEST() 350 ASSERT_NE(OK, metadataCopy.append(secondMetadata)); in TEST() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 1306 CameraMetadata metadataCopy = metadata; in onResultReceived() local 1307 metadataCopy.update(ANDROID_LENS_INFO_SHADING_MAP_SIZE, dev->mShadingMapSize, /*data_count*/2); in onResultReceived() 1308 metadataCopy.update(ANDROID_SYNC_FRAME_NUMBER, &frameNumber, /*data_count*/1); in onResultReceived() 1324 metadataCopy.release(), ACameraMetadata::ACM_RESULT)); in onResultReceived()
|