/frameworks/base/tests/Input/src/com/android/test/input/ |
D | SpyInputEventSenderAndReceiver.kt | 62 data class Timeline(val inputEventId: Int, val gpuCompletedTime: Long, val presentTime: Long) constant in Timeline 71 override fun onTimelineReported(inputEventId: Int, gpuCompletedTime: Long, presentTime: Long) { in onTimelineReported() 72 mTimelines.put(Timeline(inputEventId, gpuCompletedTime, presentTime)) in onTimelineReported()
|
D | InputEventSenderAndReceiverTest.kt | 102 inputEventId = 1, gpuCompletedTime = 2, presentTime = 3) in testSendAndReceiveTimeline() 103 mReceiver.reportTimeline(sent.inputEventId, sent.gpuCompletedTime, sent.presentTime) in testSendAndReceiveTimeline() 114 inputEventId = 1, gpuCompletedTime = 3, presentTime = 2) in testSendAndReceiveInvalidTimeline() 115 mReceiver.reportTimeline(sent.inputEventId, sent.gpuCompletedTime, sent.presentTime) in testSendAndReceiveInvalidTimeline()
|
/frameworks/base/core/java/android/view/ |
D | InputEventSender.java | 126 public void onTimelineReported(int inputEventId, long gpuCompletedTime, long presentTime) { in onTimelineReported() argument 187 int inputEventId, long gpuCompletedTime, long presentTime) { in dispatchTimelineReported() argument 188 onTimelineReported(inputEventId, gpuCompletedTime, presentTime); in dispatchTimelineReported()
|
D | InputEventReceiver.java | 59 long gpuCompletedTime, long presentTime); in nativeReportTimeline() argument 236 public final void reportTimeline(int inputEventId, long gpuCompletedTime, long presentTime) { in reportTimeline() argument 238 nativeReportTimeline(mReceiverPtr, inputEventId, gpuCompletedTime, presentTime); in reportTimeline()
|
D | ViewRootImpl.java | 10425 final long gpuCompletedTime = data[FrameMetrics.Index.GPU_COMPLETED]; in onFrameMetricsAvailable() local 10429 if (gpuCompletedTime >= presentTime) { in onFrameMetricsAvailable() 10430 final double discrepancyMs = (gpuCompletedTime - presentTime) * 1E-6; in onFrameMetricsAvailable() 10438 mInputEventReceiver.reportTimeline(inputEventId, gpuCompletedTime, presentTime); in onFrameMetricsAvailable()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyAggregator.cpp | 153 const nsecs_t gpuCompletedTime = in processStatistics() local 157 const nsecs_t consumeToGpuComplete = gpuCompletedTime - connectionTimeline.consumeTime; in processStatistics() 158 const nsecs_t gpuCompleteToPresent = presentTime - gpuCompletedTime; in processStatistics() 240 const nsecs_t gpuCompletedTime = in processSlowEvent() local 242 const nsecs_t consumeToGpuComplete = gpuCompletedTime - connectionTimeline.consumeTime; in processSlowEvent() 243 const nsecs_t gpuCompleteToPresent = presentTime - gpuCompletedTime; in processSlowEvent()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 96 status_t reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime); 184 status_t NativeInputEventReceiver::reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, in reportTimeline() argument 190 graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = gpuCompletedTime; in reportTimeline() 575 jlong gpuCompletedTime, jlong presentTime) { in nativeReportTimeline() argument 582 status_t status = receiver->reportTimeline(inputEventId, gpuCompletedTime, presentTime); in nativeReportTimeline()
|
/frameworks/native/libs/input/ |
D | InputConsumerNoResampling.cpp | 160 InputMessage createTimelineMessage(int32_t inputEventId, nsecs_t gpuCompletedTime, in createTimelineMessage() argument 166 msg.body.timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME] = gpuCompletedTime; in createTimelineMessage() 284 void InputConsumerNoResampling::reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, in reportTimeline() argument 287 mOutboundQueue.push(createTimelineMessage(inputEventId, gpuCompletedTime, presentTime)); in reportTimeline()
|
D | InputTransport.cpp | 137 const nsecs_t gpuCompletedTime = in isValid() local 141 const bool valid = presentTime > gpuCompletedTime; in isValid() 145 gpuCompletedTime, presentTime); in isValid()
|
D | InputConsumer.cpp | 919 const nsecs_t gpuCompletedTime = in dump() local 927 msg.body.timeline.eventId, gpuCompletedTime, in dump()
|
/frameworks/native/include/input/ |
D | InputConsumerNoResampling.h | 75 void reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime);
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumerNoResampling_test.cpp | 327 nsecs_t gpuCompletedTime; member 416 mConsumer->reportTimeline(args->inputEventId, args->gpuCompletedTime, in handleMessage() 681 const nsecs_t gpuCompletedTime = 30; in TEST_F() local 684 mReportTimelineArgs.emplace(inputEventId, gpuCompletedTime, presentTime); in TEST_F() 692 ASSERT_EQ(gpuCompletedTime, timeline.graphicsTimeline[GraphicsTimeline::GPU_COMPLETED_TIME]); in TEST_F()
|