Lines Matching refs:expectedPresentTime
101 bool BufferQueueLayer::shouldPresentNow(nsecs_t expectedPresentTime) const { in shouldPresentNow()
115 const bool isPlausible = addedTime < (expectedPresentTime + s2ns(1)); in shouldPresentNow()
119 getDebugName(), addedTime, expectedPresentTime); in shouldPresentNow()
125 const bool isDue = addedTime < expectedPresentTime; in shouldPresentNow()
160 bool BufferQueueLayer::framePresentTimeIsCurrent(nsecs_t expectedPresentTime) const { in framePresentTimeIsCurrent()
166 return mQueueItems[0].mTimestamp <= expectedPresentTime; in framePresentTimeIsCurrent()
169 uint64_t BufferQueueLayer::getFrameNumber(nsecs_t expectedPresentTime) const { in getFrameNumber()
175 expectedPresentTime = 0; in getFrameNumber()
191 if (desiredPresent < expectedPresentTime - BufferQueueConsumer::MAX_REASONABLE_NSEC || in getFrameNumber()
192 desiredPresent > expectedPresentTime) { in getFrameNumber()
237 nsecs_t expectedPresentTime) { in updateTexImage() argument
249 expectedPresentTime = 0; in updateTexImage()
271 status_t updateResult = mConsumer->updateTexImage(&r, expectedPresentTime, &mAutoRefresh, in updateTexImage()