/frameworks/native/libs/gui/ |
D | FrameTimelineInfo.cpp | 35 SAFE_PARCEL(output.writeInt32, inputEventId); in write() 42 SAFE_PARCEL(input.readInt32, &inputEventId); in read() 52 inputEventId = other.inputEventId; in merge() 57 inputEventId = other.inputEventId; in merge() 64 inputEventId = IInputConstants::INVALID_INPUT_EVENT_ID; in clear()
|
D | Surface.cpp | 1867 auto inputEventId = static_cast<int32_t>(va_arg(args, int32_t)); in dispatchSetFrameTimelineInfo() local 1871 return setFrameTimelineInfo(frameNumber, {frameTimelineVsyncId, inputEventId, startTimeNanos}); in dispatchSetFrameTimelineInfo()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 68 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener() argument 71 const auto it = mTimelines.find(inputEventId); in trackListener() 78 eraseByValue(mEventTimes, inputEventId); in trackListener() 81 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener() 82 mEventTimes.emplace(eventTime, inputEventId); in trackListener() 85 void LatencyTracker::trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, in trackFinishedEvent() argument 88 const auto it = mTimelines.find(inputEventId); in trackFinishedEvent() 117 int32_t inputEventId, const sp<IBinder>& connectionToken, in trackGraphicsLatency() argument 119 const auto it = mTimelines.find(inputEventId); in trackGraphicsLatency()
|
D | LatencyTracker.h | 53 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime); 54 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, 56 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
|
D | InputDispatcher.cpp | 397 const int32_t& inputEventId = eventEntry.id; in shouldReportFinishedEvent() local 398 if (inputEventId != dispatchEntry.resolvedEventId) { in shouldReportFinishedEvent() 402 if (inputEventId == android::os::IInputConstants::INVALID_INPUT_EVENT_ID) { in shouldReportFinishedEvent() 3546 .trackGraphicsLatency(timeline.inputEventId, in handleReceiveCallback()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 64 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 68 tracker.trackListener(inputEventId, isDown, eventTime, readTime); in LLVMFuzzerTestOneInput() 71 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 76 tracker.trackFinishedEvent(inputEventId, connectionToken, deliveryTime, in LLVMFuzzerTestOneInput() 80 int32_t inputEventId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 86 tracker.trackGraphicsLatency(inputEventId, connectionToken, graphicsTimeline); in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 167 constexpr int32_t inputEventId = 1; in TEST_F() local 172 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 173 mTracker->trackFinishedEvent(inputEventId, connectionToken, expectedCT.deliveryTime, in TEST_F() 175 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F() 186 constexpr nsecs_t inputEventId = 1; in TEST_F() local 192 mTracker->trackListener(inputEventId, isDown, 1 /*eventTime*/, readTime); in TEST_F() 193 mTracker->trackListener(inputEventId, isDown, 2 /*eventTime*/, readTime); in TEST_F() 283 constexpr int32_t inputEventId = 1; in TEST_F() local 286 mTracker->trackFinishedEvent(inputEventId, connection1, expectedCT.deliveryTime, in TEST_F() 288 mTracker->trackGraphicsLatency(inputEventId, connection1, expectedCT.graphicsTimeline); in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 830 void sendTimeline(int32_t inputEventId, std::array<nsecs_t, GraphicsTimeline::SIZE> timeline) { in sendTimeline() argument 831 const status_t status = mConsumer->sendTimeline(inputEventId, timeline); in sendTimeline() 1239 void sendTimeline(int32_t inputEventId, std::array<nsecs_t, GraphicsTimeline::SIZE> timeline) { in sendTimeline() argument 1241 mInputReceiver->sendTimeline(inputEventId, timeline); in sendTimeline()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | SpyInputEventSenderAndReceiver.kt | 55 data class Timeline(val inputEventId: Int, val gpuCompletedTime: Long, val presentTime: Long) constant in Timeline 64 override fun onTimelineReported(inputEventId: Int, gpuCompletedTime: Long, presentTime: Long) { in onTimelineReported() 65 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 | 121 public void onTimelineReported(int inputEventId, long gpuCompletedTime, long presentTime) { in onTimelineReported() argument 160 int inputEventId, long gpuCompletedTime, long presentTime) { in dispatchTimelineReported() argument 161 onTimelineReported(inputEventId, gpuCompletedTime, presentTime); in dispatchTimelineReported()
|
D | InputEventReceiver.java | 57 private static native void nativeReportTimeline(long receiverPtr, int inputEventId, in nativeReportTimeline() argument 224 public final void reportTimeline(int inputEventId, long gpuCompletedTime, long presentTime) { in reportTimeline() argument 226 nativeReportTimeline(mReceiverPtr, inputEventId, gpuCompletedTime, presentTime); in reportTimeline()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 85 status_t reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, nsecs_t presentTime); 100 int32_t inputEventId; member 168 status_t NativeInputEventReceiver::reportTimeline(int32_t inputEventId, nsecs_t gpuCompletedTime, in reportTimeline() argument 177 .inputEventId = inputEventId, in reportTimeline() 223 status = mInputConsumer.sendTimeline(timeline.inputEventId, timeline.timeline); in processOutboundEvents() 482 timeline.inputEventId, in dump() 546 static void nativeReportTimeline(JNIEnv* env, jclass clazz, jlong receiverPtr, jint inputEventId, in nativeReportTimeline() argument 548 if (IdGenerator::getSource(inputEventId) != IdGenerator::Source::INPUT_READER) { in nativeReportTimeline() 554 status_t status = receiver->reportTimeline(inputEventId, gpuCompletedTime, presentTime); in nativeReportTimeline()
|
D | android_view_InputEventSender.cpp | 248 getInputChannelName().c_str(), timeline.inputEventId, in notifyConsumerResponse() 256 timeline.inputEventId); in notifyConsumerResponse() 261 timeline.inputEventId, timeline.graphicsTimeline); in notifyConsumerResponse() 263 ALOGE("Exception dispatching timeline, inputEventId=%" PRId32, timeline.inputEventId); in notifyConsumerResponse()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionProtoParserTest.cpp | 36 t1.frameTimelineInfo.inputEventId = 4; in TEST() 103 ASSERT_EQ(t1.frameTimelineInfo.inputEventId, t2.frameTimelineInfo.inputEventId); in TEST()
|
D | FrameTimelineTest.cpp | 241 constexpr int32_t inputEventId = 1; in TEST_F() local 243 mFrameTimeline->createSurfaceFrameForToken({token1, inputEventId}, sPidOne, sUidOne, in TEST_F() 247 EXPECT_EQ(inputEventId, surfaceFrame->getInputEventId()); in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimelineInfo.h | 37 int32_t inputEventId = 0; member
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 453 const int32_t inputEventId = 20; in TEST_F() local 457 status_t status = mConsumer->sendTimeline(inputEventId, graphicsTimeline); in TEST_F() 464 ASSERT_EQ(inputEventId, timeline.inputEventId); in TEST_F()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 1048 int32_t inputEventId, in native_window_set_frame_timeline_info() argument 1051 frameTimelineVsyncId, inputEventId, startTimeNanos); in native_window_set_frame_timeline_info()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 419 int32_t inputEventId; member 500 status_t sendTimeline(int32_t inputEventId,
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_layer_fuzzer.cpp | 63 .inputEventId = mFdp.ConsumeIntegral<int32_t>()}; in getFuzzedFrameTimelineInfo()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 537 const auto inputEventId = in draw() local 540 mNativeSurface->getNativeWindow(), frameCompleteNr, vsyncId, inputEventId, in draw()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.cpp | 30 proto.set_input_event_id(t.frameTimelineInfo.inputEventId); in toProto() 308 t.frameTimelineInfo.inputEventId = proto.input_event_id(); in fromProto()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 711 .inputEventId = msg.body.timeline.eventId, in receiveConsumerResponse() 1274 status_t InputConsumer::sendTimeline(int32_t inputEventId, in sendTimeline() argument 1279 mChannel->getName().c_str(), inputEventId, in sendTimeline() 1287 msg.body.timeline.eventId = inputEventId; in sendTimeline()
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 309 mInputEventId(frameTimelineInfo.inputEventId), in SurfaceFrame()
|