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;
62 mSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes,
66 if (mSharedMemory == MAP_FAILED) {
74 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET];
76 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET];
77 uint8_t *dataAddress = &mSharedMemory[SHARED_RINGBUFFER_DATA_OFFSET];
H A DSharedRingBuffer.h57 uint8_t *mSharedMemory = nullptr; member in class:aaudio::SharedRingBuffer
/frameworks/base/core/java/android/os/
H A DMemoryFile.java46 private SharedMemory mSharedMemory; field in class:MemoryFile
59 mSharedMemory = SharedMemory.create(name, length);
60 mMapping = mSharedMemory.mapReadWrite();
72 mSharedMemory.close();
98 if (native_pin(mSharedMemory.getFileDescriptor(), true)) {
106 native_pin(mSharedMemory.getFileDescriptor(), false);
116 return mSharedMemory.getSize();
148 native_pin(mSharedMemory.getFileDescriptor(), !allowPurging);
226 return mSharedMemory.getFileDescriptor();
249 if (mOffset >= mSharedMemory
[all...]
/frameworks/av/include/mediadrm/
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) {
365 sp<IMemory> dest = destination.mSharedMemory;
399 } else if (totalSize > source.mSharedMemory->size()) {
401 } else if ((size_t)offset > source.mSharedMemory
[all...]
H A DCryptoHal.cpp368 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum,
384 status_t status = toSharedBuffer(source.mSharedMemory, heapSeqNum, &hSource);
/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp139 destination.mSharedMemory = mDecryptDestination;
143 source.mSharedMemory = it->mSharedEncryptedBuffer;
155 memcpy(it->mCodecBuffer->base(), destination.mSharedMemory->pointer(), result);

Completed in 569 milliseconds