Home
last modified time | relevance | path

Searched refs:MAP_SHARED (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/libs/binary_translation/base/
Dexec_region_anonymous.cc34 {.size = size, .prot = PROT_READ | PROT_EXEC, .flags = MAP_SHARED, .fd = fd})), in Create()
36 {.size = size, .prot = PROT_READ | PROT_WRITE, .flags = MAP_SHARED, .fd = fd})), in Create()
Dexec_region_elf_backed.cc67 .flags = MAP_FIXED | MAP_SHARED, in Create()
70 {.size = region_size, .prot = PROT_READ | PROT_WRITE, .flags = MAP_SHARED, .fd = fd})), in Create()
/frameworks/av/services/oboeservice/
DSharedMemoryProxy.cpp63 MAP_SHARED, in open()
74 MAP_SHARED, in open()
DSharedMemoryWrapper.cpp46 MAP_SHARED, in SharedMemoryWrapper()
81 MAP_SHARED, in setupFifoBuffer()
DSharedRingBuffer.cpp67 MAP_SHARED, in allocate()
/frameworks/av/media/module/bufferpool/2.0/tests/
Dallocator.cpp188 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill()
206 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify()
228 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in MapMemoryForMutex()
/frameworks/base/libs/hwui/
DProfileDataContainer.cpp69 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
/frameworks/av/media/module/bufferpool/1.0/vts/
Dallocator.cpp170 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill()
188 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify()
/frameworks/base/core/java/android/os/
DHidlMemoryUtil.java18 import static android.system.OsConstants.MAP_SHARED;
233 final long address = Os.mmap(0, size, PROT_READ, MAP_SHARED, handle.getFileDescriptor(), in getBuffer()
DSharedMemory.java248 long address = Os.mmap(0, length, prot, OsConstants.MAP_SHARED, mFileDescriptor, offset); in map()
/frameworks/base/core/java/android/util/apk/
DMemoryMappedFileDataSource.java85 OsConstants.MAP_SHARED | OsConstants.MAP_POPULATE, // "prefault" all pages in feedIntoDataDigester()
/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp99 void *ptr = mmap(NULL, o->size(), PROT_READ | PROT_WRITE, MAP_SHARED, o->memFd(), 0); in Import()
120 void *ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Create()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc171 flag = MAP_FILE | MAP_SHARED;
175 flag = MAP_FILE | MAP_SHARED;
/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.cpp93 MAP_SHARED, fd.get(), 0); in resolveSharedMemory()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp70 mFontData = mmap(NULL, mFontSize, PROT_READ, MAP_SHARED, fd, 0); in FreeTypeMinikinFontForTest()
/frameworks/base/core/jni/
Dandroid_text_Hyphenator.cpp52 void* ptr = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0 /* offset */); in mmapPatternFile()
Dandroid_util_MemoryIntArray.cpp84 void* ashmemAddr = mmap(NULL, ashmemSize, protMode, MAP_SHARED, fd, 0); in android_util_MemoryIntArray_open()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp98 newData = ::mmap(nullptr, mInflatedSize, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); in maybeInflate()
170 window->mData = ::mmap(nullptr, window->mSize, PROT_READ, MAP_SHARED, window->mAshmemFd, 0); in createFromParcel()
/frameworks/base/libs/hwui/tests/unit/
DUnderlineTest.cpp66 void* data = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in buildFamily()
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp169 prot, MAP_SHARED, fd, offset); in mapfd()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp188 void* data = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setRobotoTypefaceForTest()
DBitmap.cpp132 void* addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in allocateAshmemBitmap()
225 addr = mmap(NULL, size, flags, MAP_SHARED, fd, 0); in createFrom()
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp133 MAP_SHARED /* recommended */, fd.get(), buf.m.offset)); in create()
/frameworks/native/cmds/service/
Dservice.cpp214 PROT_READ | PROT_WRITE, MAP_SHARED, afd, 0); in main()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DCryptoPlugin.cpp229 auto addr = mmap(nullptr, mem.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in SharedBufferBase()

12