Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp292 auto activeSessionIt = mActiveUsageSessions.find(std::get<DeviceId>(interaction)); in onInputDeviceInteraction() local
293 if (activeSessionIt == mActiveUsageSessions.end()) { in onInputDeviceInteraction()
297 activeSessionIt->second.recordInteraction(interaction); in onInputDeviceInteraction()
322 auto activeSessionIt = mActiveUsageSessions.find(deviceId); in reportCompletedSessions() local
323 LOG_ALWAYS_FATAL_IF(activeSessionIt == mActiveUsageSessions.end()); in reportCompletedSessions()
324 auto& [_, activeSession] = *activeSessionIt; in reportCompletedSessions()
326 mActiveUsageSessions.erase(activeSessionIt); in reportCompletedSessions()