Home
last modified time | relevance | path

Searched refs:timeline (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/system/core/libsync/tests/
H A Dsync_test.cpp273 SyncTimeline timeline; in TEST() local
278 SyncTimeline timeline; in TEST() local
298 close(timeline); in TEST()
346 timeline.inc(100); in TEST()
347 timeline.inc(100); in TEST()
362 SyncFence a(timeline, 1), b(timeline, 2), c(timeline, 3); in TEST()
377 timeline.inc(1); in TEST()
383 timeline.inc(1); in TEST()
389 timeline.inc(1); in TEST()
410 timeline.inc(5); in TEST()
[all …]
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DLatencyTracker.cpp98 InputEventTimeline& timeline = it->second; in trackFinishedEvent() local
100 if (connectionIt == timeline.connectionTimelines.end()) { in trackFinishedEvent()
102 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent()
113 timeline.connectionTimelines.erase(connectionIt); in trackFinishedEvent()
128 InputEventTimeline& timeline = it->second; in trackGraphicsLatency() local
130 if (connectionIt == timeline.connectionTimelines.end()) { in trackGraphicsLatency()
139 timeline.connectionTimelines.erase(connectionIt); in trackGraphicsLatency()
158 const InputEventTimeline& timeline = it->second; in reportAndPruneMatureRecords() local
159 mTimelineProcessor->processTimeline(timeline); in reportAndPruneMatureRecords()
170 for (const auto& [inputEventId, timeline] : mTimelines) { in reportNow()
[all …]
H A DLatencyAggregator.cpp123 void LatencyAggregator::processTimeline(const InputEventTimeline& timeline) { in processTimeline() argument
124 processStatistics(timeline); in processTimeline()
125 processSlowEvent(timeline); in processTimeline()
128 void LatencyAggregator::processStatistics(const InputEventTimeline& timeline) { in processStatistics() argument
136 timeline.isDown ? mDownSketches : mMoveSketches; in processStatistics()
139 const nsecs_t eventToRead = timeline.readTime - timeline.eventTime; in processStatistics()
158 const nsecs_t endToEnd = presentTime - timeline.eventTime; in processStatistics()
208 void LatencyAggregator::processSlowEvent(const InputEventTimeline& timeline) { in processSlowEvent() argument
220 std::chrono::nanoseconds(presentTime - timeline.eventTime); in processSlowEvent()
232 const nsecs_t eventToRead = timeline.readTime - timeline.eventTime; in processSlowEvent()
[all …]
H A DLatencyAggregator.h58 void processTimeline(const InputEventTimeline& timeline) override;
70 void processSlowEvent(const InputEventTimeline& timeline);
78 void processStatistics(const InputEventTimeline& timeline);
H A DInputEventTimeline.cpp47 bool ConnectionTimeline::setGraphicsTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> timeline) { in setGraphicsTimeline() argument
51 graphicsTimeline = std::move(timeline); in setGraphicsTimeline()
H A DLatencyTracker.h51 std::array<nsecs_t, GraphicsTimeline::SIZE> timeline);
H A DInputEventTimeline.h102 virtual void processTimeline(const InputEventTimeline& timeline) = 0;
/aosp12/frameworks/native/services/inputflinger/tests/
H A DLatencyTracker_test.cpp60 void assertReceivedTimeline(const InputEventTimeline& timeline);
69 void processTimeline(const InputEventTimeline& timeline) override { in processTimeline() argument
70 mReceivedTimelines.push_back(timeline); in processTimeline()
75 void LatencyTrackerTest::assertReceivedTimeline(const InputEventTimeline& timeline) { in assertReceivedTimeline() argument
79 ASSERT_EQ(timeline, t); in assertReceivedTimeline()
214 InputEventTimeline timeline = getTestTimeline(); in TEST_F() local
216 const ConnectionTimeline& expectedCT = timeline.connectionTimelines.begin()->second; in TEST_F()
217 const sp<IBinder>& token = timeline.connectionTimelines.begin()->first; in TEST_F()
220 mTracker->trackListener(i /*inputEventId*/, timeline.isDown, timeline.eventTime, in TEST_F()
221 timeline.readTime); in TEST_F()
[all …]
/aosp12/hardware/interfaces/graphics/composer/2.4/vts/functional/
H A DVtsHalGraphicsComposerV2_4TargetTest.cpp203 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument
331 VsyncPeriodChangeTimeline timeline; in TEST_P() local
339 if (timeline.refreshRequired) { in TEST_P()
340 sendRefreshFrame(display, &timeline); in TEST_P()
372 VsyncPeriodChangeTimeline timeline; in TEST_P() local
383 VsyncPeriodChangeTimeline timeline; in TEST_P() local
397 VsyncPeriodChangeTimeline timeline; in TEST_P() local
427 if (timeline != nullptr) { in sendRefreshFrame()
429 EXPECT_LT(timeline->refreshTimeNanos, timeline->newVsyncAppliedTimeNanos); in sendRefreshFrame()
538 VsyncPeriodChangeTimeline timeline; in Test_setActiveConfigWithConstraints() local
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp100 std::array<nsecs_t, GraphicsTimeline::SIZE> timeline; member
175 Timeline timeline{ in reportTimeline() local
177 .timeline = graphicsTimeline, in reportTimeline()
179 mOutboundQueue.push_back(timeline); in reportTimeline()
221 const Timeline& timeline = std::get<Timeline>(outbound); in processOutboundEvents() local
222 status = mInputConsumer.sendTimeline(timeline.inputEventId, timeline.timeline); in processOutboundEvents()
471 const Timeline& timeline = std::get<Timeline>(outbound); in dump() local
475 timeline.inputEventId, in dump()
476 timeline.timeline[GraphicsTimeline::GPU_COMPLETED_TIME], in dump()
477 timeline.timeline[GraphicsTimeline::PRESENT_TIME]); in dump()
H A Dandroid_view_InputEventSender.cpp245 const InputPublisher::Timeline& timeline = std::get<InputPublisher::Timeline>(response); in notifyConsumerResponse() local
250 getInputChannelName().c_str(), timeline.inputEventId, in notifyConsumerResponse()
251 timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME], in notifyConsumerResponse()
252 timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in notifyConsumerResponse()
258 timeline.inputEventId); in notifyConsumerResponse()
263 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse()
265 ALOGE("Exception dispatching timeline, inputEventId=%" PRId32, timeline.inputEventId); in notifyConsumerResponse()
/aosp12/hardware/interfaces/graphics/composer/2.4/utils/passthrough/include/composer-passthrough/2.4/
H A DHwcHal.h148 VsyncPeriodChangeTimeline* timeline) override { in setActiveConfigWithConstraints() argument
165 timeline->newVsyncAppliedTimeNanos = out_timeline.newVsyncAppliedTimeNanos; in setActiveConfigWithConstraints()
166 timeline->refreshRequired = out_timeline.refreshRequired; in setActiveConfigWithConstraints()
167 timeline->refreshTimeNanos = out_timeline.refreshTimeNanos; in setActiveConfigWithConstraints()
361 VsyncPeriodChangeTimeline timeline; in vsyncPeriodTimingChangedHook() local
362 timeline.newVsyncAppliedTimeNanos = updated_timeline->newVsyncAppliedTimeNanos; in vsyncPeriodTimingChangedHook()
363 timeline.refreshRequired = updated_timeline->refreshRequired; in vsyncPeriodTimingChangedHook()
364 timeline.refreshTimeNanos = updated_timeline->refreshTimeNanos; in vsyncPeriodTimingChangedHook()
365 hal->mEventCallback_2_4->onVsyncPeriodTimingChanged(display, timeline); in vsyncPeriodTimingChangedHook()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DDisplayDevice_InitiateModeChange.cpp125 hal::VsyncPeriodChangeTimeline timeline; in TEST_F() local
128 &timeline)); in TEST_F()
147 hal::VsyncPeriodChangeTimeline timeline; in TEST_F() local
150 &timeline)); in TEST_F()
164 &timeline)); in TEST_F()
/aosp12/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
H A DComposerHal.h51 const VsyncPeriodChangeTimeline& timeline) = 0;
70 VsyncPeriodChangeTimeline* timeline) = 0;
H A DComposerClient.h153 VsyncPeriodChangeTimeline timeline = {}; in setActiveConfigWithConstraints() local
155 vsyncPeriodChangeConstraints, &timeline); in setActiveConfigWithConstraints()
156 hidl_cb(error, timeline); in setActiveConfigWithConstraints()
/aosp12/frameworks/native/libs/input/
H A DInputTransport.cpp122 body.timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in isValid()
124 body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in isValid()
153 return sizeof(Header) + body.timeline.size(); in size()
292 msg->body.timeline.eventId = body.timeline.eventId; in getSanitizedCopy()
293 msg->body.timeline.graphicsTimeline = body.timeline.graphicsTimeline; in getSanitizedCopy()
688 .inputEventId = msg.body.timeline.eventId, in receiveConsumerResponse()
689 .graphicsTimeline = msg.body.timeline.graphicsTimeline, in receiveConsumerResponse()
1254 msg.body.timeline.eventId = inputEventId; in sendTimeline()
1255 msg.body.timeline.graphicsTimeline = std::move(graphicsTimeline); in sendTimeline()
1468 msg.body.timeline in dump()
[all …]
/aosp12/hardware/interfaces/graphics/composer/2.4/utils/vts/
H A DComposerVts.cpp96 VsyncPeriodChangeTimeline* timeline) { in setActiveConfigWithConstraints() argument
101 *timeline = tmpTimeline; in setActiveConfigWithConstraints()
/aosp12/hardware/interfaces/graphics/composer/2.4/utils/vts/include/composer-vts/2.4/
H A DComposerVts.h87 VsyncPeriodChangeTimeline* timeline);
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DScheduler.cpp880 void Scheduler::onNewVsyncPeriodChangeTimeline(const hal::VsyncPeriodChangeTimeline& timeline) { in onNewVsyncPeriodChangeTimeline() argument
881 if (timeline.refreshRequired) { in onNewVsyncPeriodChangeTimeline()
886 mLastVsyncPeriodChangeTimeline = std::make_optional(timeline); in onNewVsyncPeriodChangeTimeline()
889 if (timeline.newVsyncAppliedTimeNanos > maxAppliedTime) { in onNewVsyncPeriodChangeTimeline()
/aosp12/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp427 const InputPublisher::Timeline& timeline = std::get<InputPublisher::Timeline>(*result); in TEST_F() local
428 ASSERT_EQ(inputEventId, timeline.inputEventId); in TEST_F()
429 ASSERT_EQ(graphicsTimeline, timeline.graphicsTimeline); in TEST_F()
/aosp12/hardware/interfaces/graphics/composer/2.4/
H A DIComposerCallback.hal42 * @param updatedTimeline is the new timeline for the vsync period change.
H A DIComposerClient.hal260 * @return timeline is the timeline for the vsync period change.
264 generates (Error error, VsyncPeriodChangeTimeline timeline);
/aosp12/hardware/qcom/sm7250/display/composer/
H A DQtiComposerClient.cpp172 VsyncPeriodChangeTimeline timeline = in onVsyncPeriodTimingChanged() local
178 auto ret = client->callback24_->onVsyncPeriodTimingChanged(display, timeline); in onVsyncPeriodTimingChanged()
1122 VsyncPeriodChangeTimeline timeline; in setActiveConfigWithConstraints() local
1123 timeline.newVsyncAppliedTimeNanos = systemTime(); in setActiveConfigWithConstraints()
1124 timeline.refreshRequired = false; in setActiveConfigWithConstraints()
1125 timeline.refreshTimeNanos = 0; in setActiveConfigWithConstraints()
1128 display, config, &vsyncPeriodChangeConstraints, &timeline); in setActiveConfigWithConstraints()
1129 _hidl_cb(static_cast<composer_V2_4::Error>(error), timeline); in setActiveConfigWithConstraints()
H A Dhwc_display.cpp2737 hwc_vsync_period_change_timeline_t timeline; in SubmitActiveConfigChange() local
2738 std::tie(timeline.refreshTimeNanos, timeline.newVsyncAppliedTimeNanos) = in SubmitActiveConfigChange()
2741 transient_refresh_rate_info_.push_back({current_vsync_period, timeline.newVsyncAppliedTimeNanos}); in SubmitActiveConfigChange()
2742 if (timeline.newVsyncAppliedTimeNanos != pending_refresh_rate_applied_time_) { in SubmitActiveConfigChange()
2743 timeline.refreshRequired = false; in SubmitActiveConfigChange()
2744 callbacks_->VsyncPeriodTimingChanged(id_, &timeline); in SubmitActiveConfigChange()
/aosp12/frameworks/native/include/input/
H A DInputTransport.h208 } timeline; member
480 std::array<nsecs_t, GraphicsTimeline::SIZE> timeline);

12