Searched refs:mTokenManager (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FrameTimelineTest.cpp | 89 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 …]
|
D | MessageQueueTest.cpp | 80 mEventQueue.initVsyncInternal(mVSyncDispatch, mTokenManager, kDuration)); in SetUp() 85 MockTokenManager mTokenManager; member 161 EXPECT_CALL(mTokenManager, in TEST_F()
|
D | EventThreadTest.cpp | 146 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()
|
D | TestableSurfaceFlinger.h | 243 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/ |
D | FrameTimeline.h | 477 frametimeline::TokenManager* getTokenManager() override { return &mTokenManager; } in getTokenManager() 515 TokenManager mTokenManager; variable
|
D | FrameTimeline.cpp | 878 mTokenManager.getPredictionsForToken(frameTimelineInfo.vsyncId); in createSurfaceFrameForToken() 915 mTokenManager.getPredictionsForToken(token), wakeUpTime); in setSfWakeUp()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.cpp | 285 mTokenManager(tokenManager), in EventThread() 637 if (mTokenManager != nullptr) { in generateToken() 638 return mTokenManager->generateTokenForPredictions( in generateToken()
|
D | EventThread.h | 224 frametimeline::TokenManager* const mTokenManager; variable
|