Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.cpp62 mWakeLockQueue = std::make_unique<WakeLockQueue>(MAX_RECEIVE_BUFFER_EVENT_COUNT, in resetHal()
65 if (mWakeLockQueue == nullptr) { in resetHal()
75 mSensors->initialize(*mWakeLockQueue->getDesc(), new NoOpSensorsCallback()); in resetHal()
DSensorsHidlEnvironmentV2_X.h103 std::unique_ptr<WakeLockQueue> mWakeLockQueue; variable
/hardware/interfaces/sensors/common/default/2.X/
DSensors.h142 mWakeLockQueue = std::make_unique<WakeLockMessageQueue>(wakeLockDescriptor, in initializeBase()
145 if (!mCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeBase()
246 mWakeLockQueue->readBlocking(&eventsHandled, 1 /* count */, 0 /* readNotification */, in readWakeLockFMQ()
299 std::unique_ptr<WakeLockMessageQueue> mWakeLockQueue; member
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp225 mWakeLockQueue = in initializeCommon()
237 if (EventFlag::createEventFlag(mWakeLockQueue->getEventFlagWord(), &mWakelockQueueFlag) != OK) { in initializeCommon()
240 if (!mDynamicSensorsCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeCommon()
527 if (mWakelockQueueFlag != nullptr && mWakeLockQueue != nullptr) { in stopThreads()
529 mWakeLockQueue->write(&kZero); in stopThreads()
615 bool success = mWakeLockQueue->readBlocking( in handleWakelocks()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxy.h157 std::unique_ptr<WakeLockMessageQueue> mWakeLockQueue; variable