Home
last modified time | relevance | path

Searched refs:metadataSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/radio/
DRadioService.cpp310 size_t metadataSize = 0; in prepareEvent() local
315 metadataSize = radio_metadata_get_size(halEvent->info.metadata); in prepareEvent()
322 metadataSize = radio_metadata_get_size(halEvent->metadata); in prepareEvent()
327 size_t size = headerSize + metadataSize; in prepareEvent()
344 if (metadataSize != 0) { in prepareEvent()
345 memcpy((char *)event + headerSize, halEvent->info.metadata, metadataSize); in prepareEvent()
358 memcpy((char *)event + headerSize, halEvent->metadata, metadataSize); in prepareEvent()
/frameworks/av/camera/
DCameraMetadata.cpp485 const size_t metadataSize = blobSize - alignment; in readFromParcel() local
521 metadata = allocate_copy_camera_metadata_checked(tmp, metadataSize); in readFromParcel()
576 const size_t metadataSize = get_camera_metadata_compact_size(metadata); in writeToParcel() local
578 const size_t blobSize = metadataSize + alignment; in writeToParcel()
619 copy_camera_metadata(reinterpret_cast<void*>(metadataStart), metadataSize, metadata); in writeToParcel()