/frameworks/libs/binary_translation/tests/ndk_program_tests/riscv64/ |
D | handle_not_executable_test.cc | 34 PROT_READ | PROT_WRITE, // No PROT_EXEC! in TEST() 99 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 103 mprotect(second_page, kPageSize, PROT_READ | PROT_WRITE); in TEST()
|
D | runtime_code_patching_test.cc | 89 mmap(0, kPageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm64/ |
D | handle_not_executable_test.cc | 34 PROT_READ | PROT_WRITE, // No PROT_EXEC! in TEST() 93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 97 mprotect(second_page, kPageSize, PROT_READ | PROT_WRITE); in TEST()
|
D | runtime_code_patching_test.cc | 83 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
/frameworks/av/services/oboeservice/ |
D | SharedMemoryProxy.cpp | 52 int err = ashmem_set_prot_region(mProxyFileDescriptor, PROT_READ|PROT_WRITE); in open() 62 PROT_READ|PROT_WRITE, in open() 73 PROT_READ|PROT_WRITE, in open()
|
D | SharedMemoryWrapper.cpp | 38 int err = ashmem_set_prot_region(mCounterFd.get(), PROT_READ|PROT_WRITE); in SharedMemoryWrapper() 45 PROT_READ|PROT_WRITE, in SharedMemoryWrapper() 80 PROT_READ|PROT_WRITE, in setupFifoBuffer()
|
D | SharedRingBuffer.cpp | 56 …int err = ashmem_set_prot_region(mFileDescriptor.get(), PROT_READ|PROT_WRITE); // TODO error handl… in allocate() 66 PROT_READ|PROT_WRITE, in allocate()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/ |
D | handle_not_executable_test.cc | 34 PROT_READ | PROT_WRITE, // No PROT_EXEC! in TEST() 93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 97 mprotect(second_page, kPageSize, PROT_READ | PROT_WRITE); in TEST()
|
D | runtime_code_patching_test.cc | 61 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 91 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | syscall_test.cc | 43 PROT_READ | PROT_WRITE | PROT_EXEC, in TEST()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | sigaltstack_test.cc | 58 ASSERT_EQ(mprotect(g_access_1, kAccessSize, PROT_READ | PROT_WRITE), 0); in HandleSignalOnAccess() 65 ASSERT_EQ(mprotect(g_access_2, kAccessSize, PROT_READ | PROT_WRITE), 0); in HandleSignalOnAccess() 80 g_ss = mmap(nullptr, kStackSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
/frameworks/av/media/codec2/hal/services/seccomp_policy/ |
D | android.hardware.media.c2-default-riscv64.policy | 22 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 23 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
D | android.hardware.media.c2-default-arm.policy | 22 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 23 mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
D | android.hardware.media.c2-default-arm64.policy | 22 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 23 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
/frameworks/base/core/java/android/os/ |
D | SharedMemory.java | 116 private static final int PROT_MASK = OsConstants.PROT_READ | OsConstants.PROT_WRITE 205 return map(OsConstants.PROT_READ | OsConstants.PROT_WRITE, 0, mSize); in mapReadWrite() 249 boolean readOnly = (prot & OsConstants.PROT_WRITE) == 0; in map()
|
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/ |
D | guest_exec_region.h | 35 PROT_READ | PROT_WRITE | PROT_EXEC, in MakeGuestExecRegion()
|
/frameworks/av/services/mediacodec/seccomp_policy/ |
D | mediaswcodec-arm.policy | 22 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 23 mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
D | mediaswcodec-arm64.policy | 22 mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 23 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
|
/frameworks/libs/binary_translation/base/ |
D | exec_region_anonymous.cc | 36 {.size = size, .prot = PROT_READ | PROT_WRITE, .flags = MAP_SHARED, .fd = fd})), in Create()
|
D | exec_region_elf_backed.cc | 70 {.size = region_size, .prot = PROT_READ | PROT_WRITE, .flags = MAP_SHARED, .fd = fd})), in Create()
|
/frameworks/base/core/jni/ |
D | android_util_MemoryIntArray.cpp | 47 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArray_create() 83 int protMode = owner ? (PROT_READ | PROT_WRITE) : PROT_READ; in android_util_MemoryIntArray_open()
|
/frameworks/libs/binary_translation/tools/ |
D | symbolize_trace.py | 25 PROT_WRITE = 2 variable 51 prot |= PROT_WRITE
|
/frameworks/base/core/tests/utiltests/jni/ |
D | android_util_MemoryIntArrayTest.cpp | 46 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArrayTest_createAshmem()
|
/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/2.0/tests/ |
D | allocator.cpp | 188 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill() 228 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in MapMemoryForMutex()
|