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()
150 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initializeBase()
159 if (!mCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeBase()
217 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::READ_AND_PROCESS)); in postEvents()
242 status_t status = EventFlag::deleteEventFlag(&mEventQueueFlag); in deleteEventFlag()
318 EventFlag* mEventQueueFlag; member
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp226 if (mEventQueueFlag != nullptr) { in initializeCommon()
227 EventFlag::deleteEventFlag(&mEventQueueFlag); in initializeCommon()
232 if (EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag) != OK) { in initializeCommon()
238 if (!mDynamicSensorsCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeCommon()
519 if (mEventQueueFlag != nullptr && mEventQueue != nullptr) { in stopThreads()
523 mEventQueueFlag->wake(static_cast<uint32_t>(EventQueueFlagBits::EVENTS_READ)); in stopThreads()
573 kPendingWriteTimeoutNs, mEventQueueFlag)) { in handlePendingWrites()
658 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