Searched refs:EventFlag (Results 1 - 5 of 5) sorted by relevance
/system/libfmq/include/fmq/ |
H A D | EventFlag.h | 28 * EventFlag is an abstraction that application code utilizing FMQ can use to wait on 29 * conditions like full, empty, data available etc. The same EventFlag object 32 struct EventFlag { struct in namespace:android::hardware 40 * @param ef Pointer to address of the EventFlag object that gets created. Will be set to 47 static status_t createEventFlag(int fd, off_t offset, EventFlag** ef); 56 * @param ef Pointer to the address of the EventFlag object that gets created. Will be set to 65 EventFlag** ef); 68 * Delete an EventFlag object. 70 * @param ef A double pointer to the EventFlag object to be destroyed. 76 static status_t deleteEventFlag(EventFlag** e [all...] |
H A D | MessageQueue.h | 22 #include <fmq/EventFlag.h> 56 * also be allocated and mapped for an EventFlag word. 124 * If 'evFlag' is nullptr, it is checked whether there is an EventFlag object 128 * reader(s)/writer is based upon the same EventFlag word. 132 * - If 'evFlag' is nullptr and the FMQ does not own an EventFlag object. 137 * available to write into it, the EventFlag bit mask 'readNotification' is 145 * @param readNotification The EventFlag bit mask to wait on if there is not 147 * @param writeNotification The EventFlag bit mask to call wake on 151 * @param evFlag The EventFlag object to be used for blocking. If nullptr, 152 * it is checked whether the FMQ owns an EventFlag objec [all...] |
/system/libfmq/ |
H A D | EventFlag.cpp | 19 #include <fmq/EventFlag.h> 31 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { 39 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); 51 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, 52 EventFlag** flag) { 60 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); 75 EventFlag function in class:android::hardware::EventFlag 93 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { function in class:android::hardware::EventFlag [all...] |
/system/libfmq/tests/ |
H A D | mq_test.cpp | 24 #include <fmq/EventFlag.h> 87 * Initialize the EventFlag word to indicate Queue is not full. 113 * Initialize the EventFlag word to indicate Queue is not full. 145 android::hardware::EventFlag* efGroup = nullptr; 146 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); 166 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); 172 * passes in a pointer to an EventFlag object. 180 android::hardware::EventFlag* efGroup = nullptr; 181 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); 191 status = android::hardware::EventFlag [all...] |
H A D | msgq_test_client.cpp | 23 #include <fmq/EventFlag.h> 230 * using the EventFlag object owned by FMQ. 251 * using the EventFlag object owned by FMQ and using the default EventFlag 259 * Request service to perform a blocking read using default EventFlag 282 * using the EventFlag object owned by FMQ. 310 * using the EventFlag object owned by FMQ. Each read operation reads twice the 338 * using the EventFlag object owned by FMQ. Each write operation writes twice
|
Completed in 69 milliseconds