Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DAidlSensorHalWrapper.cpp93 : mEventQueueFlag(nullptr), in AidlSensorHalWrapper()
125 if (mEventQueueFlag != nullptr) { in connect()
126 EventFlag::deleteEventFlag(&mEventQueueFlag); in connect()
128 EventFlag::createEventFlag(mEventQueue->getEventFlagWord(), &mEventQueueFlag); in connect()
134 CHECK(mEventQueue != nullptr && mEventQueueFlag != nullptr && in connect()
151 if (mEventQueueFlag != nullptr) { in prepareForReconnect()
152 mEventQueueFlag->wake(asBaseType(INTERNAL_WAKE)); in prepareForReconnect()
171 if (mEventQueueFlag != nullptr) { in pollFmq()
172 mEventQueueFlag->wait(asBaseType(ISensors::EVENT_QUEUE_FLAG_BITS_READ_AND_PROCESS) | in pollFmq()
194 if (mEventQueueFlag != nullptr) { in pollFmq()
[all …]
DAidlSensorHalWrapper.h33 if (mEventQueueFlag != nullptr) { in ~AidlSensorHalWrapper()
34 ::android::hardware::EventFlag::deleteEventFlag(&mEventQueueFlag); in ~AidlSensorHalWrapper()
35 mEventQueueFlag = nullptr; in ~AidlSensorHalWrapper()
85 ::android::hardware::EventFlag *mEventQueueFlag;
DHidlSensorHalWrapper.cpp127 if (mEventQueueFlag != nullptr) { in connect()
128 mEventQueueFlag->wake(asBaseType(INTERNAL_WAKE)); in connect()
135 if (mEventQueueFlag != nullptr) { in prepareForReconnect()
136 mEventQueueFlag->wake(asBaseType(INTERNAL_WAKE)); in prepareForReconnect()
196 if (mEventQueueFlag != nullptr) { in pollFmq()
197 mEventQueueFlag->wait(asBaseType(EventQueueFlagBits::READ_AND_PROCESS) | in pollFmq()
219 if (mEventQueueFlag != nullptr) { in pollFmq()
220 mEventQueueFlag->wake(asBaseType(EventQueueFlagBits::EVENTS_READ)); in pollFmq()
262 mEventQueueFlag->wake(asBaseType(INTERNAL_WAKE)); in setOperationMode()
491 hardware::EventFlag::deleteEventFlag(&mEventQueueFlag); in initializeHidlServiceV2_X()
[all …]
DHidlSensorHalWrapper.h76 mEventQueueFlag(nullptr), in HidlSensorHalWrapper()
80 if (mEventQueueFlag != nullptr) { in ~HidlSensorHalWrapper()
81 hardware::EventFlag::deleteEventFlag(&mEventQueueFlag); in ~HidlSensorHalWrapper()
82 mEventQueueFlag = nullptr; in ~HidlSensorHalWrapper()
164 hardware::EventFlag* mEventQueueFlag; variable