/frameworks/native/libs/gui/include/gui/test/ |
D | CallbackUtils.h | 37 : latchTime(time), presentFence(fence), surfaceControlStats(stats) {} in CallbackData() 39 nsecs_t latchTime; member 93 const auto& [latchTime, presentFence, surfaceControlStats] = callbackData; in verifyCallbackData() 95 ASSERT_GE(latchTime, 0) << "bad latch time"; in verifyCallbackData() 112 ASSERT_EQ(latchTime, -1) << "unpresented transactions shouldn't be latched"; in verifyCallbackData() 124 expectedSurfaceResult->second.verifySurfaceControlStats(stats, latchTime); in verifyCallbackData() 136 nsecs_t latchTime) const { in verifySurfaceControlStats() argument 145 ASSERT_LE(std::get<nsecs_t>(acquireTimeOrFence), latchTime) in verifySurfaceControlStats() 175 static void function(void* callbackContext, nsecs_t latchTime, const sp<Fence>& presentFence, in function() argument 182 helper->mCallbackDataQueue.emplace(latchTime, presentFence, stats); in function()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 206 int64_t latchTime; member 213 return aSurfaceTransactionStats->latchTime; in ASurfaceTransactionStats_getLatchTime() 291 nsecs_t latchTime, in ASurfaceTransaction_setOnComplete() 296 aSurfaceTransactionStats.latchTime = latchTime; in ASurfaceTransaction_setOnComplete() 302 for (const auto& [surfaceControl, latchTime, acquireTimeOrFence, presentFence, in ASurfaceTransaction_setOnComplete() 645 [func](void* callback_context, nsecs_t latchTime, const sp<Fence>& /* presentFence */, in ASurfaceTransaction_setOnCommit() 648 aSurfaceTransactionStats.latchTime = latchTime; in ASurfaceTransaction_setOnCommit() 652 for (const auto& [surfaceControl, latchTime, acquireTimeOrFence, presentFence, in ASurfaceTransaction_setOnCommit()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionFrameTracerTest.cpp | 131 nsecs_t latchTime = 25; in BLASTTransactionSendsFrameTracerEvents() local 136 traceTimestamp(layerId, bufferId, frameNumber, latchTime, in BLASTTransactionSendsFrameTracerEvents() 138 layer->updateTexImage(computeVisisbleRegions, latchTime, /*expectedPresentTime*/ 0); in BLASTTransactionSendsFrameTracerEvents()
|
/frameworks/native/libs/gui/ |
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 | BLASTBufferQueue.cpp | 100 nsecs_t latchTime, nsecs_t dequeueReadyTime) { in updateFrameTimestamps() argument 110 mFrameEventHistory.addLatch(frameNumber, latchTime); in updateFrameTimestamps() 265 static void transactionCommittedCallbackThunk(void* context, nsecs_t latchTime, in transactionCommittedCallbackThunk() argument 272 bq->transactionCommittedCallback(latchTime, presentFence, stats); in transactionCommittedCallbackThunk() 314 static void transactionCallbackThunk(void* context, nsecs_t latchTime, in transactionCallbackThunk() argument 321 bq->transactionCallback(latchTime, presentFence, stats); in transactionCallbackThunk() 342 if (stat.latchTime > 0) { in transactionCallback() 349 stat.latchTime, in transactionCallback()
|
D | ITransactionCompletedListener.cpp | 179 err = output->writeInt64(latchTime); in writeToParcel() 203 err = input->readInt64(&latchTime); in readFromParcel()
|
D | SurfaceComposerClient.cpp | 352 transactionStats.latchTime, surfaceStats.acquireTimeOrFence, in onTransactionCompleted() 359 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted() 378 transactionStats.latchTime, surfaceStats.acquireTimeOrFence, in onTransactionCompleted() 409 callbackFunction(transactionStats.latchTime, transactionStats.presentFence, in onTransactionCompleted() 438 entry.callback(entry.context, transactionStats.latchTime, in onTransactionCompleted()
|
D | Surface.cpp | 330 getFrameTimestamp(outLatchTime, events->latchTime); in getFrameTimestamps()
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCallbackInvoker.cpp | 128 transactionStats->latchTime = handle->latchTime; in addCallbackHandle() 204 if (transactionStats.latchTime >= 0 && in sendCallbacks()
|
D | BufferLayer.h | 89 bool latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime, 191 virtual status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime,
|
D | BufferStateLayer.cpp | 635 status_t BufferStateLayer::updateTexImage(bool& /*recomputeVisibleRegions*/, nsecs_t latchTime, in updateTexImage() argument 642 handle->latchTime = latchTime; in updateTexImage() 650 handle->latchTime = latchTime; in updateTexImage() 659 mFlinger->mTimeStats->setLatchTime(layerId, frameNumber, latchTime); in updateTexImage() 663 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, frameNumber, latchTime, in updateTexImage() 674 latchTime); in updateTexImage()
|
D | BufferQueueLayer.cpp | 170 status_t BufferQueueLayer::updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime, in updateTexImage() argument 277 mFlinger->mTimeStats->setLatchTime(layerId, currentFrameNumber, latchTime); in updateTexImage() 278 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferID, currentFrameNumber, latchTime, in updateTexImage() 284 latchTime); in updateTexImage()
|
D | TransactionCallbackInvoker.h | 50 nsecs_t latchTime = -1; variable
|
D | BufferQueueLayer.h | 101 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime,
|
D | BufferStateLayer.h | 121 status_t updateTexImage(bool& recomputeVisibleRegions, nsecs_t latchTime,
|
D | BufferLayer.cpp | 458 bool BufferLayer::latchBuffer(bool& recomputeVisibleRegions, nsecs_t latchTime, in latchBuffer() argument 482 status_t err = updateTexImage(recomputeVisibleRegions, latchTime, expectedPresentTime); in latchBuffer()
|
/frameworks/native/libs/gui/include/gui/ |
D | BLASTBufferQueue.h | 53 CompositorTiming compositorTiming, nsecs_t latchTime, 92 void transactionCommittedCallback(nsecs_t latchTime, const sp<Fence>& presentFence, 94 virtual void transactionCallback(nsecs_t latchTime, const sp<Fence>& presentFence,
|
D | FrameTimestamps.h | 88 nsecs_t latchTime{TIMESTAMP_PENDING}; 217 void addLatch(uint64_t frameNumber, nsecs_t latchTime);
|
D | ITransactionCompletedListener.h | 168 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 171 nsecs_t latchTime = -1; variable
|
D | SurfaceComposerClient.h | 65 SurfaceControlStats(const sp<SurfaceControl>& sc, nsecs_t latchTime, in SurfaceControlStats() 71 latchTime(latchTime), in SurfaceControlStats() 80 nsecs_t latchTime = -1; member
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 78 virtual void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) = 0; 195 nsecs_t latchTime = 0; member 262 void setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) override;
|
D | TimeStats.cpp | 511 const int32_t latchToPresentMs = msBetween(timeRecords[0].frameTime.latchTime, in flushAvailableRecordsToStatsLocked() 592 .latchTime = postTime, in setPostTime() 603 void TimeStats::setLatchTime(int32_t layerId, uint64_t frameNumber, nsecs_t latchTime) { in setLatchTime() argument 607 ALOGV("[%d]-[%" PRIu64 "]-LatchTime[%" PRId64 "]", layerId, frameNumber, latchTime); in setLatchTime() 617 timeRecord.frameTime.latchTime = latchTime; in setLatchTime()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 76 void transactionCallback(nsecs_t latchTime, const sp<Fence>& presentFence, in transactionCallback() argument 78 BLASTBufferQueue::transactionCallback(latchTime, presentFence, stats); in transactionCallback() 1621 ASSERT_GE(events->latchTime, postedTimeA); in TEST_F() 1622 ASSERT_GE(events->dequeueReadyTime, events->latchTime); in TEST_F() 1710 ASSERT_GE(events->latchTime, postedTimeB); in TEST_F() 1711 ASSERT_GE(events->dequeueReadyTime, events->latchTime); in TEST_F()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 463 std::chrono::nanoseconds latchTime( in dump() local 467 std::chrono::duration<double, std::milli>(latchTime).count()); in dump()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_platform_entries.cpp | 2308 nsecs_t* latchTime = nullptr; in eglGetFrameTimestampsANDROIDImpl() local 2325 latchTime = &values[i]; in eglGetFrameTimestampsANDROIDImpl() 2352 acquireTime, latchTime, firstRefreshStartTime, in eglGetFrameTimestampsANDROIDImpl()
|