Home
last modified time | relevance | path

Searched refs:connectionTimelines (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp122 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackFinishedEvent()
123 if (connectionIt == timeline.connectionTimelines.end()) { in trackFinishedEvent()
125 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent()
136 timeline.connectionTimelines.erase(connectionIt); in trackFinishedEvent()
153 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackGraphicsLatency()
154 if (connectionIt == timeline.connectionTimelines.end()) { in trackGraphicsLatency()
155 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
163 timeline.connectionTimelines.erase(connectionIt); in trackGraphicsLatency()
DInputEventTimeline.cpp80 if (connectionTimelines.size() != rhs.connectionTimelines.size()) { in operator ==()
83 for (const auto& [connectionToken, connectionTimeline] : connectionTimelines) { in operator ==()
84 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
85 if (it == rhs.connectionTimelines.end()) { in operator ==()
DInputEventTimeline.h93 std::unordered_map<sp<IBinder>, ConnectionTimeline, IBinderHash> connectionTimelines; member
DLatencyAggregator.cpp144 for (const auto& [connectionToken, connectionTimeline] : timeline.connectionTimelines) { in processStatistics()
214 for (const auto& [token, connectionTimeline] : timeline.connectionTimelines) { in processSlowEvent()
/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp75 t.connectionTimelines.emplace(sp<BBinder>::make(), std::move(expectedCT)); in getTestTimeline()
204 const auto& [connectionToken, expectedCT] = *expected.connectionTimelines.begin(); in TEST_F()
247 timeline1.connectionTimelines.emplace(connection1, in TEST_F()
250 ConnectionTimeline& connectionTimeline1 = timeline1.connectionTimelines.begin()->second; in TEST_F()
264 timeline2.connectionTimelines.emplace(connection2, in TEST_F()
268 ConnectionTimeline& connectionTimeline2 = timeline2.connectionTimelines.begin()->second; in TEST_F()
300 const ConnectionTimeline& expectedCT = timeline.connectionTimelines.begin()->second; in TEST_F()
301 const sp<IBinder>& token = timeline.connectionTimelines.begin()->first; in TEST_F()
316 expectedTimelines[0].connectionTimelines.emplace(token, std::move(expectedCT)); in TEST_F()
330 const ConnectionTimeline& expectedCT = expected.connectionTimelines.begin()->second; in TEST_F()
/frameworks/native/services/inputflinger/tests/fuzzers/
DLatencyTrackerFuzzer.cpp36 for (const auto& [token, connectionTimeline] : timeline.connectionTimelines) { in processTimeline()