Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp37 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in getTestTimeline() local
38 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 9; in getTestTimeline()
39 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 10; in getTestTimeline()
40 expectedCT.setGraphicsTimeline(std::move(graphicsTimeline)); in getTestTimeline()
140 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
141 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 2; in TEST_F()
142 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 3; in TEST_F()
143 mTracker->trackGraphicsLatency(1 /*inputEventId*/, connection2, graphicsTimeline); in TEST_F()
156 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F()
203 connectionTimeline1.graphicsTimeline); in TEST_F()
[all …]
DInputDispatcher_test.cpp2127 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
2128 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 2; in TEST_F()
2129 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 3; in TEST_F()
2131 window->sendTimeline(1 /*inputEventId*/, graphicsTimeline); in TEST_F()
/frameworks/native/services/inputflinger/dispatcher/
DInputEventTimeline.cpp28 ConnectionTimeline::ConnectionTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) in ConnectionTimeline() argument
29 : graphicsTimeline(std::move(graphicsTimeline)), mHasGraphicsTimeline(true) {} in ConnectionTimeline()
51 graphicsTimeline = std::move(timeline); in setGraphicsTimeline()
58 finishTime == rhs.finishTime && graphicsTimeline == rhs.graphicsTimeline && in operator ==()
DInputEventTimeline.h46 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
49 ConnectionTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline);
66 bool setGraphicsTimeline(std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline);
DLatencyTracker.cpp120 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) { in trackGraphicsLatency() argument
131 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
135 const bool success = connectionTimeline.setGraphicsTimeline(std::move(graphicsTimeline)); in trackGraphicsLatency()
DLatencyAggregator.cpp153 connectionTimeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in processStatistics()
155 connectionTimeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in processStatistics()
218 connectionTimeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in processSlowEvent()
239 connectionTimeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in processSlowEvent()
DInputDispatcher.cpp3386 std::move(timeline.graphicsTimeline)); in handleReceiveCallback()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp415 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in TEST_F() local
416 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = 30; in TEST_F()
417 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = 40; in TEST_F()
418 status_t status = mConsumer->sendTimeline(inputEventId, graphicsTimeline); in TEST_F()
426 ASSERT_EQ(graphicsTimeline, timeline.graphicsTimeline); in TEST_F()
DStructLayout_test.cpp104 CHECK_OFFSET(InputMessage::Body::Timeline, graphicsTimeline, 8); in TestInputMessageAlignment()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp250 timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME], in notifyConsumerResponse()
251 timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in notifyConsumerResponse()
262 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse()
Dandroid_view_InputEventReceiver.cpp172 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; in reportTimeline() local
173 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = gpuCompletedTime; in reportTimeline()
174 graphicsTimeline[GraphicsTimeline::PRESENT_TIME] = presentTime; in reportTimeline()
177 .timeline = graphicsTimeline, in reportTimeline()
/frameworks/native/libs/input/
DInputTransport.cpp122 body.timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in isValid()
124 body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in isValid()
291 msg->body.timeline.graphicsTimeline = body.timeline.graphicsTimeline; in getSanitizedCopy()
685 .graphicsTimeline = msg.body.timeline.graphicsTimeline, in receiveConsumerResponse()
1238 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline) { in sendTimeline() argument
1243 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME], in sendTimeline()
1244 graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in sendTimeline()
1251 msg.body.timeline.graphicsTimeline = std::move(graphicsTimeline); in sendTimeline()
1465 .graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]; in dump()
1467 msg.body.timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in dump()
/frameworks/native/include/input/
DInputTransport.h205 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
398 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member