Home
last modified time | relevance | path

Searched refs:setProtResult (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_MemoryIntArray.cpp47 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArray_create() local
48 if (setProtResult < 0) { in android_util_MemoryIntArray_create()
104 int setProtResult = ashmem_set_prot_region(fd, PROT_READ); in android_util_MemoryIntArray_open() local
105 if (setProtResult < 0) { in android_util_MemoryIntArray_open()
/frameworks/base/core/tests/utiltests/jni/
Dandroid_util_MemoryIntArrayTest.cpp46 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArrayTest_createAshmem() local
47 if (setProtResult < 0) { in android_util_MemoryIntArrayTest_createAshmem()