Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/vts/functional/
DSensorsHidlEnvironmentV2_0.cpp78 EventFlag::deleteEventFlag(&mEventQueueFlag); in resetHal()
79 EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag); in resetHal()
80 if (mEventQueueFlag == nullptr) { in resetHal()
119 if (mEventQueueFlag != nullptr) { in HidlTearDown()
121 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::READ_AND_PROCESS)); in HidlTearDown()
126 EventFlag::deleteEventFlag(&mEventQueueFlag); in HidlTearDown()
142 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS), &eventFlagState); in readEvents()
149 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in readEvents()
DSensorsHidlEnvironmentV2_0.h50 : SensorsHidlEnvironmentBase(service_name), mEventQueueFlag(nullptr) {} in SensorsHidlEnvironmentV2_0()
114 ::android::hardware::EventFlag* mEventQueueFlag;
/hardware/interfaces/sensors/2.0/default/
DSensors.cpp39 : mEventQueueFlag(nullptr), in Sensors()
120 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initialize()
129 if (!mCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initialize()
186 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::READ_AND_PROCESS)); in postEvents()
249 status_t status = EventFlag::deleteEventFlag(&mEventQueueFlag); in deleteEventFlag()
DSensors.h132 EventFlag* mEventQueueFlag; member
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp169 if (mEventQueueFlag != nullptr) { in initialize()
170 EventFlag::deleteEventFlag(&mEventQueueFlag); in initialize()
175 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initialize()
181 if (!mDynamicSensorsCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initialize()
444 if (mEventQueueFlag != nullptr && mEventQueue != nullptr) { in stopThreads()
448 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::EVENTS_READ)); in stopThreads()
498 kPendingWriteTimeoutNs, mEventQueueFlag)) { in handlePendingWrites()
583 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::READ_AND_PROCESS)); in postEventsToMessageQueue()
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h155 EventFlag* mEventQueueFlag = nullptr; variable