Home
last modified time | relevance | path

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

/system/libfmq/tests/
Dfmq_unit_tests.cpp475 native_handle_t* mqHandle = native_handle_create(2 /* numFds */, 0 /* numInts */); in TEST_F() local
476 if (mqHandle == nullptr) { in TEST_F()
479 mqHandle->data[0] = 12; in TEST_F()
480 mqHandle->data[1] = 5; in TEST_F()
487 HidlMQDescUnsync8 hidlDesc(grantors, mqHandle, 10); in TEST_F()
497 native_handle_t* mqHandle = native_handle_create(2 /* numFds */, 0 /* numInts */); in TEST_F() local
498 if (mqHandle == nullptr) { in TEST_F()
501 mqHandle->data[0] = ::ashmem_create_region("ConvertMultipleFds", 8); in TEST_F()
502 mqHandle->data[1] = ::ashmem_create_region("ConvertMultipleFds2", 8); in TEST_F()
509 HidlMQDescUnsync8 hidlDesc(grantors, mqHandle, 10); in TEST_F()
/system/libfmq/include/fmq/
DMessageQueueBase.h797 native_handle_t* mqHandle = native_handle_create(numFds, 0 /* numInts */); in MessageQueueBase() local
798 if (mqHandle == nullptr) { in MessageQueueBase()
807 mqHandle->data[0] = ashmemFd; in MessageQueueBase()
811 mqHandle->data[1] = bufferFd.get(); in MessageQueueBase()
848 Descriptor(grantors, mqHandle, quantum)); in MessageQueueBase()
851 kQueueSizeBytes, mqHandle, quantum, configureEventFlagWord)); in MessageQueueBase()
854 native_handle_close(mqHandle); in MessageQueueBase()
855 native_handle_delete(mqHandle); in MessageQueueBase()