Searched refs:metadataSize (Results 1 – 4 of 4) sorted by relevance
294 uint32_t metadataSize = 0; in prepareEvent() local300 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()
249 uint32_t metadataSize = *(uint32_t *)((uint8_t *)event + metadataOffset - sizeof(uint32_t)); in onEvent() local255 if (metadataSize != 0) { in onEvent()263 if (metadataSize != 0) { in onEvent()
189 uint32_t metadataSize = reply.readUint32(); in getProgramInformation() local190 if (metadataSize != 0) { in getProgramInformation()191 radio_metadata_t *newMetadata = (radio_metadata_t *)malloc(metadataSize); in getProgramInformation()195 reply.read(newMetadata, metadataSize); in getProgramInformation()
488 const size_t metadataSize = blobSize - alignment; in readFromParcel() local524 metadata = allocate_copy_camera_metadata_checked(tmp, metadataSize); in readFromParcel()579 const size_t metadataSize = get_camera_metadata_compact_size(metadata); in writeToParcel() local581 const size_t blobSize = metadataSize + alignment; in writeToParcel()622 copy_camera_metadata(reinterpret_cast<void*>(metadataStart), metadataSize, metadata); in writeToParcel()