Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java83 private final long mBucketDuration; field in NetworkStatsRecorder
107 mBucketDuration = YEAR_IN_MILLIS; in NetworkStatsRecorder()
111 mSinceBoot = new NetworkStatsCollection(mBucketDuration); in NetworkStatsRecorder()
126 mBucketDuration = bucketDuration; in NetworkStatsRecorder()
190 final NetworkStatsCollection res = new NetworkStatsCollection(mBucketDuration); in loadLocked()
335 mRotator.rewriteAll(new RemoveUidRewriter(mBucketDuration, uids)); in removeUidsLocked()
440 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyNetworkLocked()
460 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyUidLocked()
DNetworkStatsCollection.java99 private final long mBucketDuration; field in NetworkStatsCollection
107 mBucketDuration = bucketDuration; in NetworkStatsCollection()
135 return mStartMillis + mBucketDuration; in getFirstAtomicBucketMillis()
165 final long mod = time % mBucketDuration; in roundUp()
168 time += mBucketDuration; in roundUp()
180 final long mod = time % mBucketDuration; in roundDown()
252 final int bucketEstimate = (int) MathUtils.constrain(((end - start) / mBucketDuration), 0, in getHistory()
253 (180 * DateUtils.DAY_IN_MILLIS) / mBucketDuration); in getHistory()
255 mBucketDuration, bucketEstimate, fields); in getHistory()
343 mBucketDuration, bucketEstimate, fields); in getHistory()
[all …]