Searched refs:setProtResult (Results 1 – 2 of 2) sorted by relevance
47 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArray_create() local48 if (setProtResult < 0) { in android_util_MemoryIntArray_create()104 int setProtResult = ashmem_set_prot_region(fd, PROT_READ); in android_util_MemoryIntArray_open() local105 if (setProtResult < 0) { in android_util_MemoryIntArray_open()
46 int setProtResult = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in android_util_MemoryIntArrayTest_createAshmem() local47 if (setProtResult < 0) { in android_util_MemoryIntArrayTest_createAshmem()