/frameworks/native/services/surfaceflinger/tests/utils/ |
D | CallbackUtils.h | 33 : latchTime(time), presentFence(fence), surfaceControlStats(stats) {} in CallbackData() 35 nsecs_t latchTime; member 85 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData() 87 ASSERT_GE(latchTime, 0) << "bad latch time"; in verifyCallbackData() 99 ASSERT_EQ(latchTime, -1) << "unpresented transactions shouldn't be latched"; in verifyCallbackData() 111 expectedSurfaceResult->second.verifySurfaceControlStats(stats, latchTime); in verifyCallbackData() 123 nsecs_t latchTime) const { in verifySurfaceControlStats() argument 131 ASSERT_LE(acquireTime, latchTime) << "acquire time should be <= latch time"; in verifySurfaceControlStats() 159 static void function(void* callbackContext, nsecs_t latchTime, const sp<Fence>& presentFence, in function() argument 166 helper->mCallbackDataQueue.emplace(latchTime, presentFence, stats); in function()
|
/frameworks/native/libs/gui/ |
D | BLASTBufferQueue.cpp | 69 nsecs_t latchTime, nsecs_t dequeueReadyTime) { in updateFrameTimestamps() argument 79 mFrameEventHistory.addLatch(frameNumber, latchTime); in updateFrameTimestamps() 141 static void transactionCallbackThunk(void* context, nsecs_t latchTime, in transactionCallbackThunk() argument 148 bq->transactionCallback(latchTime, presentFence, stats); in transactionCallbackThunk() 165 stats[0].latchTime, in transactionCallback()
|
D | FrameTimestamps.cpp | 48 return FrameEvents::isValidTimestamp(latchTime); in hasLatchInfo() 116 if (FrameEvents::isValidTimestamp(latchTime)) { in dump() 117 StringAppendF(&outString, "%" PRId64 "\n", latchTime); in dump() 290 frame.latchTime = d.mLatchTime; in applyDelta() 396 uint64_t frameNumber, nsecs_t latchTime) { in addLatch() argument 402 frame->latchTime = latchTime; in addLatch() 507 mLatchTime(frameTimestamps.latchTime), in FrameEventsDelta()
|
D | ITransactionCompletedListener.cpp | 155 err = output->writeInt64(latchTime); in writeToParcel() 179 err = input->readInt64(&latchTime); in readFromParcel()
|
D | SurfaceComposerClient.cpp | 225 transactionStats.latchTime, surfaceStats.acquireTime, in onTransactionCompleted() 236 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted()
|
D | Surface.cpp | 323 getFrameTimestamp(outLatchTime, events->latchTime); in getFrameTimestamps()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.h | 90 bool latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime, 145 virtual status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime, 149 virtual status_t updateFrameNumber(nsecs_t latchTime) = 0;
|
D | BufferStateLayer.cpp | 522 status_t BufferStateLayer::updateTexImage(bool& /*recomputeVisibleRegions*/, nsecs_t latchTime, in updateTexImage() argument 529 handle->latchTime = latchTime; in updateTexImage() 562 handle->latchTime = latchTime; in updateTexImage() 582 mFlinger->mTimeStats->setLatchTime(layerId, mDrawingState.frameNumber, latchTime); in updateTexImage() 603 status_t BufferStateLayer::updateFrameNumber(nsecs_t latchTime) { in updateFrameNumber() argument 609 mFrameEventHistory.addLatch(mCurrentFrameNumber, latchTime); in updateFrameNumber()
|
D | BufferQueueLayer.h | 78 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime, 82 status_t updateFrameNumber(nsecs_t latchTime) override;
|
D | TransactionCompletedThread.cpp | 237 transactionStats->latchTime = handle->latchTime; in addCallbackHandle() 301 if (transactionStats.latchTime >= 0) { in threadMain()
|
D | BufferQueueLayer.cpp | 236 status_t BufferQueueLayer::updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime, in updateTexImage() argument 330 mFlinger->mTimeStats->setLatchTime(layerId, currentFrameNumber, latchTime); in updateTexImage() 331 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferID, currentFrameNumber, latchTime, in updateTexImage() 359 status_t BufferQueueLayer::updateFrameNumber(nsecs_t latchTime) { in updateFrameNumber() argument 365 mFrameEventHistory.addLatch(mCurrentFrameNumber, latchTime); in updateFrameNumber()
|
D | BufferStateLayer.h | 133 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime, 137 status_t updateFrameNumber(nsecs_t latchTime) override;
|
D | TransactionCompletedThread.h | 46 nsecs_t latchTime = -1; variable
|
D | BufferLayer.cpp | 392 bool BufferLayer::latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime, in latchBuffer() argument 434 status_t err = updateTexImage(recomputeVisibleRegions, latchTime, expectedPresentTime); in latchBuffer() 444 err = updateFrameNumber(latchTime); in latchBuffer()
|
D | SurfaceFlinger.cpp | 3085 nsecs_t latchTime = systemTime(); in handlePageFlip() local 3130 if (layer->latchBuffer(visibleRegions, latchTime, expectedPresentTime)) { in handlePageFlip()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 207 int64_t latchTime; member 213 return aSurfaceTransactionStats->latchTime; in ASurfaceTransactionStats_getLatchTime() 287 nsecs_t latchTime, in ASurfaceTransaction_setOnComplete() 292 aSurfaceTransactionStats.latchTime = latchTime; in ASurfaceTransaction_setOnComplete() 297 …for (const auto& [surfaceControl, latchTime, acquireTime, presentFence, previousReleaseFence, tran… in ASurfaceTransaction_setOnComplete()
|
/frameworks/native/libs/gui/include/gui/ |
D | BLASTBufferQueue.h | 51 CompositorTiming compositorTiming, nsecs_t latchTime, 80 void transactionCallback(nsecs_t latchTime, const sp<Fence>& presentFence,
|
D | ITransactionCompletedListener.h | 92 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 95 nsecs_t latchTime = -1; variable
|
D | SurfaceComposerClient.h | 55 SurfaceControlStats(const sp<SurfaceControl>& sc, nsecs_t latchTime, nsecs_t acquireTime, in SurfaceControlStats() 59 latchTime(latchTime), in SurfaceControlStats() 67 nsecs_t latchTime = -1; member
|
D | FrameTimestamps.h | 88 nsecs_t latchTime{TIMESTAMP_PENDING}; 216 void addLatch(uint64_t frameNumber, nsecs_t latchTime);
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 89 virtual void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) = 0; 131 nsecs_t latchTime = 0; member 246 void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) override;
|
D | TimeStats.cpp | 432 const int32_t latchToPresentMs = msBetween(timeRecords[0].frameTime.latchTime, in flushAvailableRecordsToStatsLocked() 497 .latchTime = postTime, in setPostTime() 508 void TimeStats::setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) { in setLatchTime() argument 512 ALOGV("[%d]-[%" PRIu64 "]-LatchTime[%" PRId64 "]", layerId, frameNumber, latchTime); in setLatchTime() 522 timeRecord.frameTime.latchTime = latchTime; in setLatchTime()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 713 ASSERT_GE(events->latchTime, postedTimeA); in TEST_F() 714 ASSERT_GE(events->dequeueReadyTime, events->latchTime); in TEST_F()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_platform_entries.cpp | 2455 nsecs_t* latchTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local 2472 latchTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl() 2498 requestedPresentTime, acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()
|