Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/vts/functional/
DSensorsHidlEnvironmentV2_0.cpp71 EventFlag::deleteEventFlag(&mEventQueueFlag); in resetHal()
72 EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag); in resetHal()
73 if (mEventQueueFlag == nullptr) { in resetHal()
112 if (mEventQueueFlag != nullptr) { in HidlTearDown()
114 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::READ_AND_PROCESS)); in HidlTearDown()
119 EventFlag::deleteEventFlag(&mEventQueueFlag); in HidlTearDown()
135 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS), &eventFlagState); in readEvents()
142 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in readEvents()
DSensorsHidlEnvironmentV2_0.h53 SensorsHidlEnvironmentV2_0() : mEventQueueFlag(nullptr) {} in SensorsHidlEnvironmentV2_0()
112 ::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