Home
last modified time | relevance | path

Searched refs:EventFlag (Results 1 – 5 of 5) sorted by relevance

/system/libfmq/include/fmq/
DEventFlag.h32 struct EventFlag { struct
47 static status_t createEventFlag(int fd, off_t offset, EventFlag** ef);
65 EventFlag** ef);
76 static status_t deleteEventFlag(EventFlag** ef);
116 EventFlag(int fd, off_t offset, status_t* status); argument
122 EventFlag(std::atomic<uint32_t>* efWordPtr, status_t* status);
127 EventFlag();
128 EventFlag& operator=(const EventFlag& other) = delete; argument
129 EventFlag(const EventFlag& other) = delete;
147 ~EventFlag();
DMessageQueue.h159 android::hardware::EventFlag* evFlag = nullptr);
207 android::hardware::EventFlag* evFlag = nullptr);
449 android::hardware::EventFlag* mEventFlag = nullptr;
619 android::hardware::EventFlag::createEventFlag(mEvFlagWord, &mEventFlag); in initMemory()
703 android::hardware::EventFlag::deleteEventFlag(&mEventFlag); in ~MessageQueue()
731 android::hardware::EventFlag* evFlag) { in writeBlocking()
849 android::hardware::EventFlag* evFlag) { in readBlocking()
/system/libfmq/
DEventFlag.cpp31 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
39 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag()
51 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
52 EventFlag** flag) { in createEventFlag()
60 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag()
75 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() function in android::hardware::EventFlag
93 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() function in android::hardware::EventFlag
106 status_t EventFlag::wake(uint32_t bitmask) { in wake()
135 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
195 status_t EventFlag::wait(uint32_t bitmask, in wait()
[all …]
DAndroid.bp31 "EventFlag.cpp",
/system/libfmq/tests/
Dmq_test.cpp145 android::hardware::EventFlag* efGroup = nullptr; in ReaderThreadBlocking()
146 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); in ReaderThreadBlocking()
166 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in ReaderThreadBlocking()
180 android::hardware::EventFlag* efGroup = nullptr; in ReaderThreadBlocking2()
181 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); in ReaderThreadBlocking2()
191 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in ReaderThreadBlocking2()
216 android::hardware::EventFlag* efGroup = nullptr; in TEST_F()
217 android::status_t status = android::hardware::EventFlag::createEventFlag(&mFw, &efGroup); in TEST_F()
240 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in TEST_F()
252 android::hardware::EventFlag* efGroup = nullptr; in TEST_F()
[all …]