/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 55 ashmem_set_prot_region(fd, PROT_READ); 114 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset);
|
H A D | ProcessState.cpp | 358 mVMStart = mmap(0, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0);
|
H A D | Parcel.cpp | 954 int result = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); 958 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 963 result = ashmem_set_prot_region(fd, PROT_READ); 1425 void* ptr = ::mmap(NULL, len, isMutable ? PROT_READ | PROT_WRITE : PROT_READ,
|
H A D | IMemory.cpp | 307 int access = PROT_READ;
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 53 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 59 result = ashmem_set_prot_region(ashmemFd, PROT_READ); 101 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0);
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | FileSystem.inc | 165 prot = PROT_READ; 173 prot = PROT_READ | PROT_WRITE;
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 41 private static final int PROT_READ = 0x1; field in class:MemoryFile 78 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE);
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 46 if ((buf_ = (const char*)mmap(NULL, len_, PROT_READ, MAP_PRIVATE, fd, 0)) == MAP_FAILED) {
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 212 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Graphics.cpp | 604 void* addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 610 if (ashmem_set_prot_region(fd, PROT_READ) < 0) { 635 int flags = readOnly ? (PROT_READ) : (PROT_READ | PROT_WRITE);
|
/frameworks/base/libs/hwui/ |
H A D | JankTracker.cpp | 145 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE,
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
|
/frameworks/native/libs/binder/tests/ |
H A D | binderDriverInterfaceTest.cpp | 39 m_buffer = mmap(NULL, 64*1024, PROT_READ, MAP_SHARED, m_binderFd, 0);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_cache.cpp | 315 PROT_READ, MAP_PRIVATE, fd, 0));
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 522 void* ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 533 if (ashmem_set_prot_region(fd, PROT_READ) < 0) {
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 485 mBuf = (uint8_t *)mmap(0, mBufSize, PROT_READ | PROT_WRITE, 730 int ret = mprotect(mBuf, mBufSize, PROT_READ | PROT_EXEC);
|
/frameworks/native/cmds/servicemanager/ |
H A D | binder.c | 123 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 433 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 334 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0);
|