/frameworks/libs/binary_translation/base/ |
D | exec_region_anonymous.cc | 34 {.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()
|
D | exec_region_elf_backed.cc | 67 .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/ |
D | SharedMemoryProxy.cpp | 63 MAP_SHARED, in open() 74 MAP_SHARED, in open()
|
D | SharedMemoryWrapper.cpp | 46 MAP_SHARED, in SharedMemoryWrapper() 81 MAP_SHARED, in setupFifoBuffer()
|
D | SharedRingBuffer.cpp | 67 MAP_SHARED, in allocate()
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.cpp | 188 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/ |
D | ProfileDataContainer.cpp | 69 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
|
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | allocator.cpp | 170 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/ |
D | HidlMemoryUtil.java | 18 import static android.system.OsConstants.MAP_SHARED; 233 final long address = Os.mmap(0, size, PROT_READ, MAP_SHARED, handle.getFileDescriptor(), in getBuffer()
|
D | SharedMemory.java | 248 long address = Os.mmap(0, length, prot, OsConstants.MAP_SHARED, mFileDescriptor, offset); in map()
|
/frameworks/base/core/java/android/util/apk/ |
D | MemoryMappedFileDataSource.java | 85 OsConstants.MAP_SHARED | OsConstants.MAP_POPULATE, // "prefault" all pages in feedIntoDataDigester()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2SurfaceSyncObj.cpp | 99 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/ |
D | FileSystem.inc | 171 flag = MAP_FILE | MAP_SHARED; 175 flag = MAP_FILE | MAP_SHARED;
|
/frameworks/av/media/libaaudio/src/binding/ |
D | SharedMemoryParcelable.cpp | 93 MAP_SHARED, fd.get(), 0); in resolveSharedMemory()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.cpp | 70 mFontData = mmap(NULL, mFontSize, PROT_READ, MAP_SHARED, fd, 0); in FreeTypeMinikinFontForTest()
|
/frameworks/base/core/jni/ |
D | android_text_Hyphenator.cpp | 52 void* ptr = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0 /* offset */); in mmapPatternFile()
|
D | android_util_MemoryIntArray.cpp | 84 void* ashmemAddr = mmap(NULL, ashmemSize, protMode, MAP_SHARED, fd, 0); in android_util_MemoryIntArray_open()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 98 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/ |
D | UnderlineTest.cpp | 66 void* data = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in buildFamily()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 169 prot, MAP_SHARED, fd, offset); in mapfd()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 188 void* data = mmap(nullptr, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in setRobotoTypefaceForTest()
|
D | Bitmap.cpp | 132 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/ |
D | TouchVideoDevice.cpp | 133 MAP_SHARED /* recommended */, fd.get(), buf.m.offset)); in create()
|
/frameworks/native/cmds/service/ |
D | service.cpp | 214 PROT_READ | PROT_WRITE, MAP_SHARED, afd, 0); in main()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/ |
D | CryptoPlugin.cpp | 229 auto addr = mmap(nullptr, mem.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in SharedBufferBase()
|