Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/utils/
DNfccPowerTracker.cpp233 uint64_t standbyTime = 0, activeTime = 0; in ProcessPowerTrackNtf() local
235 activeTime = sPollCount * ACTIVE_TIME_PER_TIMER_COUNT_IN_MILLISEC; in ProcessPowerTrackNtf()
237 uint64_t error = (activeTime > mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
238 ? (activeTime - mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
239 : (mActiveDurationFromLastScreenUpdate - activeTime); in ProcessPowerTrackNtf()
246 standbyTime = (totalDuration > activeTime) ? (totalDuration - activeTime) in ProcessPowerTrackNtf()
247 : (activeTime - totalDuration); in ProcessPowerTrackNtf()
256 activeTime = totalDuration > standbyTime ? (totalDuration - standbyTime) in ProcessPowerTrackNtf()
272 (unsigned long long)activeTime, (unsigned long long)standbyTime, in ProcessPowerTrackNtf()
285 mActiveInfo.residencyInMsecSinceBoot += activeTime; in ProcessPowerTrackNtf()
DNfccPowerTracker.h123 NfccPowerStateInfo_t activeTime);