Searched refs:eventQueue (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/ |
D | HalProxy_test.cpp | 165 bool readEventsOutOfQueue(size_t numEvents, std::unique_ptr<EventMessageQueueV2_0>& eventQueue, 318 std::unique_ptr<EventMessageQueueV2_0> eventQueue = makeEventFMQ(kQueueSize); in TEST() local 321 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 326 EXPECT_EQ(eventQueue->availableToRead(), 1); in TEST() 335 std::unique_ptr<EventMessageQueueV2_0> eventQueue = makeEventFMQ(kQueueSize); in TEST() local 338 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 343 EXPECT_EQ(eventQueue->availableToRead(), kNumEvents); in TEST() 351 std::unique_ptr<EventMessageQueueV2_0> eventQueue = makeEventFMQ(kQueueSize); in TEST() local 354 proxy.initialize(*eventQueue->getDesc(), *wakeLockQueue->getDesc(), callback); in TEST() 357 EventFlag::createEventFlag(eventQueue->getEventFlagWord(), &eventQueueFlag); in TEST() [all …]
|
/hardware/interfaces/sensors/2.1/default/ |
D | SensorsV2_1.cpp | 73 auto eventQueue = std::make_unique<MessageQueue<V2_1::Event, kSynchronizedReadWrite>>( in initialize_2_1() local 76 std::make_unique<EventMessageQueueWrapperV2_1>(eventQueue); in initialize_2_1()
|
/hardware/interfaces/sensors/common/utils/ |
D | ISensorsWrapper.h | 195 auto eventQueue = std::make_unique<EventMessageQueue>(MAX_RECEIVE_BUFFER_EVENT_COUNT, in ISensorsWrapperV2_0() local 197 mEventQueue = std::make_unique<EventMessageQueueWrapperV1_0>(eventQueue); in ISensorsWrapperV2_0() 221 auto eventQueue = std::make_unique<EventMessageQueueV2_1>( in ISensorsWrapperV2_1() local 223 mEventQueue = std::make_unique<EventMessageQueueWrapperV2_1>(eventQueue); in ISensorsWrapperV2_1()
|
/hardware/interfaces/sensors/common/default/2.X/ |
D | Sensors.h | 115 auto eventQueue = in initialize() local 118 std::make_unique<V2_1::implementation::EventMessageQueueWrapperV1_0>(eventQueue); in initialize() 123 std::unique_ptr<V2_1::implementation::EventMessageQueueWrapperBase>& eventQueue, in initializeBase() 143 mEventQueue = std::move(eventQueue); in initializeBase()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/ |
D | HalProxy.cpp | 172 auto eventQueue = in initialize_2_1() local 175 std::make_unique<EventMessageQueueWrapperV2_1>(eventQueue); in initialize_2_1() 188 auto eventQueue = in initialize() local 191 std::make_unique<EventMessageQueueWrapperV1_0>(eventQueue); in initialize() 197 std::unique_ptr<EventMessageQueueWrapperBase>& eventQueue, in initializeCommon() argument 219 mEventQueue = std::move(eventQueue); in initializeCommon()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | HalProxy.h | 102 std::unique_ptr<EventMessageQueueWrapperBase>& eventQueue,
|