Home
last modified time | relevance | path

Searched refs:latchTime (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/services/surfaceflinger/
DBufferLayer.h99 bool latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime) override;
145 virtual status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) = 0;
148 virtual status_t updateFrameNumber(nsecs_t latchTime) = 0;
DBufferQueueLayer.h92 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) override;
95 status_t updateFrameNumber(nsecs_t latchTime) override;
DTransactionCompletedThread.cpp199 transactionStats->latchTime = handle->latchTime; in addCallbackHandle()
251 if (transactionStats.latchTime >= 0) { in threadMain()
DBufferStateLayer.cpp503 status_t BufferStateLayer::updateTexImage(bool& /*recomputeVisibleRegions*/, nsecs_t latchTime) { in updateTexImage() argument
509 handle->latchTime = latchTime; in updateTexImage()
542 handle->latchTime = latchTime; in updateTexImage()
560 mFlinger->mTimeStats->setLatchTime(layerID, getFrameNumber(), latchTime); in updateTexImage()
DBufferQueueLayer.cpp271 status_t BufferQueueLayer::updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) { in updateTexImage() argument
361 mFlinger->mTimeStats->setLatchTime(layerID, currentFrameNumber, latchTime); in updateTexImage()
389 status_t BufferQueueLayer::updateFrameNumber(nsecs_t latchTime) { in updateFrameNumber() argument
395 mFrameEventHistory.addLatch(mCurrentFrameNumber, latchTime); in updateFrameNumber()
DBufferStateLayer.h132 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) override;
135 status_t updateFrameNumber(nsecs_t latchTime) override;
DTransactionCompletedThread.h57 nsecs_t latchTime = -1; variable
DBufferLayer.cpp398 bool BufferLayer::latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime) { in latchBuffer() argument
438 status_t err = updateTexImage(recomputeVisibleRegions, latchTime); in latchBuffer()
450 err = updateFrameNumber(latchTime); in latchBuffer()
DSurfaceFlinger.cpp3228 nsecs_t latchTime = systemTime(); in handlePageFlip() local
3265 if (layer->latchBuffer(visibleRegions, latchTime)) { in handlePageFlip()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h52 virtual void setLatchTime(int32_t layerID, uint64_t frameNumber, nsecs_t latchTime) = 0;
77 nsecs_t latchTime = 0; member
124 void setLatchTime(int32_t layerID, uint64_t frameNumber, nsecs_t latchTime) override;
DTimeStats.cpp205 const int32_t latchToPresentMs = msBetween(timeRecords[0].frameTime.latchTime, in flushAvailableRecordsToStatsLocked()
229 timeRecords[0].frameTime.latchTime); in flushAvailableRecordsToStatsLocked()
285 .latchTime = postTime, in setPostTime()
296 void TimeStats::setLatchTime(int32_t layerID, uint64_t frameNumber, nsecs_t latchTime) { in setLatchTime() argument
300 ALOGV("[%d]-[%" PRIu64 "]-LatchTime[%" PRId64 "]", layerID, frameNumber, latchTime); in setLatchTime()
310 timeRecord.frameTime.latchTime = latchTime; in setLatchTime()
/frameworks/native/libs/gui/
DFrameTimestamps.cpp47 return FrameEvents::isValidTimestamp(latchTime); in hasLatchInfo()
115 if (FrameEvents::isValidTimestamp(latchTime)) { in dump()
116 StringAppendF(&outString, "%" PRId64 "\n", latchTime); in dump()
284 frame.latchTime = d.mLatchTime; in applyDelta()
383 uint64_t frameNumber, nsecs_t latchTime) { in addLatch() argument
389 frame->latchTime = latchTime; in addLatch()
495 mLatchTime(frameTimestamps.latchTime), in FrameEventsDelta()
DITransactionCompletedListener.cpp83 err = output->writeInt64(latchTime); in writeToParcel()
107 err = input->readInt64(&latchTime); in readFromParcel()
DSurface.cpp308 getFrameTimestamp(outLatchTime, events->latchTime); in getFrameTimestamps()
DSurfaceComposerClient.cpp227 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted()
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats()
65 nsecs_t latchTime = -1; variable
DFrameTimestamps.h88 nsecs_t latchTime{TIMESTAMP_PENDING};
214 void addLatch(uint64_t frameNumber, nsecs_t latchTime);
/frameworks/base/native/android/
Dsurface_control.cpp203 int64_t latchTime; member
209 return aSurfaceTransactionStats->latchTime; in ASurfaceTransactionStats_getLatchTime()
283 nsecs_t latchTime, in ASurfaceTransaction_setOnComplete()
288 aSurfaceTransactionStats.latchTime = latchTime; in ASurfaceTransaction_setOnComplete()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp3144 : latchTime(time), presentFence(fence), surfaceControlStats(stats) {} in CallbackData()
3146 nsecs_t latchTime; member
3196 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData()
3198 ASSERT_GE(latchTime, 0) << "bad latch time"; in verifyCallbackData()
3210 ASSERT_EQ(latchTime, -1) << "unpresented transactions shouldn't be latched"; in verifyCallbackData()
3222 expectedSurfaceResult->second.verifySurfaceControlStats(stats, latchTime); in verifyCallbackData()
3234 nsecs_t latchTime) const { in verifySurfaceControlStats()
3239 ASSERT_LE(acquireTime, latchTime) << "acquire time should be <= latch time"; in verifySurfaceControlStats()
3267 static void function(void* callbackContext, nsecs_t latchTime, const sp<Fence>& presentFence, in function() argument
3274 helper->mCallbackDataQueue.emplace(latchTime, presentFence, stats); in function()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp2439 nsecs_t* latchTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local
2456 latchTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl()
2482 requestedPresentTime, acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()