Lines Matching refs:TimelineItem
86 struct TimelineItem { struct
87 TimelineItem(const nsecs_t startTime = 0, const nsecs_t endTime = 0,
95 bool operator==(const TimelineItem& other) const { argument
100 bool operator!=(const TimelineItem& other) const { return !(*this == other); }
122 virtual int64_t generateTokenForPredictions(TimelineItem&& prediction) = 0;
125 virtual std::optional<TimelineItem> getPredictionsForToken(int64_t token) const = 0;
163 PredictionState predictionState, TimelineItem&& predictions,
178 TimelineItem getPredictions() const { return mPredictions; }; in getPredictions()
220 TimelineItem getActuals() const;
251 const TimelineItem mPredictions;
252 TimelineItem mActuals GUARDED_BY(mMutex);
352 int64_t generateTokenForPredictions(TimelineItem&& predictions) override;
353 std::optional<TimelineItem> getPredictionsForToken(int64_t token) const override;
361 std::map<int64_t, TimelineItem> mPredictions GUARDED_BY(mMutex);
396 std::optional<TimelineItem> predictions, nsecs_t wakeUpTime);
404 void setPredictions(PredictionState predictionState, TimelineItem predictions);
414 TimelineItem getActuals() const { return mSurfaceFlingerActuals; }; in getActuals()
415 TimelineItem getPredictions() const { return mSurfaceFlingerPredictions; }; in getPredictions()
441 TimelineItem mSurfaceFlingerPredictions;
442 TimelineItem mSurfaceFlingerActuals;