Home
last modified time | relevance | path

Searched refs:InputEventTimeline (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/native/services/inputflinger/tests/
H A DLatencyTracker_test.cpp26 using android::inputdispatcher::InputEventTimeline;
31 InputEventTimeline getTestTimeline() { in getTestTimeline()
32 InputEventTimeline t( in getTestTimeline()
72 std::deque<InputEventTimeline> mReceivedTimelines;
78 const InputEventTimeline& t = mReceivedTimelines.front(); in assertReceivedTimeline()
149 InputEventTimeline expected = getTestTimeline(); in TEST_F()
163 InputEventTimeline timeline1( in TEST_F()
177 InputEventTimeline timeline2( in TEST_F()
214 InputEventTimeline timeline = getTestTimeline(); in TEST_F()
215 std::vector<InputEventTimeline> expectedTimelines; in TEST_F()
[all …]
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputEventTimeline.h76 struct InputEventTimeline { struct
77 InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime);
90 bool operator==(const InputEventTimeline& rhs) const; argument
102 virtual void processTimeline(const InputEventTimeline& timeline) = 0;
H A DInputEventTimeline.cpp67 InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime) in InputEventTimeline() function in android::inputdispatcher::InputEventTimeline
70 bool InputEventTimeline::operator==(const InputEventTimeline& rhs) const { in operator ==()
H A DLatencyAggregator.h58 void processTimeline(const InputEventTimeline& timeline) override;
70 void processSlowEvent(const InputEventTimeline& timeline);
78 void processStatistics(const InputEventTimeline& timeline);
H A DLatencyTracker.cpp84 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener()
98 InputEventTimeline& timeline = it->second; in trackFinishedEvent()
128 InputEventTimeline& timeline = it->second; in trackGraphicsLatency()
158 const InputEventTimeline& timeline = it->second; in reportAndPruneMatureRecords()
H A DLatencyAggregator.cpp123 void LatencyAggregator::processTimeline(const InputEventTimeline& timeline) { in processTimeline()
128 void LatencyAggregator::processStatistics(const InputEventTimeline& timeline) { in processStatistics()
208 void LatencyAggregator::processSlowEvent(const InputEventTimeline& timeline) { in processSlowEvent()
H A DLatencyTracker.h70 std::unordered_map<int32_t /*inputEventId*/, InputEventTimeline> mTimelines;
H A DAndroid.bp41 "InputEventTimeline.cpp",