/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 70 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener() argument 74 const auto it = mTimelines.find(inputEventId); in trackListener() 81 eraseByValue(mEventTimes, inputEventId); in trackListener() 104 mTimelines.emplace(inputEventId, in trackListener() 107 mEventTimes.emplace(eventTime, inputEventId); in trackListener() 110 void LatencyTracker::trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, in trackFinishedEvent() argument 113 const auto it = mTimelines.find(inputEventId); in trackFinishedEvent() 142 int32_t inputEventId, const sp<IBinder>& connectionToken, in trackGraphicsLatency() argument 144 const auto it = mTimelines.find(inputEventId); in trackGraphicsLatency()
|
D | LatencyTracker.h | 55 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime, 57 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, 59 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 67 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 74 tracker.trackListener(inputEventId, isDown, eventTime, readTime, deviceId, in LLVMFuzzerTestOneInput() 78 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 83 tracker.trackFinishedEvent(inputEventId, connectionToken, deliveryTime, in LLVMFuzzerTestOneInput() 87 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 93 tracker.trackGraphicsLatency(inputEventId, connectionToken, graphicsTimeline); in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 201 constexpr int32_t inputEventId = 1; in TEST_F() local 206 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime, in TEST_F() 208 mTracker->trackFinishedEvent(inputEventId, connectionToken, expectedCT.deliveryTime, in TEST_F() 210 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F() 221 constexpr nsecs_t inputEventId = 1; in TEST_F() local 227 mTracker->trackListener(inputEventId, isDown, /*eventTime=*/1, readTime, DEVICE_ID, in TEST_F() 229 mTracker->trackListener(inputEventId, isDown, /*eventTime=*/2, readTime, DEVICE_ID, in TEST_F() 328 constexpr int32_t inputEventId = 1; in TEST_F() local 331 mTracker->trackFinishedEvent(inputEventId, connection1, expectedCT.deliveryTime, in TEST_F() 333 mTracker->trackGraphicsLatency(inputEventId, connection1, expectedCT.graphicsTimeline); in TEST_F() [all …]
|
D | FakeWindows.h | 79 void sendTimeline(int32_t inputEventId, std::array<nsecs_t, GraphicsTimeline::SIZE> timeline); 369 inline void sendTimeline(int32_t inputEventId, in sendTimeline() argument 372 mInputReceiver->sendTimeline(inputEventId, timeline); in sendTimeline()
|
D | FakeWindows.cpp | 77 void FakeInputReceiver::sendTimeline(int32_t inputEventId, in sendTimeline() argument 79 const status_t status = mConsumer.sendTimeline(inputEventId, timeline); in sendTimeline()
|
/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/native/services/surfaceflinger/tests/unittests/ |
D | TransactionSurfaceFrameTest.cpp | 74 ftInfo.inputEventId = 0; in PresentedSurfaceFrameForBufferlessTransaction() 101 ftInfo.inputEventId = 0; in PresentedSurfaceFrameForBufferTransaction() 136 ftInfo.inputEventId = 0; in DroppedSurfaceFrameForBufferTransaction() 181 ftInfo.inputEventId = 0; in BufferlessSurfaceFramePromotedToBufferSurfaceFrame() 234 ftInfo.inputEventId = 0; in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists() 248 ftInfo.inputEventId = 0; in MultipleSurfaceFramesPresentedTogether() 257 ftInfo2.inputEventId = 0; in MultipleSurfaceFramesPresentedTogether() 277 ftInfo3.inputEventId = 0; in MultipleSurfaceFramesPresentedTogether() 322 ftInfo.inputEventId = 0; in PendingSurfaceFramesRemovedAfterClassification() 374 ftInfo.inputEventId = 0; in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer() [all …]
|
D | FrameTimelineTest.cpp | 234 ftInfo.inputEventId = sInputEventId; in TEST_F() 247 ftInfo.inputEventId = sInputEventId; in TEST_F() 259 constexpr int32_t inputEventId = 1; in TEST_F() local 262 ftInfo.inputEventId = inputEventId; in TEST_F() 268 EXPECT_EQ(inputEventId, surfaceFrame->getInputEventId()); in TEST_F() 276 ftInfo.inputEventId = sInputEventId; in TEST_F() 307 ftInfo.inputEventId = sInputEventId; in TEST_F() 352 ftInfo.inputEventId = sInputEventId; in TEST_F() 409 ftInfo.inputEventId = sInputEventId; in TEST_F() 434 ftInfo.inputEventId = sInputEventId; in TEST_F() [all …]
|
D | TransactionProtoParserTest.cpp | 37 t1.frameTimelineInfo.inputEventId = 4; in TEST() 94 ASSERT_EQ(t1.frameTimelineInfo.inputEventId, t2.frameTimelineInfo.inputEventId); in TEST()
|
/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 | 58 private static native void nativeReportTimeline(long receiverPtr, int inputEventId, 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()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 96 status_t reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime); 111 int32_t inputEventId; member 184 status_t NativeInputEventReceiver::reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, in reportTimeline() argument 193 .inputEventId = inputEventId, in reportTimeline() 239 status = mInputConsumer.sendTimeline(timeline.inputEventId, timeline.timeline); in processOutboundEvents() 504 timeline.inputEventId, in dump() 574 static void nativeReportTimeline(JNIEnv* env, jclass clazz, jlong receiverPtr, jint inputEventId, in nativeReportTimeline() argument 576 if (IdGenerator::getSource(inputEventId) != IdGenerator::Source::INPUT_READER) { in nativeReportTimeline() 582 status_t status = receiver->reportTimeline(inputEventId, gpuCompletedTime, presentTime); in nativeReportTimeline()
|
D | android_view_InputEventSender.cpp | 259 << "' ~ Received timeline, inputEventId=" << timeline.inputEventId in notifyConsumerResponse() 269 << timeline.inputEventId; in notifyConsumerResponse() 274 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse() 276 LOG(ERROR) << "Exception dispatching timeline, inputEventId=" << timeline.inputEventId; in notifyConsumerResponse()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | FrameTimelineInfo.aidl | 32 int inputEventId = 0;
|
/frameworks/native/include/input/ |
D | InputConsumerNoResampling.h | 75 void reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime);
|
D | InputConsumer.h | 82 status_t sendTimeline(int32_t inputEventId,
|
D | InputTransport.h | 423 int32_t inputEventId; member
|
/frameworks/native/libs/input/ |
D | InputConsumerNoResampling.cpp | 160 InputMessage createTimelineMessage(int32_t inputEventId, nsecs_t gpuCompletedTime, in createTimelineMessage() argument 165 msg.body.timeline.eventId = inputEventId; 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 | InputConsumer.cpp | 750 status_t InputConsumer::sendTimeline(int32_t inputEventId, in sendTimeline() argument 755 mChannel->getName().c_str(), inputEventId, in sendTimeline() 762 msg.body.timeline.eventId = inputEventId; in sendTimeline()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumerNoResampling_test.cpp | 326 int32_t inputEventId; member 416 mConsumer->reportTimeline(args->inputEventId, args->gpuCompletedTime, in handleMessage() 680 const int32_t inputEventId = 20; in TEST_F() local 684 mReportTimelineArgs.emplace(inputEventId, gpuCompletedTime, presentTime); in TEST_F() 691 ASSERT_EQ(inputEventId, timeline.inputEventId); in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 567 const int32_t inputEventId = 20; in TEST_F() local 571 status_t status = mConsumer->sendTimeline(inputEventId, graphicsTimeline); in TEST_F() 578 ASSERT_EQ(inputEventId, timeline.inputEventId); in TEST_F()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 655 const auto inputEventId = in draw() local 660 .inputEventId = inputEventId, in draw()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 1167 int32_t inputEventId; member
|