Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java561 final long bucketSpan = curEnd - curStart; in getValues() local
563 if (bucketSpan <= 0) continue; in getValues()
571 if (activeTime != null) entry.activeTime += activeTime[i] * overlap / bucketSpan; in getValues()
572 if (rxBytes != null) entry.rxBytes += rxBytes[i] * overlap / bucketSpan; in getValues()
573 if (rxPackets != null) entry.rxPackets += rxPackets[i] * overlap / bucketSpan; in getValues()
574 if (txBytes != null) entry.txBytes += txBytes[i] * overlap / bucketSpan; in getValues()
575 if (txPackets != null) entry.txPackets += txPackets[i] * overlap / bucketSpan; in getValues()
576 if (operations != null) entry.operations += operations[i] * overlap / bucketSpan; in getValues()