/frameworks/native/services/inputflinger/dispatcher/ |
D | InputEventTimeline.cpp | 30 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 ==()
|
D | InputEventTimeline.h | 47 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);
|
D | LatencyTracker.cpp | 143 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()
|
D | LatencyAggregator.cpp | 154 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()
|
D | InputDispatcher.cpp | 4073 std::move(timeline.graphicsTimeline)); in handleReceiveCallback()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 71 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 …]
|
D | InputDispatcher_test.cpp | 6826 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/ |
D | LatencyTrackerFuzzer.cpp | 89 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/ |
D | android_view_InputEventSender.cpp | 261 << timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] in notifyConsumerResponse() 263 << timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]; in notifyConsumerResponse() 274 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse()
|
D | android_view_InputEventReceiver.cpp | 189 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/ |
D | InputConsumer.cpp | 751 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()
|
D | InputConsumerNoResampling.cpp | 139 .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()
|
D | InputTransport.cpp | 138 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/ |
D | InputTransport.h | 207 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member 424 std::array<nsecs_t, GraphicsTimeline::SIZE> graphicsTimeline; member
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 568 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()
|
D | StructLayout_test.cpp | 105 CHECK_OFFSET(InputMessage::Body::Timeline, graphicsTimeline, 8); in TestInputMessageAlignment()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 692 ASSERT_EQ(gpuCompletedTime, timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]); in TEST_F() 693 ASSERT_EQ(presentTime, timeline.graphicsTimeline[GraphicsTimeline::PRESENT_TIME]); in TEST_F()
|