Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.cpp69 EventFlag::deleteEventFlag(&mEventQueueFlag); in resetHal()
70 EventFlag::createEventFlag(mSensors->getEventQueue()->getEventFlagWord(), &mEventQueueFlag); in resetHal()
71 if (mEventQueueFlag == nullptr) { in resetHal()
109 if (mEventQueueFlag != nullptr) { in HidlTearDown()
111 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::READ_AND_PROCESS)); in HidlTearDown()
116 EventFlag::deleteEventFlag(&mEventQueueFlag); in HidlTearDown()
132 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS), &eventFlagState); in readEvents()
139 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in readEvents()
DSensorsHidlEnvironmentV2_X.h56 : SensorsHidlEnvironmentBase(service_name), mEventQueueFlag(nullptr) {} in SensorsHidlEnvironmentV2_X()
109 ::android::hardware::EventFlag* mEventQueueFlag;
/hardware/interfaces/sensors/common/default/2.X/
DSensors.h58 : mEventQueueFlag(nullptr), in Sensors()
136 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initializeBase()
145 if (!mCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeBase()
203 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::READ_AND_PROCESS)); in postEvents()
228 status_t status = EventFlag::deleteEventFlag(&mEventQueueFlag); in deleteEventFlag()
304 EventFlag* mEventQueueFlag; member
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp228 if (mEventQueueFlag != nullptr) { in initializeCommon()
229 EventFlag::deleteEventFlag(&mEventQueueFlag); in initializeCommon()
234 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initializeCommon()
240 if (!mDynamicSensorsCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeCommon()
521 if (mEventQueueFlag != nullptr && mEventQueue != nullptr) { in stopThreads()
525 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::EVENTS_READ)); in stopThreads()
575 kPendingWriteTimeoutNs, mEventQueueFlag)) { in handlePendingWrites()
660 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::READ_AND_PROCESS)); in postEventsToMessageQueue()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxy.h163 EventFlag* mEventQueueFlag = nullptr; variable