Home
last modified time | relevance | path

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

/frameworks/av/services/radio/
DRadioService.cpp294 uint32_t metadataSize = 0; in prepareEvent() local
300 metadataSize = (uint32_t)radio_metadata_get_size(halEvent->info.metadata); in prepareEvent()
307 metadataSize = (uint32_t)radio_metadata_get_size(halEvent->metadata); in prepareEvent()
313 eventMemory = mMemoryDealer->allocate(metadataOffset + metadataSize); in prepareEvent()
321 *(uint32_t *)((uint8_t *)event + metadataOffset - sizeof(uint32_t)) = metadataSize; in prepareEvent()
333 if (metadataSize != 0) { in prepareEvent()
334 memcpy((uint8_t *)event + metadataOffset, halEvent->info.metadata, metadataSize); in prepareEvent()
344 if (metadataSize != 0) { in prepareEvent()
345 memcpy((uint8_t *)event + metadataOffset, halEvent->metadata, metadataSize); in prepareEvent()
/frameworks/av/radio/
DRadio.cpp249 uint32_t metadataSize = *(uint32_t *)((uint8_t *)event + metadataOffset - sizeof(uint32_t)); in onEvent() local
255 if (metadataSize != 0) { in onEvent()
263 if (metadataSize != 0) { in onEvent()
DIRadio.cpp189 uint32_t metadataSize = reply.readUint32(); in getProgramInformation() local
190 if (metadataSize != 0) { in getProgramInformation()
191 radio_metadata_t *newMetadata = (radio_metadata_t *)malloc(metadataSize); in getProgramInformation()
195 reply.read(newMetadata, metadataSize); in getProgramInformation()
/frameworks/av/camera/
DCameraMetadata.cpp488 const size_t metadataSize = blobSize - alignment; in readFromParcel() local
524 metadata = allocate_copy_camera_metadata_checked(tmp, metadataSize); in readFromParcel()
579 const size_t metadataSize = get_camera_metadata_compact_size(metadata); in writeToParcel() local
581 const size_t blobSize = metadataSize + alignment; in writeToParcel()
622 copy_camera_metadata(reinterpret_cast<void*>(metadataStart), metadataSize, metadata); in writeToParcel()