HomeSort by relevance Sort by last modified time
    Searched refs:bucketDuration (Results 1 - 7 of 7) sorted by null

  /frameworks/base/core/java/android/net/
NetworkStatsHistory.java 51 * {@link #bucketDuration}. Internally assumes that {@link #bucketStart} is
70 private long bucketDuration;
84 public long bucketDuration;
94 public NetworkStatsHistory(long bucketDuration) {
95 this(bucketDuration, 10, FIELD_ALL);
98 public NetworkStatsHistory(long bucketDuration, int initialSize) {
99 this(bucketDuration, initialSize, FIELD_ALL);
102 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) {
103 this.bucketDuration = bucketDuration;
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
ChartNetworkSeriesView.java 207 final long endTime = startTime + entry.bucketDuration;
262 final long bucketDuration = mStats.getBucketDuration();
266 final long longWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
267 / entry.bucketDuration;
271 futureTime += bucketDuration;
276 final long shortWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
277 / entry.bucketDuration;
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsRecorder.java 88 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) {
94 mBucketDuration = bucketDuration;
97 mPending = new NetworkStatsCollection(bucketDuration);
98 mSinceBoot = new NetworkStatsCollection(bucketDuration);
312 public RemoveUidRewriter(long bucketDuration, int[] uids) {
313 mTemp = new NetworkStatsCollection(bucketDuration);
NetworkStatsService.java 192 public final long bucketDuration;
196 public Config(long bucketDuration, long rotateAgeMillis, long deleteAgeMillis) {
197 this.bucketDuration = bucketDuration;
361 mNonMonotonicObserver, dropBox, prefix, config.bucketDuration, includeTags);
    [all...]
NetworkStatsCollection.java 82 public NetworkStatsCollection(long bucketDuration) {
83 mBucketDuration = bucketDuration;
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java 104 final long bucketDuration = HOUR_IN_MILLIS;
105 stats = new NetworkStatsHistory(bucketDuration);
108 final long recordStart = TEST_START + (bucketDuration / 2);
109 stats.recordData(recordStart, recordStart + bucketDuration,
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java     [all...]

Completed in 153 milliseconds