/frameworks/native/libs/gui/ |
D | FrameTimelineInfo.cpp | 34 SAFE_PARCEL(output.writeInt64, vsyncId); in write() 41 SAFE_PARCEL(input.readInt64, &vsyncId); in read() 49 if (vsyncId != INVALID_VSYNC_ID && other.vsyncId != INVALID_VSYNC_ID) { in merge() 50 if (other.vsyncId > vsyncId) { in merge() 51 vsyncId = other.vsyncId; in merge() 55 } else if (vsyncId == INVALID_VSYNC_ID) { in merge() 56 vsyncId = other.vsyncId; in merge() 63 vsyncId = INVALID_VSYNC_ID; in clear()
|
D | VsyncEventData.cpp | 27 return frameTimelines[preferredFrameTimelineIndex].vsyncId; in preferredVsyncId() 51 SAFE_PARCEL(parcel->readInt64, &vsync.frameTimelines[i].vsyncId); in readFromParcel() 62 SAFE_PARCEL(parcel->writeInt64, vsync.frameTimelines[i].vsyncId); in writeToParcel()
|
/frameworks/base/libs/hwui/renderthread/ |
D | TimeLord.cpp | 31 bool TimeLord::vsyncReceived(nsecs_t vsync, nsecs_t intendedVsync, int64_t vsyncId, in vsyncReceived() argument 39 mFrameVsyncId = (vsyncId > mFrameVsyncId) ? vsyncId : UiFrameInfoBuilder::INVALID_VSYNC_ID; in vsyncReceived()
|
D | DrawFrameTask.cpp | 143 const int64_t vsyncId = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameTimelineVsyncId)]; in run() local 144 ATRACE_FORMAT("DrawFrames %" PRId64, vsyncId); in run() 237 int64_t vsyncId = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameTimelineVsyncId)]; in syncFrameState() local 240 mRenderThread->timeLord().vsyncReceived(vsync, intendedVsync, vsyncId, frameDeadline, in syncFrameState()
|
D | RenderThread.cpp | 120 AVsyncId vsyncId = AChoreographerFrameCallbackData_getFrameTimelineVsyncId( in extendedFrameCallback() local 127 rt->frameCallback(vsyncId, frameDeadline, frameTimeNanos, frameInterval); in extendedFrameCallback() 130 void RenderThread::frameCallback(int64_t vsyncId, int64_t frameDeadline, int64_t frameTimeNanos, in frameCallback() argument 133 if (timeLord().vsyncReceived(frameTimeNanos, frameTimeNanos, vsyncId, frameDeadline, in frameCallback()
|
D | TimeLord.h | 35 bool vsyncReceived(nsecs_t vsync, nsecs_t indendedVsync, int64_t vsyncId,
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 147 FrameTimeline(long vsyncId, long expectedPresentTime, long deadline) { in FrameTimeline() argument 148 this.vsyncId = vsyncId; in FrameTimeline() 155 public final long vsyncId; field in DisplayEventReceiver.VsyncEventData.FrameTimeline
|
D | Choreographer.java | 717 return mLastVsyncEventData.preferredFrameTimeline().vsyncId; in getVsyncId() 749 "Choreographer#doFrame " + vsyncEventData.preferredFrameTimeline().vsyncId); in doFrame() 812 vsyncEventData.preferredFrameTimeline().vsyncId, in doFrame() 1004 FrameTimeline(long vsyncId, long expectedPresentTimeNanos, long deadlineNanos) { in FrameTimeline() argument 1005 this.mVsyncId = vsyncId; in FrameTimeline() 1061 frameTimelines[i] = new FrameTimeline(frameTimeline.vsyncId, in FrameData() 1109 frameTimelines[i] = new FrameTimeline(frameTimeline.vsyncId, in convertFrameTimelines() 1178 + vsyncEventData.preferredFrameTimeline().vsyncId); in onVsync()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 598 @JankType int jankType, long vsyncId) { in sendFirstWindowFrame() argument 599 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ true); in sendFirstWindowFrame() 603 @JankType int jankType, long vsyncId) { in sendFrame() argument 604 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ false); in sendFrame() 610 private void sendFrame(FrameTracker tracker, @JankType int jankType, long vsyncId) { in sendFrame() argument 612 jankType, vsyncId, /* firstWindowFrame= */ false); in sendFrame() 616 @JankType int jankType, long vsyncId, boolean firstWindowFrame) { in sendFrame() argument 618 sendHwuiFrame(tracker, durationMillis, vsyncId, firstWindowFrame); in sendFrame() 620 sendSfFrame(tracker, vsyncId, jankType); in sendFrame() 623 private void sendHwuiFrame(FrameTracker tracker, long durationMillis, long vsyncId, in sendHwuiFrame() argument [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTracingTest.cpp | 34 void flush(int64_t vsyncId) { mTracing.flush(vsyncId); } in flush() argument 44 void queueAndCommitTransaction(int64_t vsyncId) { in queueAndCommitTransaction() argument 46 transaction.id = static_cast<uint64_t>(vsyncId * 3); in queueAndCommitTransaction() 52 mTracing.addCommittedTransactions(transactions, vsyncId); in queueAndCommitTransaction() 53 flush(vsyncId); in queueAndCommitTransaction()
|
D | TransactionProtoParserTest.cpp | 35 t1.frameTimelineInfo.vsyncId = 3; in TEST() 102 ASSERT_EQ(t1.frameTimelineInfo.vsyncId, t2.frameTimelineInfo.vsyncId); in TEST()
|
D | MessageQueueTest.cpp | 138 const auto vsyncId = 42; in TEST_F() local 142 .WillOnce(Return(vsyncId)); in TEST_F() 143 EXPECT_CALL(*mEventQueue.mHandler, dispatchFrame(vsyncId, presentTime)).Times(1); in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.cpp | 33 void MessageQueue::Handler::dispatchFrame(int64_t vsyncId, nsecs_t expectedVsyncTime) { in dispatchFrame() argument 35 mVsyncId = vsyncId; in dispatchFrame() 111 const auto vsyncId = mVsync.tokenManager->generateTokenForPredictions( in vsyncCallback() local 114 mHandler->dispatchFrame(vsyncId, vsyncTime); in vsyncCallback()
|
D | MessageQueue.h | 37 virtual bool commit(nsecs_t frameTime, int64_t vsyncId, nsecs_t expectedVsyncTime) = 0; 38 virtual void composite(nsecs_t frameTime, int64_t vsyncId) = 0; 96 virtual void dispatchFrame(int64_t vsyncId, nsecs_t expectedVsyncTime);
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionTracing.h | 58 void addCommittedTransactions(std::vector<TransactionState>& transactions, int64_t vsyncId); 103 int64_t vsyncId; member 123 void flush(int64_t vsyncId) EXCLUDES(mMainThreadLock);
|
D | TransactionTracing.cpp | 156 int64_t vsyncId) { in addCommittedTransactions() argument 158 committedTransactions.vsyncId = vsyncId; in addCommittedTransactions() 237 entryProto.set_vsync_id(entry.vsyncId); in addEntry() 284 void TransactionTracing::flush(int64_t vsyncId) { in flush() argument 295 return mBuffer.used() > 0 && entry.vsync_id() >= vsyncId; in flush()
|
/frameworks/native/libs/gui/tests/ |
D | VsyncEventData_test.cpp | 49 ASSERT_EQ(data.vsync.frameTimelines[i].vsyncId, data2.vsync.frameTimelines[i].vsyncId); in TEST()
|
D | DisplayEventStructLayout_test.cpp | 39 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelines[0].vsyncId, 24); in TEST() 49 vsyncData.frameTimelines[VsyncEventData::kFrameTimelinesLength - 1].vsyncId, in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | UnfoldLightRevealOverlayAnimation.kt | 191 val vsyncId = Choreographer.getSfInstance().vsyncId in <lambda>() constant 199 transaction.setFrameTimelineVsync(vsyncId).apply() in <lambda>() 202 .setFrameTimelineVsync(vsyncId + 1) in <lambda>()
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimelineInfo.h | 30 int64_t vsyncId = INVALID_VSYNC_ID; member
|
D | VsyncEventData.h | 40 int64_t vsyncId; member
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimator.java | 105 final long vsyncId = mChoreographer.getVsyncId(); in WindowAnimator() 106 animate(frameTimeNs, vsyncId); in WindowAnimator() 128 private void animate(long frameTimeNs, long vsyncId) { in animate() argument
|
/frameworks/base/libs/hwui/ |
D | FrameInfo.h | 97 int64_t vsyncId, int64_t frameDeadline, nsecs_t frameInterval) { in setVsync() argument 98 set(FrameInfoIndex::FrameTimelineVsyncId) = vsyncId; in setVsync()
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | LayerTraceGenerator.cpp | 215 int64_t vsyncId; in generate() local 273 vsyncId = entry.vsync_id(); in generate() 274 mFlinger.commit(frameTime, vsyncId); in generate()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | DisplayEventReceiver_test.cpp | 39 EXPECT_NE(FrameTimelineInfo::INVALID_VSYNC_ID, vsyncEventData.frameTimelines[i].vsyncId); in TEST_F()
|