Home
last modified time | relevance | path

Searched refs:ashmem_valid (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/core/jni/
H A Dandroid_util_MemoryIntArray.cpp64 if (!ashmem_valid(fd)) { in android_util_MemoryIntArray_open()
122 if (!ashmem_valid(fd)) { in android_util_MemoryIntArray_close()
157 if (!ashmem_valid(fd)) { in android_util_MemoryIntArray_get()
179 if (!ashmem_valid(fd)) { in android_util_MemoryIntArray_set()
199 if (!ashmem_valid(fd)) { in android_util_MemoryIntArray_size()
H A Dandroid_os_SharedMemory.cpp66 if (!ashmem_valid(fd)) { in SharedMemory_nGetSize()
/aosp14/system/core/libcutils/
H A Dashmem_test.cpp35 ASSERT_TRUE(ashmem_valid(fd)); in TestCreateRegion()
47 ASSERT_TRUE(ashmem_valid(fd)); in TestMmap()
54 ASSERT_TRUE(ashmem_valid(fd)); in TestProtDenied()
60 ASSERT_TRUE(ashmem_valid(fd)); in TestProtIs()
109 if (!ashmem_valid(fd)) { in TEST()
172 ASSERT_TRUE(ashmem_valid(fd)); in TEST()
227 if (!ashmem_valid(fd)) { in TEST()
258 if (!ashmem_valid(fd[i])) { in TEST()
H A Dashmem-host.cpp55 int ashmem_valid(int fd) { in ashmem_valid() function
H A Dashmem-dev.cpp328 int ashmem_valid(int fd) in ashmem_valid() function
/aosp14/system/core/libcutils/include/cutils/
H A Dashmem.h29 int ashmem_valid(int fd);
/aosp14/system/core/libcutils/include_outside_system/cutils/
H A Dashmem.h29 int ashmem_valid(int fd);
/aosp14/frameworks/base/native/android/
H A Dsharedmem.cpp57 return ashmem_valid(fd) ? ashmem_get_size_region(fd) : 0; in ASharedMemory_getSize()