Home
last modified time | relevance | path

Searched refs:mPendingJankClassifications (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionSurfaceFrameTest.cpp324 EXPECT_EQ(2u, layer->mPendingJankClassifications.size()); in PendingSurfaceFramesRemovedAfterClassification()
329 EXPECT_EQ(0u, layer->mPendingJankClassifications.size()); in PendingSurfaceFramesRemovedAfterClassification()
427 layer->mPendingJankClassifications.size()); in MultipleCommitsBeforeLatch()
445 ASSERT_EQ(surfaceFramesPendingClassification, layer->mPendingJankClassifications.size()); in MultipleCommitsBeforeLatch()
450 auto& bufferSurfaceFrame = layer->mPendingJankClassifications[i]; in MultipleCommitsBeforeLatch()
451 auto& bufferlessSurfaceFrame = layer->mPendingJankClassifications[i + 1]; in MultipleCommitsBeforeLatch()
456 auto& bufferSurfaceFrame = layer->mPendingJankClassifications[8u]; in MultipleCommitsBeforeLatch()
457 auto& bufferlessSurfaceFrame = layer->mPendingJankClassifications[9u]; in MultipleCommitsBeforeLatch()
465 EXPECT_EQ(0u, layer->mPendingJankClassifications.size()); in MultipleCommitsBeforeLatch()
/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp181 while (mPendingJankClassifications.size() >= kPendingClassificationMaxSurfaceFrames) { in onSurfaceFrameCreated()
187 std::string miniDump = mPendingJankClassifications.front()->miniDump(); in onSurfaceFrameCreated()
189 mPendingJankClassifications.pop_front(); in onSurfaceFrameCreated()
191 mPendingJankClassifications.emplace_back(surfaceFrame); in onSurfaceFrameCreated()
216 jankData.reserve(mPendingJankClassifications.size()); in releasePendingBuffer()
217 while (!mPendingJankClassifications.empty() in releasePendingBuffer()
218 && mPendingJankClassifications.front()->getJankType()) { in releasePendingBuffer()
220 mPendingJankClassifications.front(); in releasePendingBuffer()
221 mPendingJankClassifications.pop_front(); in releasePendingBuffer()
DBufferStateLayer.h155 std::deque<std::shared_ptr<android::frametimeline::SurfaceFrame>> mPendingJankClassifications; variable