/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.h | 99 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;
|
D | BufferQueueLayer.h | 92 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) override; 95 status_t updateFrameNumber(nsecs_t latchTime) override;
|
D | TransactionCompletedThread.cpp | 199 transactionStats->latchTime = handle->latchTime; in addCallbackHandle() 251 if (transactionStats.latchTime >= 0) { in threadMain()
|
D | BufferStateLayer.cpp | 503 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()
|
D | BufferQueueLayer.cpp | 271 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()
|
D | BufferStateLayer.h | 132 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime) override; 135 status_t updateFrameNumber(nsecs_t latchTime) override;
|
D | TransactionCompletedThread.h | 57 nsecs_t latchTime = -1; variable
|
D | BufferLayer.cpp | 398 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()
|
D | SurfaceFlinger.cpp | 3228 nsecs_t latchTime = systemTime(); in handlePageFlip() local 3265 if (layer->latchBuffer(visibleRegions, latchTime)) { in handlePageFlip()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 52 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;
|
D | TimeStats.cpp | 205 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/ |
D | FrameTimestamps.cpp | 47 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()
|
D | ITransactionCompletedListener.cpp | 83 err = output->writeInt64(latchTime); in writeToParcel() 107 err = input->readInt64(&latchTime); in readFromParcel()
|
D | Surface.cpp | 308 getFrameTimestamp(outLatchTime, events->latchTime); in getFrameTimestamps()
|
D | SurfaceComposerClient.cpp | 227 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted()
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 65 nsecs_t latchTime = -1; variable
|
D | FrameTimestamps.h | 88 nsecs_t latchTime{TIMESTAMP_PENDING}; 214 void addLatch(uint64_t frameNumber, nsecs_t latchTime);
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 203 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/ |
D | Transaction_test.cpp | 3144 : 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/ |
D | egl_platform_entries.cpp | 2439 nsecs_t* latchTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local 2456 latchTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl() 2482 requestedPresentTime, acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()
|