Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/utils/
DNfccPowerTracker.cpp232 uint64_t standbyTime = 0, activeTime = 0; in ProcessPowerTrackNtf() local
234 activeTime = sPollCount * ACTIVE_TIME_PER_TIMER_COUNT_IN_MILLISEC; in ProcessPowerTrackNtf()
236 uint64_t error = (activeTime > mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
237 ? (activeTime - mActiveDurationFromLastScreenUpdate) in ProcessPowerTrackNtf()
238 : (mActiveDurationFromLastScreenUpdate - activeTime); in ProcessPowerTrackNtf()
245 standbyTime = (totalDuration > activeTime) ? (totalDuration - activeTime) in ProcessPowerTrackNtf()
246 : (activeTime - totalDuration); in ProcessPowerTrackNtf()
255 activeTime = totalDuration > standbyTime ? (totalDuration - standbyTime) in ProcessPowerTrackNtf()
271 (unsigned long long)activeTime, (unsigned long long)standbyTime, in ProcessPowerTrackNtf()
284 mActiveInfo.residencyInMsecSinceBoot += activeTime; in ProcessPowerTrackNtf()
DNfccPowerTracker.h123 NfccPowerStateInfo_t activeTime);