Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DWifiPowerStatsProcessor.java350 long scanDuration = mStatsLayout.getUidScanTime(mTmpUidStatsArray) in computeUidPowerEstimates() local
352 power += intermediates.scanPower * scanDuration / totalScanDuration; in computeUidPowerEstimates()
363 long scanDuration = mStatsLayout.getUidScanTime(mTmpUidStatsArray); in computeUidPowerEstimates() local
364 power += intermediates.basicScanPower * scanDuration in computeUidPowerEstimates()
DMobileRadioPowerStatsCollector.java265 long scanDuration = mScanDurationSupplier.getAsLong(); in collectModemActivityInfo() local
266 if (scanDuration >= mLastScanDuration) { in collectModemActivityInfo()
267 mLayout.setDeviceScanTime(mDeviceStats, scanDuration - mLastScanDuration); in collectModemActivityInfo()
269 mLastScanDuration = scanDuration; in collectModemActivityInfo()
DWifiPowerStatsCollector.java200 long scanDuration = activityInfo.getControllerScanDurationMillis() in collectWifiActivityInfo() local
207 mLayout.setDeviceScanTime(mDeviceStats, scanDuration); in collectWifiActivityInfo()
210 mPowerStats.durationMs = rxDuration + txDuration + scanDuration + idleDuration; in collectWifiActivityInfo()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DWifiPowerCalculatorTest.java379 int stackState, long txDuration, long rxDuration, long scanDuration, in buildWifiActivityEnergyInfo() argument
387 when(info.getControllerScanDurationMillis()).thenReturn(scanDuration); in buildWifiActivityEnergyInfo()
394 scanDuration, idleDuration); in buildWifiActivityEnergyInfo()