Searched refs:ashmemFd (Results 1 – 3 of 3) sorted by relevance
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 326 int ashmemFd = ashmem_create_region("QueueHidlOnlyBad", 4096); in TEST_F() local 327 ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in TEST_F() 328 handle->data[0] = ashmemFd; in TEST_F() 335 close(ashmemFd); in TEST_F() 343 int ashmemFd = ashmem_create_region("QueueHidlOnlyBad", 4096); in TEST_F() local 344 ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in TEST_F() 345 handle->data[0] = ashmemFd; in TEST_F() 355 close(ashmemFd); in TEST_F() 363 int ashmemFd = ashmem_create_region("QueueHidlOnlyBad", 4096); in TEST_F() local 364 ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in TEST_F() [all …]
|
/system/libfmq/fuzzer/ |
D | fmq_fuzzer.cpp | 312 int ashmemFd = ashmem_create_region("HidlCustomGrantors", kMaxCustomGrantorMemoryBytes); in getHidlDesc() local 313 ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in getHidlDesc() 314 handle->data[0] = ashmemFd; in getHidlDesc()
|
/system/libfmq/include/fmq/ |
D | MessageQueueBase.h | 805 int ashmemFd = ashmem_create_region("MessageQueue", kAshmemSizePageAligned); in MessageQueueBase() local 806 ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in MessageQueueBase() 807 mqHandle->data[0] = ashmemFd; in MessageQueueBase()
|