Home
last modified time | relevance | path

Searched refs:bucketDuration (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java80 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/
DNetworkStatsRecorder.java117 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()
DNetworkStatsCollection.java107 public NetworkStatsCollection(long bucketDuration) { in NetworkStatsCollection() argument
108 mBucketDuration = bucketDuration; in NetworkStatsCollection()
299 && entry.bucketStart + entry.bucketDuration <= augmentEnd) { in getHistory()
DNetworkStatsService.java252 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/
DNetworkStatsHistoryTest.java118 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/
DNetworkStats.java669 mRecycledHistoryEntry.bucketDuration; in getNextHistoryBucket()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1405 private void expectSettings(long persistBytes, long bucketDuration, long deleteAge)
1412 final Config config = new Config(bucketDuration, deleteAge, deleteAge);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44751 Landroid/net/NetworkStatsHistory;->bucketDuration:J