Home
last modified time | relevance | path

Searched refs:mWakeLockQueue (Results 1 – 9 of 9) 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.h101 std::unique_ptr<WakeLockQueue> mWakeLockQueue; variable
/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlEnvironment.cpp69 mWakeLockQueue = std::make_unique<WakeLockQueue>(MAX_RECEIVE_BUFFER_EVENT_COUNT, in resetHal()
74 if (mWakeLockQueue == nullptr || mEventQueue == nullptr) { in resetHal()
84 mSensors->initialize(mEventQueue->dupeDesc(), mWakeLockQueue->dupeDesc(), mCallback); in resetHal()
DSensorsAidlEnvironment.h90 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/aidl/default/
DSensors.cpp115 mWakeLockQueue = std::make_unique<AidlMessageQueue<int32_t, SynchronizedReadWrite>>( in initialize()
118 if (!mCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initialize()
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/
DSensors.h142 mWakeLockQueue->readBlocking( in readWakeLockFMQ()
190 std::unique_ptr<AidlMessageQueue<int32_t, SynchronizedReadWrite>> mWakeLockQueue; variable
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp240 mWakeLockQueue = std::move(wakeLockQueue); in initializeCommon()
251 if (EventFlag::createEventFlag(mWakeLockQueue->getEventFlagWord(), &mWakelockQueueFlag) != OK) { in initializeCommon()
254 if (!mDynamicSensorsCallback || !mEventQueue || !mWakeLockQueue || mEventQueueFlag == nullptr) { in initializeCommon()
541 if (mWakelockQueueFlag != nullptr && mWakeLockQueue != nullptr) { in stopThreads()
543 mWakeLockQueue->write(&kZero); in stopThreads()
629 bool success = mWakeLockQueue->readBlocking( in handleWakelocks()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxy.h159 std::unique_ptr<WakeLockMessageQueueWrapperBase> mWakeLockQueue; variable