Searched refs:mSharedMemory (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/services/oboeservice/
H A DSharedRingBuffer.cpp33 if (mSharedMemory != nullptr) {
35 munmap(mSharedMemory, mSharedMemorySizeInBytes);
36 mSharedMemory = nullptr;
67 mSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes,
71 if (mSharedMemory == MAP_FAILED) {
79 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET];
81 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET];
82 uint8_t *dataAddress = &mSharedMemory[SHARED_RINGBUFFER_DATA_OFFSET];
H A DSharedRingBuffer.h56 uint8_t *mSharedMemory = nullptr; member in class:aaudio::SharedRingBuffer
/frameworks/av/include/media/
H A DICrypto.h52 sp<IMemory> mSharedMemory; member in struct:android::ICrypto::SourceBuffer
64 sp<IMemory> mSharedMemory; member in struct:android::ICrypto::DestinationBuffer
/frameworks/av/media/libmedia/include/media/
H A DICrypto.h52 sp<IMemory> mSharedMemory; member in struct:android::ICrypto::SourceBuffer
64 sp<IMemory> mSharedMemory; member in struct:android::ICrypto::DestinationBuffer
/frameworks/av/drm/libmediadrm/
H A DICrypto.cpp130 data.writeStrongBinder(IInterface::asBinder(source.mSharedMemory));
144 if (destination.mSharedMemory == NULL) {
147 data.writeStrongBinder(IInterface::asBinder(destination.mSharedMemory));
328 source.mSharedMemory =
330 if (source.mSharedMemory == NULL) {
359 destination.mSharedMemory =
361 if (destination.mSharedMemory == NULL) {
388 } else if (totalSize > source.mSharedMemory->size()) {
390 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) {
H A DCryptoHal.cpp328 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum,
341 status_t status = toSharedBuffer(source.mSharedMemory, heapSeqNum, &hSource);
H A DCrypto.cpp261 destPtr = destination.mSharedMemory->pointer();
/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp129 destination.mSharedMemory = mDecryptDestination;
133 source.mSharedMemory = it->mSharedEncryptedBuffer;
172 memcpy(destination.mSharedMemory->pointer(),
182 memcpy(it->mCodecBuffer->base(), destination.mSharedMemory->pointer(), result);

Completed in 83 milliseconds