Searched refs:mBucketDuration (Results 1 – 2 of 2) sorted by relevance
80 private final long mBucketDuration; field in NetworkStatsRecorder104 mBucketDuration = YEAR_IN_MILLIS; in NetworkStatsRecorder()108 mSinceBoot = new NetworkStatsCollection(mBucketDuration); in NetworkStatsRecorder()123 mBucketDuration = bucketDuration; in NetworkStatsRecorder()187 final NetworkStatsCollection res = new NetworkStatsCollection(mBucketDuration); in loadLocked()320 mRotator.rewriteAll(new RemoveUidRewriter(mBucketDuration, uids)); in removeUidsLocked()425 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyNetworkLocked()445 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); in importLegacyUidLocked()
100 private final long mBucketDuration; field in NetworkStatsCollection108 mBucketDuration = bucketDuration; in NetworkStatsCollection()136 return mStartMillis + mBucketDuration; in getFirstAtomicBucketMillis()166 final long mod = time % mBucketDuration; in roundUp()169 time += mBucketDuration; in roundUp()181 final long mod = time % mBucketDuration; in roundDown()224 final int bucketEstimate = (int) MathUtils.constrain(((end - start) / mBucketDuration), 0, in getHistory()225 (180 * DateUtils.DAY_IN_MILLIS) / mBucketDuration); in getHistory()227 mBucketDuration, bucketEstimate, fields); in getHistory()319 mBucketDuration, bucketEstimate, fields); in getHistory()[all …]