Home
last modified time | relevance | path

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

/system/libfmq/tests/
Dfmq_unit_tests.cpp407 native_handle_t* mqHandle = native_handle_create(2 /* numFds */, 0 /* numInts */); in TEST_F() local
408 if (mqHandle == nullptr) { in TEST_F()
411 mqHandle->data[0] = 12; in TEST_F()
412 mqHandle->data[1] = 5; in TEST_F()
419 HidlMQDescUnsync8* hidlDesc = new (std::nothrow) HidlMQDescUnsync8(grantors, mqHandle, 10); in TEST_F()
429 native_handle_t* mqHandle = native_handle_create(2 /* numFds */, 0 /* numInts */); in TEST_F() local
430 if (mqHandle == nullptr) { in TEST_F()
433 mqHandle->data[0] = ::ashmem_create_region("ConvertMultipleFds", 8); in TEST_F()
434 mqHandle->data[1] = ::ashmem_create_region("ConvertMultipleFds2", 8); in TEST_F()
441 HidlMQDescUnsync8* hidlDesc = new (std::nothrow) HidlMQDescUnsync8(grantors, mqHandle, 10); in TEST_F()
[all …]
/system/libfmq/include/fmq/
DMessageQueueBase.h712 native_handle_t* mqHandle = native_handle_create(numFds, 0 /* numInts */); in MessageQueueBase() local
713 if (mqHandle == nullptr) { in MessageQueueBase()
722 mqHandle->data[0] = ashmemFd; in MessageQueueBase()
726 mqHandle->data[1] = bufferFd.get(); in MessageQueueBase()
763 Descriptor(grantors, mqHandle, sizeof(T))); in MessageQueueBase()
766 kQueueSizeBytes, mqHandle, sizeof(T), configureEventFlagWord)); in MessageQueueBase()
769 native_handle_close(mqHandle); in MessageQueueBase()
770 native_handle_delete(mqHandle); in MessageQueueBase()