Searched refs:expectedPresent (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp49 nsecs_t expectedPresent, uint64_t maxFrameNumber) {
85 // If expectedPresent is specified, we may not want to return a buffer yet.
90 if (expectedPresent != 0 && !mCore->mQueue.empty()) {
93 // The 'expectedPresent' argument indicates when the buffer is expected
95 // earlier (less) than expectedPresent -- meaning it will be displayed
98 // expectedPresent time, we return PRESENT_LATER without acquiring it.
100 // To be safe, we don't defer acquisition if expectedPresent is more
130 if (desiredPresent < expectedPresent - MAX_REASONABLE_NSEC ||
131 desiredPresent > expectedPresent) {
137 desiredPresent, expectedPresent,
48 acquireBuffer(BufferItem* outBuffer, nsecs_t expectedPresent, uint64_t maxFrameNumber) argument
[all...]
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h44 // If expectedPresent is nonzero, it indicates the time when the buffer
50 nsecs_t expectedPresent, uint64_t maxFrameNumber = 0) override;
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1736 nsecs_t expectedPresent = local
1740 bool isPlausible = timestamp < (expectedPresent + s2ns(1));
1742 "relative to expectedPresent %" PRId64, mName.string(), timestamp,
1743 expectedPresent);
1745 bool isDue = timestamp < expectedPresent;

Completed in 71 milliseconds