Home
last modified time | relevance | path

Searched refs:mTokenManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp89 mTokenManager = &mFrameTimeline->mTokenManager; in SetUp()
92 maxTokens = mTokenManager->kMaxTokens; in SetUp()
140 mTokenManager->generateTokenForPredictions({}); in flushTokens()
162 return mTokenManager->mPredictions; in getPredictions()
180 impl::TokenManager* mTokenManager; member in android::frametimeline::FrameTimelineTest
195 int64_t token1 = mTokenManager->generateTokenForPredictions({0, 0, 0}); in TEST_F()
198 int64_t token2 = mTokenManager->generateTokenForPredictions({10, 20, 30}); in TEST_F()
199 std::optional<TimelineItem> predictions = mTokenManager->getPredictionsForToken(token1); in TEST_F()
204 predictions = mTokenManager->getPredictionsForToken(token2); in TEST_F()
230 int64_t token1 = mTokenManager->generateTokenForPredictions({0, 0, 0}); in TEST_F()
[all …]
DMessageQueueTest.cpp80 mEventQueue.initVsyncInternal(mVSyncDispatch, mTokenManager, kDuration)); in SetUp()
85 MockTokenManager mTokenManager; member
161 EXPECT_CALL(mTokenManager, in TEST_F()
DEventThreadTest.cpp146 std::unique_ptr<frametimeline::impl::TokenManager> mTokenManager; member in android::EventThreadTest
203 mTokenManager = std::make_unique<frametimeline::impl::TokenManager>(); in setupEventThread()
205 mTokenManager.get(), *this, kWorkDuration, in setupEventThread()
291 auto prediction = mTokenManager->getPredictionsForToken( in expectVsyncEventFrameTimelinesCorrect()
506 mTokenManager->getPredictionsForToken(vsyncEventData.frameTimelines[i].vsyncId); in TEST_F()
DTestableSurfaceFlinger.h243 mTokenManager = std::make_unique<frametimeline::impl::TokenManager>();
265 mScheduler->initVsync(*mTokenManager, 0ms);
1163 std::unique_ptr<frametimeline::impl::TokenManager> mTokenManager; variable
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h477 frametimeline::TokenManager* getTokenManager() override { return &mTokenManager; } in getTokenManager()
515 TokenManager mTokenManager; variable
DFrameTimeline.cpp878 mTokenManager.getPredictionsForToken(frameTimelineInfo.vsyncId); in createSurfaceFrameForToken()
915 mTokenManager.getPredictionsForToken(token), wakeUpTime); in setSfWakeUp()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp285 mTokenManager(tokenManager), in EventThread()
637 if (mTokenManager != nullptr) { in generateToken()
638 return mTokenManager->generateTokenForPredictions( in generateToken()
DEventThread.h224 frametimeline::TokenManager* const mTokenManager; variable