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

  /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/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/
NetworkStatsService.java 184 public final long bucketDuration;
188 public Config(long bucketDuration, long rotateAgeMillis, long deleteAgeMillis) {
189 this.bucketDuration = bucketDuration;
350 mNonMonotonicObserver, dropBox, prefix, config.bucketDuration, includeTags);
    [all...]

Completed in 241 milliseconds