Searched refs:metaBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraProviderManagerTest.cpp | 354 camera_metadata_t* metaBuffer = const_cast<camera_metadata_t*>(meta.getAndLock()); in TEST() local 355 chars.setToExternal(reinterpret_cast<uint8_t*>(metaBuffer), in TEST() 356 get_camera_metadata_size(metaBuffer)); in TEST() 479 camera_metadata *metaBuffer = allocate_camera_metadata(10, 20); in TEST() local 480 ASSERT_NE(nullptr, metaBuffer); in TEST() 481 set_camera_metadata_vendor_id(metaBuffer, vendorId); in TEST() 482 CameraMetadata metadata(metaBuffer); in TEST() 490 metaBuffer = allocate_camera_metadata(10, 20); in TEST() 491 ASSERT_NE(nullptr, metaBuffer); in TEST() 492 set_camera_metadata_vendor_id(metaBuffer, vendorIdSecond); in TEST() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 266 auto metaBuffer = metadataSrc->getAndLock(); in CameraMetadata_update() local 268 auto entryCount = get_camera_metadata_entry_count(metaBuffer); in CameraMetadata_update() 270 auto stat = get_camera_metadata_ro_entry(metaBuffer, i, &entry); in CameraMetadata_update() 273 metadataSrc->unlock(metaBuffer); in CameraMetadata_update() 299 metadataSrc->unlock(metaBuffer); in CameraMetadata_update() 342 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_readValues() local 343 int tagType = get_local_camera_metadata_tag_type(tag, metaBuffer); in CameraMetadata_readValues() 344 metadata->unlock(metaBuffer); in CameraMetadata_readValues() 382 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_writeValues() local 383 int tagType = get_local_camera_metadata_tag_type(tag, metaBuffer); in CameraMetadata_writeValues() [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.cpp | 163 const camera_metadata_t *metaBuffer = in monitorSingleMetadata() local 166 const_cast<camera_metadata_t *> (metaBuffer), mVendorTagId); in monitorSingleMetadata() 167 lastValues.unlock(metaBuffer); in monitorSingleMetadata()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | FrameProcessor.cpp | 402 const camera_metadata *metaBuffer = result.getAndLock(); in updatePendingState() local 405 get_local_camera_metadata_tag_name(tag, metaBuffer), in updatePendingState() 407 result.unlock(metaBuffer); in updatePendingState()
|
D | Parameters.cpp | 1322 const camera_metadata_t *metaBuffer = info->getAndLock(); in staticInfo() local 1326 metaBuffer); in staticInfo() 1329 metaBuffer); in staticInfo() 1338 metaBuffer); in staticInfo() 1341 metaBuffer); in staticInfo() 1347 info->unlock(metaBuffer); in staticInfo()
|