Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.cpp159 auto& wlStatsEntry = (*mStats.mutable_wl_stats())[wlId]; in acquireWakeLock() local
160 auto lastUpdated = wlStatsEntry.last_updated(); in acquireWakeLock()
165 wlStatsEntry.set_name(name); in acquireWakeLock()
166 wlStatsEntry.set_pid(pid); in acquireWakeLock()
167 wlStatsEntry.set_active(true); in acquireWakeLock()
168 wlStatsEntry.set_last_updated(timeNow); in acquireWakeLock()
224 auto& wlStatsEntry = (*wlStats)[id]; in deleteWakeLockStatsEntry() local
226 auto lastUpdated = wlStatsEntry.last_updated(); in deleteWakeLockStatsEntry()
227 wlStatsEntry.set_active(false); in deleteWakeLockStatsEntry()
228 wlStatsEntry.set_last_updated(timeNow); in deleteWakeLockStatsEntry()