Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp39 const std::string& indent, PredictionState predictionState, nsecs_t baseTime) { in dumpTable()
45 if (predictionState == PredictionState::Valid) { in dumpTable()
90 std::string toString(PredictionState predictionState) { in toString()
92 case PredictionState::Valid: in toString()
94 case PredictionState::Expired: in toString()
96 case PredictionState::None: in toString()
214 FrameTimelineEvent::PredictionType toProto(PredictionState predictionState) { in toProto()
216 case PredictionState::Valid: in toProto()
218 case PredictionState::Expired: in toProto()
220 case PredictionState::None: in toProto()
[all …]
DFrameTimeline.h120 enum class PredictionState { enum
155 PredictionState predictionState, TimelineItem&& predictions,
206 PredictionState getPredictionState() const;
233 const PredictionState mPredictionState;
374 void setPredictions(PredictionState predictionState, TimelineItem predictions);
416 PredictionState mPredictionState = PredictionState::None;
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp212 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::None); in TEST_F()
223 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Expired); in TEST_F()
233 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Valid); in TEST_F()