Home
last modified time | relevance | path

Searched refs:EventFlag (Results 1 – 9 of 9) 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.h161 android::hardware::EventFlag* evFlag = nullptr);
212 android::hardware::EventFlag* evFlag = nullptr);
454 android::hardware::EventFlag* mEventFlag = nullptr;
624 android::hardware::EventFlag::createEventFlag(mEvFlagWord, &mEventFlag); in initMemory()
708 android::hardware::EventFlag::deleteEventFlag(&mEventFlag); in ~MessageQueue()
736 android::hardware::EventFlag* evFlag) { in writeBlocking()
857 android::hardware::EventFlag* evFlag) { in readBlocking()
/system/libfmq/
DEventFlag.cpp34 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
42 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag()
54 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
55 EventFlag** flag) { in createEventFlag()
63 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag()
78 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() function in android::hardware::EventFlag
96 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() function in android::hardware::EventFlag
109 status_t EventFlag::wake(uint32_t bitmask) { in wake()
138 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
198 status_t EventFlag::wait(uint32_t bitmask, in wait()
[all …]
DAndroid.bp30 "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 …]
/system/netd/resolv/tests/
DBaseTestMetricsListener.h27 enum EventFlag : uint32_t { enum
97 void setVerified(EventFlag event);
DTestMetrics.h42 bool isVerified() override { return (getVerified() & EventFlag::onDnsEvent) != 0; } in isVerified()
DTestMetrics.cpp65 setVerified(EventFlag::onDnsEvent); in onDnsEvent()
DBaseTestMetricsListener.cpp28 void BaseTestMetricsListener::setVerified(EventFlag event) { in setVerified()