Home
last modified time | relevance | path

Searched refs:graphicsTimeline (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputEventTimeline.cpp30 ConnectionTimeline::ConnectionTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) in ConnectionTimeline() argument
31 : graphicsTimeline(std::move(graphicsTimeline)), mHasGraphicsTimeline(true) {} in ConnectionTimeline()
53 graphicsTimeline = std::move(timeline); in setGraphicsTimeline()
60 finishTime == rhs.finishTime && graphicsTimeline == rhs.graphicsTimeline && in operator ==()
DInputEventTimeline.h47 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
50 ConnectionTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline);
67 bool setGraphicsTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline);
DLatencyTracker.cpp143 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) { in trackGraphicsLatency() argument
155 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
159 const bool success = connectionTimeline.setGraphicsTimeline(std::move(graphicsTimeline)); in trackGraphicsLatency()
DLatencyAggregator.cpp154 connectionTimeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in processStatistics()
156 connectionTimeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in processStatistics()
220 connectionTimeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in processSlowEvent()
241 connectionTimeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in processSlowEvent()
DInputDispatcher.cpp4073 std::move(timeline.graphicsTimeline)); in handleReceiveCallback()
/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp71 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in getTestTimeline() local
72 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 9; in getTestTimeline()
73 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 10; in getTestTimeline()
74 expectedCT.setGraphicsTimeline(std::move(graphicsTimeline)); in getTestTimeline()
192 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
193 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 2; in TEST_F()
194 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 3; in TEST_F()
195 mTracker->trackGraphicsLatency(/*inputEventId=*/1, connection2, graphicsTimeline); in TEST_F()
210 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F()
286 connectionTimeline1.graphicsTimeline); in TEST_F()
[all …]
DInputDispatcher_test.cpp6826 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
6827 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 2; in TEST_F()
6828 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 3; in TEST_F()
6830 window->sendTimeline(/*inputEventId=*/1, graphicsTimeline); in TEST_F()
/frameworks/native/services/inputflinger/tests/fuzzers/
DLatencyTrackerFuzzer.cpp89 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in LLVMFuzzerTestOneInput() local
90 for (size_t i = 0; i < graphicsTimeline.size(); i++) { in LLVMFuzzerTestOneInput()
91 graphicsTimeline[i] = fdp.ConsumeIntegral<nsecs_t>(); in LLVMFuzzerTestOneInput()
93 tracker.trackGraphicsLatency(inputEventId, connectionToken, graphicsTimeline); in LLVMFuzzerTestOneInput()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp261 << timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] in notifyConsumerResponse()
263 << timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in notifyConsumerResponse()
274 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse()
Dandroid_view_InputEventReceiver.cpp189 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in reportTimeline() local
190 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = gpuCompletedTime; in reportTimeline()
191 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = presentTime; in reportTimeline()
194 .timeline = graphicsTimeline, in reportTimeline()
/frameworks/native/libs/input/
DInputConsumer.cpp751 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) { in sendTimeline() argument
756 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME], in sendTimeline()
757 graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in sendTimeline()
763 msg.body.timeline.graphicsTimeline = std::move(graphicsTimeline); in sendTimeline()
921 .graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in dump()
923 msg.body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in dump()
DInputConsumerNoResampling.cpp139 .graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME], in outboundMessageToString()
141 .graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in outboundMessageToString()
166 msg.body.timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = gpuCompletedTime; in createTimelineMessage()
167 msg.body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = presentTime; in createTimelineMessage()
DInputTransport.cpp138 body.timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in isValid()
140 body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in isValid()
314 msg->body.timeline.graphicsTimeline = body.timeline.graphicsTimeline; in getSanitizedCopy()
758 .graphicsTimeline = msg.body.timeline.graphicsTimeline, in receiveConsumerResponse()
/frameworks/native/include/input/
DInputTransport.h207 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
424 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp568 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
569 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 30; in TEST_F()
570 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 40; in TEST_F()
571 status_t status = mConsumer->sendTimeline(inputEventId, graphicsTimeline); in TEST_F()
579 ASSERT_EQ(graphicsTimeline, timeline.graphicsTimeline); in TEST_F()
DStructLayout_test.cpp105 CHECK_OFFSET(InputMessage::Body::Timeline, graphicsTimeline, 8); in TestInputMessageAlignment()
DInputPublisherAndConsumerNoResampling_test.cpp692 ASSERT_EQ(gpuCompletedTime, timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]); in TEST_F()
693 ASSERT_EQ(presentTime, timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in TEST_F()