Home
last modified time | relevance | path

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

/hardware/nxp/nfc/pn8x/halimpl/utils/
DNfccPowerTracker.cpp241 uint64_t standbyTime = 0, activeTime = 0; in ProcessPowerTrackNtf() local
243 activeTime = sPollCount * ACTIVE_TIME_PER_TIMER_COUNT_IN_MILLISEC; in ProcessPowerTrackNtf()
245 uint64_t error = (activeTime > mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
246 ? (activeTime - mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
247 : (mActiveDurationFromLastScreenUpdate - activeTime); in ProcessPowerTrackNtf()
254 standbyTime = (totalDuration > activeTime) ? (totalDuration - activeTime) in ProcessPowerTrackNtf()
255 : (activeTime - totalDuration); in ProcessPowerTrackNtf()
264 activeTime = totalDuration > standbyTime ? (totalDuration - standbyTime) in ProcessPowerTrackNtf()
280 (unsigned long long)activeTime, (unsigned long long)standbyTime, in ProcessPowerTrackNtf()
293 mActiveInfo.residencyInMsecSinceBoot += activeTime; in ProcessPowerTrackNtf()
DNfccPowerTracker.h123 NfccPowerStateInfo_t activeTime);