Home
last modified time | relevance | path

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

/base/powermgr/battery_statistics/services/native/src/entities/
Dsensor_entity.cpp39 auto gravityIter = gravityTimerMap_.find(uid); in GetActiveTimeMs() local
40 if (gravityIter != gravityTimerMap_.end()) { in GetActiveTimeMs()
41 activeTimeMs = gravityIter->second->GetRunningTimeMs(); in GetActiveTimeMs()
72 auto gravityIter = gravityPowerMap_.find(uid); in CalculateGravity() local
73 if (gravityIter != gravityPowerMap_.end()) { in CalculateGravity()
76 gravityIter->second = gravityOnPowerMah; in CalculateGravity()