Home
last modified time | relevance | path

Searched refs:metaBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp282 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_readValues() local
283 int tagType = get_local_camera_metadata_tag_type(tag, metaBuffer); in CameraMetadata_readValues()
284 metadata->unlock(metaBuffer); in CameraMetadata_readValues()
322 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_writeValues() local
323 int tagType = get_local_camera_metadata_tag_type(tag, metaBuffer); in CameraMetadata_writeValues()
324 metadata->unlock(metaBuffer); in CameraMetadata_writeValues()
645 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_getTypeFromTagLocal() local
646 vendorId = get_camera_metadata_vendor_id(metaBuffer); in CameraMetadata_getTypeFromTagLocal()
647 metadata->unlock(metaBuffer); in CameraMetadata_getTypeFromTagLocal()
676 const camera_metadata_t *metaBuffer = metadata->getAndLock(); in CameraMetadata_getTagFromKeyLocal() local
[all …]
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp293 camera_metadata_t* metaBuffer = const_cast<camera_metadata_t*>(meta.getAndLock()); in TEST() local
294 chars.setToExternal(reinterpret_cast<uint8_t*>(metaBuffer), in TEST()
295 get_camera_metadata_size(metaBuffer)); in TEST()
418 camera_metadata *metaBuffer = allocate_camera_metadata(10, 20); in TEST() local
419 ASSERT_NE(nullptr, metaBuffer); in TEST()
420 set_camera_metadata_vendor_id(metaBuffer, vendorId); in TEST()
421 CameraMetadata metadata(metaBuffer); in TEST()
429 metaBuffer = allocate_camera_metadata(10, 20); in TEST()
430 ASSERT_NE(nullptr, metaBuffer); in TEST()
431 set_camera_metadata_vendor_id(metaBuffer, vendorIdSecond); in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp150 const camera_metadata_t *metaBuffer = in monitorSingleMetadata() local
153 const_cast<camera_metadata_t *> (metaBuffer), mVendorTagId); in monitorSingleMetadata()
154 lastValues.unlock(metaBuffer); in monitorSingleMetadata()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp377 const camera_metadata *metaBuffer = result.getAndLock(); in updatePendingState() local
380 get_local_camera_metadata_tag_name(tag, metaBuffer), in updatePendingState()
382 result.unlock(metaBuffer); in updatePendingState()
DParameters.cpp1284 const camera_metadata_t *metaBuffer = info->getAndLock(); in staticInfo() local
1288 metaBuffer); in staticInfo()
1291 metaBuffer); in staticInfo()
1300 metaBuffer); in staticInfo()
1303 metaBuffer); in staticInfo()
1309 info->unlock(metaBuffer); in staticInfo()