/frameworks/base/core/java/android/net/ |
D | NetworkStatsHistory.java | 80 private long bucketDuration; field in NetworkStatsHistory 95 public long bucketDuration; field in NetworkStatsHistory.Entry 111 public NetworkStatsHistory(long bucketDuration) { in NetworkStatsHistory() argument 112 this(bucketDuration, 10, FIELD_ALL); in NetworkStatsHistory() 115 public NetworkStatsHistory(long bucketDuration, int initialSize) { in NetworkStatsHistory() argument 116 this(bucketDuration, initialSize, FIELD_ALL); in NetworkStatsHistory() 119 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { in NetworkStatsHistory() argument 120 this.bucketDuration = bucketDuration; in NetworkStatsHistory() 132 public NetworkStatsHistory(NetworkStatsHistory existing, long bucketDuration) { in NetworkStatsHistory() argument 133 this(bucketDuration, existing.estimateResizeBuckets(bucketDuration)); in NetworkStatsHistory() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 117 DropBoxManager dropBox, String cookie, long bucketDuration, boolean onlyTags) { in NetworkStatsRecorder() argument 123 mBucketDuration = bucketDuration; in NetworkStatsRecorder() 126 mPending = new NetworkStatsCollection(bucketDuration); in NetworkStatsRecorder() 127 mSinceBoot = new NetworkStatsCollection(bucketDuration); in NetworkStatsRecorder() 391 public RemoveUidRewriter(long bucketDuration, int[] uids) { in RemoveUidRewriter() argument 392 mTemp = new NetworkStatsCollection(bucketDuration); in RemoveUidRewriter()
|
D | NetworkStatsCollection.java | 107 public NetworkStatsCollection(long bucketDuration) { in NetworkStatsCollection() argument 108 mBucketDuration = bucketDuration; in NetworkStatsCollection() 299 && entry.bucketStart + entry.bucketDuration <= augmentEnd) { in getHistory()
|
D | NetworkStatsService.java | 252 public final long bucketDuration; field in NetworkStatsService.NetworkStatsSettings.Config 256 public Config(long bucketDuration, long rotateAgeMillis, long deleteAgeMillis) { in Config() argument 257 this.bucketDuration = bucketDuration; in Config() 579 mNonMonotonicObserver, dropBox, prefix, config.bucketDuration, includeTags);
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 118 final long bucketDuration = HOUR_IN_MILLIS; in testRecordEqualBuckets() local 119 stats = new NetworkStatsHistory(bucketDuration); in testRecordEqualBuckets() 122 final long recordStart = TEST_START + (bucketDuration / 2); in testRecordEqualBuckets() 123 stats.recordData(recordStart, recordStart + bucketDuration, in testRecordEqualBuckets()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 669 mRecycledHistoryEntry.bucketDuration; in getNextHistoryBucket()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1405 private void expectSettings(long persistBytes, long bucketDuration, long deleteAge) 1412 final Config config = new Config(bucketDuration, deleteAge, deleteAge);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44751 Landroid/net/NetworkStatsHistory;->bucketDuration:J
|