Searched refs:mSharedMemory (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 49 private SharedMemory mSharedMemory; field in MemoryFile 62 mSharedMemory = SharedMemory.create(name, length); in MemoryFile() 63 mMapping = mSharedMemory.mapReadWrite(); in MemoryFile() 75 mSharedMemory.close(); in close() 102 if (native_pin(mSharedMemory.getFileDescriptor(), true)) { in beginAccess() 110 native_pin(mSharedMemory.getFileDescriptor(), false); in endAccess() 120 return mSharedMemory.getSize(); in length() 152 native_pin(mSharedMemory.getFileDescriptor(), !allowPurging); in allowPurging() 231 return mSharedMemory.getFileDescriptor(); in getFileDescriptor() 255 if (mOffset >= mSharedMemory.getSize()) { in available() [all …]
|
/frameworks/av/services/oboeservice/ |
D | SharedRingBuffer.cpp | 33 if (mSharedMemory != nullptr) { in ~SharedRingBuffer() 35 munmap(mSharedMemory, mSharedMemorySizeInBytes); in ~SharedRingBuffer() 36 mSharedMemory = nullptr; in ~SharedRingBuffer() 62 mSharedMemory = (uint8_t *) mmap(0, mSharedMemorySizeInBytes, in allocate() 66 if (mSharedMemory == MAP_FAILED) { in allocate() 74 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET]; in allocate() 76 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET]; in allocate() 77 uint8_t *dataAddress = &mSharedMemory[SHARED_RINGBUFFER_DATA_OFFSET]; in allocate()
|
D | SharedRingBuffer.h | 57 uint8_t *mSharedMemory = nullptr; variable
|
/frameworks/av/drm/libmediadrm/ |
D | ICrypto.cpp | 130 data.writeStrongBinder(IInterface::asBinder(source.mSharedMemory)); in decrypt() 144 if (destination.mSharedMemory == NULL) { in decrypt() 147 data.writeStrongBinder(IInterface::asBinder(destination.mSharedMemory)); in decrypt() 341 source.mSharedMemory = in onTransact() 343 if (source.mSharedMemory == NULL) { in onTransact() 372 destination.mSharedMemory = in onTransact() 374 if (destination.mSharedMemory == NULL) { in onTransact() 378 sp<IMemory> dest = destination.mSharedMemory; in onTransact() 412 } else if (totalSize > source.mSharedMemory->size()) { in onTransact() 414 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) { in onTransact()
|
D | CryptoHal.cpp | 385 status_t status = toSharedBuffer(destination.mSharedMemory, heapSeqNum, in decrypt() 401 status_t status = toSharedBuffer(source.mSharedMemory, heapSeqNum, &hSource); in decrypt()
|
/frameworks/av/drm/libmediadrm/interface/mediadrm/ |
D | ICrypto.h | 52 sp<IMemory> mSharedMemory; member 64 sp<IMemory> mSharedMemory; member
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 140 destination.mSharedMemory = mDecryptDestination; in queueSecureInputBuffer() 144 source.mSharedMemory = it->mSharedEncryptedBuffer; in queueSecureInputBuffer() 156 memcpy(it->mCodecBuffer->base(), destination.mSharedMemory->pointer(), result); in queueSecureInputBuffer()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 779 source->mSharedMemory = mMemory; in fillSourceBuffer()
|
D | CCodecBufferChannel.cpp | 440 destination.mSharedMemory = mDecryptDestination; in queueSecureInputBuffer()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 51589 Landroid/os/MemoryFile;->mSharedMemory:Landroid/os/SharedMemory;
|