Home
last modified time | relevance | path

Searched refs:gpuCompletedTime (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/Input/src/com/android/test/input/
DSpyInputEventSenderAndReceiver.kt62 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()
DInputEventSenderAndReceiverTest.kt102 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/
DInputEventSender.java126 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()
DInputEventReceiver.java59 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()
DViewRootImpl.java10425 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/
DLatencyAggregator.cpp153 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/
Dandroid_view_InputEventReceiver.cpp96 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/
DInputConsumerNoResampling.cpp160 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()
DInputTransport.cpp137 const nsecs_t gpuCompletedTime = in isValid() local
141 const bool valid = presentTime > gpuCompletedTime; in isValid()
145 gpuCompletedTime, presentTime); in isValid()
DInputConsumer.cpp919 const nsecs_t gpuCompletedTime = in dump() local
927 msg.body.timeline.eventId, gpuCompletedTime, in dump()
/frameworks/native/include/input/
DInputConsumerNoResampling.h75 void reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime);
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp327 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()