Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.cpp40 const std::string& indent, PredictionState predictionState, nsecs_t baseTime) { in dumpTable()
46 if (predictionState == PredictionState::Valid) { in dumpTable()
91 std::string toString(PredictionState predictionState) { in toString()
93 case PredictionState::Valid: in toString()
95 case PredictionState::Expired: in toString()
97 case PredictionState::None: in toString()
219 FrameTimelineEvent::PredictionType toProto(PredictionState predictionState) { in toProto()
221 case PredictionState::Valid: in toProto()
223 case PredictionState::Expired: in toProto()
225 case PredictionState::None: in toProto()
[all …]
DFrameTimeline.h128 enum class PredictionState { enum
163 PredictionState predictionState, TimelineItem&& predictions,
223 PredictionState getPredictionState() const;
250 const PredictionState mPredictionState;
404 void setPredictions(PredictionState predictionState, TimelineItem predictions);
449 PredictionState mPredictionState = PredictionState::None;
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTimelineTest.cpp226 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::None); in TEST_F()
240 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Expired); in TEST_F()
253 EXPECT_EQ(surfaceFrame->getPredictionState(), PredictionState::Valid); in TEST_F()