Home
last modified time | relevance | path

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

/system/bt/test/mock/
Dmock_system_libfmq_eventflag.cc57 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() function in EventFlag
60 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() function in EventFlag
63 EventFlag::~EventFlag() { mock_function_count_map[__func__]++; } in ~EventFlag()
64 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
68 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
69 EventFlag** flag) { in createEventFlag()
73 status_t EventFlag::deleteEventFlag(EventFlag** evFlag) { in deleteEventFlag()
77 status_t EventFlag::unmapEventFlagWord(std::atomic<uint32_t>* efWordPtr, in unmapEventFlagWord()
82 status_t EventFlag::wait(uint32_t bitmask, uint32_t* efState, in wait()
87 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, in waitHelper()
[all …]
/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();
DMessageQueueBase.h171 android::hardware::EventFlag* evFlag = nullptr);
221 int64_t timeOutNanos = 0, android::hardware::EventFlag* evFlag = nullptr);
457 android::hardware::EventFlag* mEventFlag = nullptr;
641 android::hardware::EventFlag::createEventFlag(mEvFlagWord, &mEventFlag); in initMemory()
791 android::hardware::EventFlag::deleteEventFlag(&mEventFlag); in ~MessageQueueBase()
815 int64_t timeOutNanos, android::hardware::EventFlag* evFlag) { in writeBlocking()
931 int64_t timeOutNanos, android::hardware::EventFlag* evFlag) { in readBlocking()
/system/libfmq/
DEventFlag.cpp35 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { in createEventFlag()
43 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag()
55 status_t EventFlag::createEventFlag(std::atomic<uint32_t>* fwAddr, in createEventFlag()
56 EventFlag** flag) { in createEventFlag()
64 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag()
79 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() function in android::hardware::EventFlag
97 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() function in android::hardware::EventFlag
110 status_t EventFlag::wake(uint32_t bitmask) { in wake()
139 status_t EventFlag::waitHelper(uint32_t bitmask, uint32_t* efState, int64_t timeoutNanoSeconds) { in waitHelper()
199 status_t EventFlag::wait(uint32_t bitmask, in wait()
[all …]
DAndroid.bp45 "EventFlag.cpp",
/system/libfmq/tests/
Dfmq_unit_tests.cpp253 android::hardware::EventFlag* efGroup = nullptr; in ReaderThreadBlocking()
254 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); in ReaderThreadBlocking()
274 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in ReaderThreadBlocking()
286 android::hardware::EventFlag* efGroup = nullptr; in ReaderThreadBlocking2()
287 android::status_t status = android::hardware::EventFlag::createEventFlag(fwAddr, &efGroup); in ReaderThreadBlocking2()
297 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in ReaderThreadBlocking2()
557 android::hardware::EventFlag* efGroup = nullptr; in TYPED_TEST()
558 android::status_t status = android::hardware::EventFlag::createEventFlag(&this->mFw, &efGroup); in TYPED_TEST()
582 status = android::hardware::EventFlag::deleteEventFlag(&efGroup); in TYPED_TEST()
594 android::hardware::EventFlag* efGroup = nullptr; in TYPED_TEST()
[all …]