Home
last modified time | relevance | path

Searched refs:JankType (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp102 if (jankType == JankType::None) { in jankTypeBitmaskToString()
107 if (jankType & JankType::DisplayHAL) { in jankTypeBitmaskToString()
109 jankType &= ~JankType::DisplayHAL; in jankTypeBitmaskToString()
111 if (jankType & JankType::SurfaceFlingerCpuDeadlineMissed) { in jankTypeBitmaskToString()
113 jankType &= ~JankType::SurfaceFlingerCpuDeadlineMissed; in jankTypeBitmaskToString()
115 if (jankType & JankType::SurfaceFlingerGpuDeadlineMissed) { in jankTypeBitmaskToString()
117 jankType &= ~JankType::SurfaceFlingerGpuDeadlineMissed; in jankTypeBitmaskToString()
119 if (jankType & JankType::AppDeadlineMissed) { in jankTypeBitmaskToString()
121 jankType &= ~JankType::AppDeadlineMissed; in jankTypeBitmaskToString()
123 if (jankType & JankType::PredictionError) { in jankTypeBitmaskToString()
[all …]
DFrameTimeline.h251 int32_t mJankType GUARDED_BY(mMutex) = JankType::None;
428 int32_t mJankType = JankType::None;
/frameworks/base/libs/hwui/
DJankTracker.cpp40 JankType type;
47 Comparison{JankType::kMissedVsync, [](nsecs_t) { return 1; }, FrameInfoIndex::IntendedVsync, in __anon909821eb0102()
50 Comparison{JankType::kSlowUI,
54 Comparison{JankType::kSlowSync,
58 Comparison{JankType::kSlowRT,
154 mData->reportJankType(JankType::kHighInputLatency); in calculateLegacyJank()
155 (*mGlobalData)->reportJankType(JankType::kHighInputLatency); in calculateLegacyJank()
160 mData->reportJankType(JankType::kMissedDeadlineLegacy); in calculateLegacyJank()
161 (*mGlobalData)->reportJankType(JankType::kMissedDeadlineLegacy); in calculateLegacyJank()
212 mData->reportJankType(JankType::kHighInputLatency); in finishFrame()
[all …]
DProfileData.h31 enum JankType { enum
65 void reportJankType(JankType type) { mJankTypeCounts[static_cast<int>(type)]++; } in reportJankType()
71 uint32_t jankTypeCount(JankType type) const { return mJankTypeCounts[static_cast<int>(type)]; } in jankTypeCount()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp461 EXPECT_EQ(displayFrame0->getJankType(), JankType::Unknown); in TEST_F()
463 EXPECT_EQ(surfaceFrame1->getJankType(), JankType::Unknown); in TEST_F()
493 JankType::SurfaceFlingerCpuDeadlineMissed, 2, 10, in TEST_F()
518 JankType::SurfaceFlingerGpuDeadlineMissed, 4, 10, in TEST_F()
544 JankType::DisplayHAL, -4, 0, 0})); in TEST_F()
560 EXPECT_EQ(surfaceFrame1->getJankType(), JankType::DisplayHAL); in TEST_F()
568 JankType::AppDeadlineMissed, -4, 0, in TEST_F()
586 EXPECT_EQ(surfaceFrame1->getJankType(), JankType::AppDeadlineMissed); in TEST_F()
594 JankType::SurfaceFlingerScheduling, in TEST_F()
612 EXPECT_EQ(surfaceFrame1->getJankType(), JankType::SurfaceFlingerScheduling); in TEST_F()
[all …]
DTimeStatsTest.cpp330 kGameMode, JankType::SurfaceFlingerCpuDeadlineMissed, 1, 2, in TEST_F()
333 kGameMode, JankType::SurfaceFlingerGpuDeadlineMissed, 1, 2, in TEST_F()
336 kGameMode, JankType::DisplayHAL, 1, 2, 3}); in TEST_F()
338 kGameMode, JankType::AppDeadlineMissed, 1, 2, 3}); in TEST_F()
340 kGameMode, JankType::SurfaceFlingerScheduling, 1, 2, 3}); in TEST_F()
342 kGameMode, JankType::PredictionError, 1, 2, 3}); in TEST_F()
345 JankType::AppDeadlineMissed | JankType::BufferStuffing, 1, 2, 3}); in TEST_F()
347 kGameMode, JankType::None, 1, 2, 3}); in TEST_F()
899 kGameMode, JankType::SurfaceFlingerCpuDeadlineMissed, 1, 2, in TEST_F()
902 kGameMode, JankType::SurfaceFlingerGpuDeadlineMissed, 1, 2, in TEST_F()
[all …]
DTransactionSurfaceFrameTest.cpp372 presentedSurfaceFrame->onPresent(20, JankType::None, 90_Hz, in PendingSurfaceFramesRemovedAfterClassification()
502 surfaceFrame->onPresent(20, JankType::None, 90_Hz, in MultipleCommitsBeforeLatch()
505 presentedBufferSurfaceFrame->onPresent(20, JankType::None, 90_Hz, in MultipleCommitsBeforeLatch()
/frameworks/native/libs/gui/include/gui/
DJankInfo.h22 enum JankType { enum
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp759 static const constexpr int32_t kValidJankyReason = JankType::DisplayHAL |
760 JankType::SurfaceFlingerCpuDeadlineMissed | JankType::SurfaceFlingerGpuDeadlineMissed |
761 JankType::AppDeadlineMissed | JankType::PredictionError |
762 JankType::SurfaceFlingerScheduling;
770 if ((reasons & JankType::SurfaceFlingerCpuDeadlineMissed) != 0) { in updateJankPayload()
773 if ((reasons & JankType::SurfaceFlingerGpuDeadlineMissed) != 0) { in updateJankPayload()
776 if ((reasons & JankType::DisplayHAL) != 0) { in updateJankPayload()
779 if ((reasons & JankType::AppDeadlineMissed) != 0) { in updateJankPayload()
782 if ((reasons & JankType::PredictionError) != 0) { in updateJankPayload()
785 if ((reasons & JankType::SurfaceFlingerScheduling) != 0) { in updateJankPayload()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DFrameTrackerTest.java47 import android.view.SurfaceControl.JankData.JankType;
598 @JankType int jankType, long vsyncId) { in sendFirstWindowFrame()
603 @JankType int jankType, long vsyncId) { in sendFrame()
610 private void sendFrame(FrameTracker tracker, @JankType int jankType, long vsyncId) { in sendFrame()
616 @JankType int jankType, long vsyncId, boolean firstWindowFrame) { in sendFrame()
636 private void sendSfFrame(FrameTracker tracker, long vsyncId, @JankType int jankType) { in sendSfFrame()
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java44 import android.view.SurfaceControl.JankData.JankType;
127 @JankType int jankType;
136 @JankType int jankType) { in createFromSurfaceControlCallback()
141 boolean surfaceControlCallbackFired, @JankType int jankType, in JankInfo()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp99 : frameVsyncId(FrameTimelineInfo::INVALID_VSYNC_ID), jankType(JankType::None) {} in JankData()
/frameworks/base/core/java/android/view/
DSurfaceControl.java385 public @interface JankType {} annotation in SurfaceControl.JankData
412 public JankData(long frameVsyncId, @JankType int jankType) { in JankData()
418 public final @JankType int jankType;