Home
last modified time | relevance | path

Searched refs:eventQueue (Results 1 – 21 of 21) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DRefreshRateCalculatorFactory.cpp23 EventQueue* eventQueue, int64_t maxValidPeriodNs) { in BuildRefreshRateCalculator() argument
24 return std::make_shared<InstantRefreshRateCalculator>(eventQueue, maxValidPeriodNs); in BuildRefreshRateCalculator()
29 EventQueue* eventQueue, const ExitIdleRefreshRateCalculatorParameters& params) { in BuildRefreshRateCalculator() argument
30 return std::make_unique<ExitIdleRefreshRateCalculator>(eventQueue, params); in BuildRefreshRateCalculator()
35 EventQueue* eventQueue, const VideoFrameRateCalculatorParameters& params) { in BuildRefreshRateCalculator() argument
36 return std::make_shared<VideoFrameRateCalculator>(eventQueue, params); in BuildRefreshRateCalculator()
41 EventQueue* eventQueue, const PeriodRefreshRateCalculatorParameters& params) { in BuildRefreshRateCalculator() argument
42 return std::make_shared<PeriodRefreshRateCalculator>(eventQueue, params); in BuildRefreshRateCalculator()
47 EventQueue* eventQueue, const std::vector<RefreshRateCalculatorType>& types) { in BuildRefreshRateCalculator() argument
50 refreshRateCalculators.emplace_back(BuildRefreshRateCalculator(eventQueue, type)); in BuildRefreshRateCalculator()
[all …]
DRefreshRateCalculatorFactory.h39 std::shared_ptr<RefreshRateCalculator> BuildRefreshRateCalculator(EventQueue* eventQueue,
44 EventQueue* eventQueue, const ExitIdleRefreshRateCalculatorParameters& params);
48 EventQueue* eventQueue, const VideoFrameRateCalculatorParameters& params);
52 EventQueue* eventQueue, const PeriodRefreshRateCalculatorParameters& params);
56 EventQueue* eventQueue, const std::vector<RefreshRateCalculatorType>& types);
65 EventQueue* eventQueue, RefreshRateCalculatorType type);
DExitIdleRefreshRateCalculator.cpp25 ExitIdleRefreshRateCalculator::ExitIdleRefreshRateCalculator(EventQueue* eventQueue) in ExitIdleRefreshRateCalculator() argument
26 : ExitIdleRefreshRateCalculator(eventQueue, ExitIdleRefreshRateCalculatorParameters()) {} in ExitIdleRefreshRateCalculator()
29 EventQueue* eventQueue, const ExitIdleRefreshRateCalculatorParameters& params) in ExitIdleRefreshRateCalculator() argument
30 : mEventQueue(eventQueue), mParams(params) { in ExitIdleRefreshRateCalculator()
DInstantRefreshRateCalculator.cpp25 InstantRefreshRateCalculator::InstantRefreshRateCalculator(EventQueue* eventQueue) in InstantRefreshRateCalculator() argument
26 : InstantRefreshRateCalculator(eventQueue, kDefaultMaxValidTimeNs) {} in InstantRefreshRateCalculator()
28 InstantRefreshRateCalculator::InstantRefreshRateCalculator(EventQueue* eventQueue, in InstantRefreshRateCalculator() argument
30 : mEventQueue(eventQueue), mMaxValidTimeNs(maxValidTimeNs) { in InstantRefreshRateCalculator()
DPeriodRefreshRateCalculator.h45 PeriodRefreshRateCalculator(EventQueue* eventQueue) in PeriodRefreshRateCalculator() argument
46 : PeriodRefreshRateCalculator(eventQueue, PeriodRefreshRateCalculatorParameters()) {} in PeriodRefreshRateCalculator()
48 PeriodRefreshRateCalculator(EventQueue* eventQueue,
DVideoFrameRateCalculator.h49 VideoFrameRateCalculator(EventQueue* eventQueue) in VideoFrameRateCalculator() argument
50 : VideoFrameRateCalculator(eventQueue, VideoFrameRateCalculatorParameters()) {} in VideoFrameRateCalculator()
52 VideoFrameRateCalculator(EventQueue* eventQueue,
DInstantRefreshRateCalculator.h28 InstantRefreshRateCalculator(EventQueue* eventQueue);
30 InstantRefreshRateCalculator(EventQueue* eventQueue, int64_t maxValidTimeNs);
DExitIdleRefreshRateCalculator.h33 ExitIdleRefreshRateCalculator(EventQueue* eventQueue);
35 ExitIdleRefreshRateCalculator(EventQueue* eventQueue,
DAODRefreshRateCalculator.h29 AODRefreshRateCalculator(EventQueue* eventQueue) : mEventQueue(eventQueue) { in AODRefreshRateCalculator() argument
DVideoFrameRateCalculator.cpp27 VideoFrameRateCalculator::VideoFrameRateCalculator(EventQueue* eventQueue, in VideoFrameRateCalculator() argument
29 : mEventQueue(eventQueue), mParams(params) { in VideoFrameRateCalculator()
DPeriodRefreshRateCalculator.cpp26 EventQueue* eventQueue, const PeriodRefreshRateCalculatorParameters& params) in PeriodRefreshRateCalculator() argument
27 : mEventQueue(eventQueue), mParams(params) { in PeriodRefreshRateCalculator()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp165 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/google/graphics/common/libhwc2.1/libvrr/display/
DDisplayContextProviderFactory.h40 EventQueue* eventQueue) in DisplayContextProviderFactory() argument
43 mEventQueue(eventQueue) {} in DisplayContextProviderFactory()
/hardware/interfaces/sensors/2.1/default/
DSensorsV2_1.cpp75 auto eventQueue = std::make_unique<MessageQueue<V2_1::Event, kSynchronizedReadWrite>>( in initialize_2_1() local
78 std::make_unique<EventMessageQueueWrapperV2_1>(eventQueue); in initialize_2_1()
/hardware/interfaces/sensors/common/default/2.X/
DSensors.h101 auto eventQueue = in initialize() local
104 std::make_unique<V2_1::implementation::EventMessageQueueWrapperV1_0>(eventQueue); in initialize()
109 std::unique_ptr<V2_1::implementation::EventMessageQueueWrapperBase>& eventQueue, in initializeBase()
129 mEventQueue = std::move(eventQueue); in initializeBase()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h195 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/multihal/
DHalProxy.cpp177 auto eventQueue = in initialize_2_1() local
180 std::make_unique<EventMessageQueueWrapperV2_1>(eventQueue); in initialize_2_1()
199 auto eventQueue = in initialize() local
202 std::make_unique<EventMessageQueueWrapperV1_0>(eventQueue); in initialize()
214 std::unique_ptr<EventMessageQueueWrapperBase>& eventQueue, in initializeCommon() argument
236 mEventQueue = std::move(eventQueue); in initializeCommon()
/hardware/google/graphics/common/libhwc2.1/libvrr/Statistics/
DVariableRefreshRateStatistic.cpp22 CommonDisplayContextProvider* displayContextProvider, EventQueue* eventQueue, in VariableRefreshRateStatistic() argument
25 mEventQueue(eventQueue), in VariableRefreshRateStatistic()
DVariableRefreshRateStatistic.h156 EventQueue* eventQueue, int maxFrameRate, int maxTeFrequency,
/hardware/interfaces/sensors/aidl/default/multihal/
DHalProxyAidl.cpp176 eventQueue = in initialize() local
188 initializeCommon(eventQueue, wakeLockQueue, dynamicCallback)); in initialize()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxy.h102 Return<Result> initializeCommon(std::unique_ptr<EventMessageQueueWrapperBase>& eventQueue,