Home
last modified time | relevance | path

Searched refs:mPriorityQueue (Results 1 – 7 of 7) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/
DEventQueue.h35 mPriorityQueue.emplace(event); in postEvent()
42 mPriorityQueue.emplace(event); in postEvent()
45 void dropEvent() { mPriorityQueue = std::priority_queue<VrrControllerEvent>(); } in dropEvent()
49 while (!mPriorityQueue.empty()) { in dropEvent()
50 const auto& it = mPriorityQueue.top(); in dropEvent()
54 mPriorityQueue.pop(); in dropEvent()
56 mPriorityQueue = std::move(q); in dropEvent()
62 while (!mPriorityQueue.empty()) { in getNumberOfEvents()
63 const auto& it = mPriorityQueue.top(); in getNumberOfEvents()
68 mPriorityQueue.pop(); in getNumberOfEvents()
[all …]
DVariableRefreshRateController.cpp236 mEventQueue.mPriorityQueue = std::priority_queue<VrrControllerEvent>(); in reset()
384 if (!mEventQueue.mPriorityQueue.empty()) { in postSetPowerMode()
764 mEventQueue.mPriorityQueue = std::priority_queue<VrrControllerEvent>(); in dropEventLocked()
770 while (!mEventQueue.mPriorityQueue.empty()) { in dropEventLocked()
771 const auto& it = mEventQueue.mPriorityQueue.top(); in dropEventLocked()
775 mEventQueue.mPriorityQueue.pop(); in dropEventLocked()
777 mEventQueue.mPriorityQueue = std::move(q); in dropEventLocked()
782 if (mEventQueue.mPriorityQueue.empty()) { in dumpEventQueueLocked()
787 while (!mEventQueue.mPriorityQueue.empty()) { in dumpEventQueueLocked()
788 const auto& it = mEventQueue.mPriorityQueue.top(); in dumpEventQueueLocked()
[all …]
/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DInstantRefreshRateCalculator.cpp64 mEventQueue->mPriorityQueue.emplace(mTimeoutEvent); in onPresentInternal()
77 mEventQueue->mPriorityQueue.emplace(mTimeoutEvent); in setEnabled()
DAODRefreshRateCalculator.h51 mEventQueue->mPriorityQueue.emplace(mResetRefreshRateEvent); in onPresentInternal()
112 mEventQueue->mPriorityQueue.emplace(mResetRefreshRateEvent); in changeRefreshRateDisplayState()
DPeriodRefreshRateCalculator.cpp85 mEventQueue->mPriorityQueue.emplace(mMeasureEvent); in setEnabled()
127 mEventQueue->mPriorityQueue.emplace(mMeasureEvent); in onMeasure()
DExitIdleRefreshRateCalculator.cpp62 mEventQueue->mPriorityQueue.emplace(mTimeoutEvent); in onPresentInternal()
/hardware/google/graphics/common/libhwc2.1/libvrr/Statistics/
DVariableRefreshRateStatistic.cpp45 mEventQueue->mPriorityQueue.emplace(mUpdateEvent); in VariableRefreshRateStatistic()
277 mEventQueue->mPriorityQueue.emplace(mUpdateEvent); in updateStatistic()