/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | FrameTargeterTest.cpp | 61 Frame(FrameTargeterTestBase* testPtr, VsyncId vsyncId, TimePoint& frameBeginTime, in Frame() 70 .vsyncId = vsyncId, in Frame() 136 VsyncId vsyncId{42}; in TEST_F() local 139 const Frame frame(this, vsyncId++, frameBeginTime, 10ms, 60_Hz, 60_Hz); in TEST_F() 141 EXPECT_EQ(target().vsyncId(), VsyncId{42}); in TEST_F() 148 const Frame frame(this, vsyncId++, frameBeginTime, 11ms, 60_Hz, 60_Hz); in TEST_F() 150 EXPECT_EQ(target().vsyncId(), VsyncId{43}); in TEST_F() 173 VsyncId vsyncId{111}; in TEST_F() local 180 Frame frame(this, vsyncId++, frameBeginTime, kFrameDuration, kRefreshRate, kRefreshRate); in TEST_F() 190 VsyncId vsyncId{222}; in TEST_F() local [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | WindowInfosListenerInvoker.cpp | 76 for (auto& [vsyncId, state] : mUnackedState) { in eraseListenerAndAckMessages() 79 vsyncIds.push_back(vsyncId); in eraseListenerAndAckMessages() 83 for (int64_t vsyncId : vsyncIds) { in eraseListenerAndAckMessages() local 84 ackWindowInfosReceived(vsyncId, listenerId); in eraseListenerAndAckMessages() 93 .vsyncId = update.vsyncId, in windowInfosChanged() 124 auto [it, _] = mUnackedState.try_emplace(update.vsyncId, in windowInfosChanged() 141 ackWindowInfosReceived(update.vsyncId, listenerId); in windowInfosChanged() 165 mDebugInfo.maxSendDelayVsyncId = VsyncId{mDelayInfo->vsyncId}; in updateMaxSendDelay() 169 binder::Status WindowInfosListenerInvoker::ackWindowInfosReceived(int64_t vsyncId, in ackWindowInfosReceived() argument 171 BackgroundExecutor::getInstance().sendCallbacks({[this, vsyncId, listenerId]() { in ackWindowInfosReceived() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | WindowInfosUpdate.h | 29 int64_t vsyncId, int64_t timestamp) in WindowInfosUpdate() 32 vsyncId(vsyncId), in WindowInfosUpdate() 37 int64_t vsyncId; member
|
D | VsyncEventData.h | 43 int64_t vsyncId; member
|
/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 | 90 const int64_t vsyncId = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameTimelineVsyncId)]; in run() local 91 ATRACE_FORMAT("DrawFrames %" PRId64, vsyncId); in run() 173 int64_t vsyncId = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameTimelineVsyncId)]; in syncFrameState() local 176 mRenderThread->timeLord().vsyncReceived(vsync, intendedVsync, vsyncId, frameDeadline, in syncFrameState()
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 169 FrameTimeline(long vsyncId, long expectedPresentationTime, long deadline) { in FrameTimeline() argument 170 this.vsyncId = vsyncId; in FrameTimeline() 176 vsyncId = other.vsyncId; in copyFrom() 183 public long vsyncId = FrameInfo.INVALID_VSYNC_ID; field in DisplayEventReceiver.VsyncEventData.FrameTimeline
|
/frameworks/native/libs/gui/ |
D | VsyncEventData.cpp | 30 return frameTimelines[preferredFrameTimelineIndex].vsyncId; in preferredVsyncId() 58 SAFE_PARCEL(parcel->readInt64, &vsync.frameTimelines[i].vsyncId); in readFromParcel() 70 SAFE_PARCEL(parcel->writeInt64, vsync.frameTimelines[i].vsyncId); in writeToParcel()
|
D | WindowInfosUpdate.cpp | 44 SAFE_PARCEL(parcel->readInt64, &vsyncId); in readFromParcel() 66 SAFE_PARCEL(parcel->writeInt64, vsyncId); in writeToParcel()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionSurfaceFrameTest.cpp | 73 ftInfo.vsyncId = 1; in PresentedSurfaceFrameForBufferlessTransaction() 100 ftInfo.vsyncId = 1; in PresentedSurfaceFrameForBufferTransaction() 135 ftInfo.vsyncId = 1; in DroppedSurfaceFrameForBufferTransaction() 180 ftInfo.vsyncId = 1; in BufferlessSurfaceFramePromotedToBufferSurfaceFrame() 233 ftInfo.vsyncId = 1; in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists() 247 ftInfo.vsyncId = 1; in MultipleSurfaceFramesPresentedTogether() 256 ftInfo2.vsyncId = 4; in MultipleSurfaceFramesPresentedTogether() 276 ftInfo3.vsyncId = 3; in MultipleSurfaceFramesPresentedTogether() 321 ftInfo.vsyncId = 1; in PendingSurfaceFramesRemovedAfterClassification() 373 ftInfo.vsyncId = 1; in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer() [all …]
|
D | FrameTimelineTest.cpp | 233 ftInfo.vsyncId = token1; in TEST_F() 246 ftInfo.vsyncId = token1; in TEST_F() 261 ftInfo.vsyncId = token1; in TEST_F() 275 ftInfo.vsyncId = token1; in TEST_F() 306 ftInfo.vsyncId = surfaceFrameToken1; in TEST_F() 351 ftInfo.vsyncId = surfaceFrameToken1; in TEST_F() 408 ftInfo.vsyncId = surfaceFrameToken; in TEST_F() 433 ftInfo.vsyncId = surfaceFrameToken; in TEST_F() 531 ftInfo.vsyncId = surfaceFrameToken1; in TEST_F() 564 ftInfo.vsyncId = surfaceFrameToken1; in TEST_F() [all …]
|
D | WindowInfosListenerInvokerTest.cpp | 56 ->ackWindowInfosReceived(update.vsyncId, in TEST_F() 90 ->ackWindowInfosReceived(update.vsyncId, in TEST_F() 190 lastUpdateId = update.vsyncId; in TEST_F() 266 ->ackWindowInfosReceived(update.vsyncId, in TEST_F()
|
D | TransactionProtoParserTest.cpp | 36 t1.frameTimelineInfo.vsyncId = 3; in TEST() 93 ASSERT_EQ(t1.frameTimelineInfo.vsyncId, t2.frameTimelineInfo.vsyncId); in TEST()
|
D | MessageQueueTest.cpp | 159 constexpr VsyncId vsyncId{42}; in TEST_F() local 165 .WillOnce(Return(ftl::to_underlying(vsyncId))); in TEST_F() 166 EXPECT_CALL(*mEventQueue.mHandler, dispatchFrame(vsyncId, kPresentTime)).Times(1); in TEST_F()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 607 @JankType int jankType, long vsyncId) { in sendFirstWindowFrame() argument 608 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ true); in sendFirstWindowFrame() 612 @JankType int jankType, long vsyncId) { in sendFrame() argument 613 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ false); in sendFrame() 619 private void sendFrame(FrameTracker tracker, @JankType int jankType, long vsyncId) { in sendFrame() argument 621 jankType, vsyncId, /* firstWindowFrame= */ false); in sendFrame() 625 @JankType int jankType, long vsyncId, boolean firstWindowFrame) { in sendFrame() argument 627 sendHwuiFrame(tracker, durationMillis, vsyncId, firstWindowFrame); in sendFrame() 629 sendSfFrame(tracker, vsyncId, jankType); in sendFrame() 632 private void sendHwuiFrame(FrameTracker tracker, long durationMillis, long vsyncId, in sendHwuiFrame() argument [all …]
|
/frameworks/native/libs/gui/tests/ |
D | VsyncEventData_test.cpp | 51 ASSERT_EQ(data.vsync.frameTimelines[i].vsyncId, data2.vsync.frameTimelines[i].vsyncId); in TEST()
|
D | DisplayEventStructLayout_test.cpp | 40 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameTimelines[0].vsyncId, 24); in TEST() 50 vsyncData.frameTimelines[VsyncEventData::kFrameTimelinesCapacity - 1].vsyncId, in TEST()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.cpp | 32 void MessageQueue::Handler::dispatchFrame(VsyncId vsyncId, TimePoint expectedVsyncTime) { in dispatchFrame() argument 34 mVsyncId = vsyncId; in dispatchFrame() 71 const auto vsyncId = VsyncId{mVsync.tokenManager->generateTokenForPredictions( in vsyncCallback() 74 mHandler->dispatchFrame(vsyncId, expectedVsyncTime); in vsyncCallback()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | LayerTracing.cpp | 210 bool LayerTracing::checkAndUpdateLastVsyncIdWrittenToPerfetto(Mode mode, std::int64_t vsyncId) { in checkAndUpdateLastVsyncIdWrittenToPerfetto() argument 219 while (lastVsyncId < vsyncId) { in checkAndUpdateLastVsyncIdWrittenToPerfetto() 220 if (mLastVsyncIdWrittenToPerfetto.compare_exchange_strong(lastVsyncId, vsyncId)) { in checkAndUpdateLastVsyncIdWrittenToPerfetto()
|
D | TransactionTracing.cpp | 175 void TransactionTracing::addCommittedTransactions(int64_t vsyncId, nsecs_t commitTime, in addCommittedTransactions() argument 180 update.vsyncId = vsyncId; in addCommittedTransactions() 198 mLastUpdatedVsyncId = vsyncId; in addCommittedTransactions() 242 entryProto.set_vsync_id(update.vsyncId); in addEntry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FullscreenLightRevealAnimation.kt | 190 val vsyncId = Choreographer.getSfInstance().vsyncId in prepareOverlay() constant 191 transaction.setFrameTimelineVsync(vsyncId).apply() in prepareOverlay() 194 .setFrameTimelineVsync(vsyncId + 1) in prepareOverlay()
|
/frameworks/native/libs/gui/android/gui/ |
D | IWindowInfosPublisher.aidl | 22 void ackWindowInfosReceived(long vsyncId, long listenerId); in ackWindowInfosReceived() argument
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | FrameTimelineInfo.aidl | 25 long vsyncId = INVALID_VSYNC_ID;
|
/frameworks/native/libs/nativedisplay/ |
D | AChoreographer.cpp | 132 int64_t AChoreographer_getStartTimeNanosForVsyncId(AVsyncId vsyncId) { in AChoreographer_getStartTimeNanosForVsyncId() argument 133 return Choreographer::getStartTimeNanosForVsyncId(vsyncId); in AChoreographer_getStartTimeNanosForVsyncId() 219 return frameCallbackData->vsyncEventData.frameTimelines[index].vsyncId; in AChoreographerFrameCallbackData_getFrameTimelineVsyncId()
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | FrameTargeter.h | 45 VsyncId vsyncId() const { return mVsyncId; } in vsyncId() function 148 VsyncId vsyncId; member
|