Home
last modified time | relevance | path

Searched refs:NetworkStatsCollection (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java89 private final NetworkStatsCollection mPending;
90 private final NetworkStatsCollection mSinceBoot;
94 private WeakReference<NetworkStatsCollection> mComplete;
111 mSinceBoot = new NetworkStatsCollection(mBucketDuration); in NetworkStatsRecorder()
129 mPending = new NetworkStatsCollection(bucketDuration); in NetworkStatsRecorder()
130 mSinceBoot = new NetworkStatsCollection(bucketDuration); in NetworkStatsRecorder()
159 public NetworkStatsCollection getSinceBoot() { in getSinceBoot()
169 public NetworkStatsCollection getOrLoadCompleteLocked() { in getOrLoadCompleteLocked()
171 NetworkStatsCollection res = mComplete != null ? mComplete.get() : null; in getOrLoadCompleteLocked()
174 mComplete = new WeakReference<NetworkStatsCollection>(res); in getOrLoadCompleteLocked()
[all …]
DNetworkStatsService.java276 private NetworkStatsCollection mXtStatsCached;
569 private NetworkStatsCollection mUidComplete; in openSessionInternal()
570 private NetworkStatsCollection mUidTagComplete; in openSessionInternal()
572 private NetworkStatsCollection getUidComplete() { in openSessionInternal()
581 private NetworkStatsCollection getUidTagComplete() { in openSessionInternal()
751 final NetworkStatsCollection uidComplete; in getNetworkUidBytes()
DNetworkStatsCollection.java84 public class NetworkStatsCollection implements FileRotator.Reader { class
106 public NetworkStatsCollection(long bucketDuration) { in NetworkStatsCollection() method in NetworkStatsCollection
427 public void recordCollection(NetworkStatsCollection another) { in recordCollection()
DNetworkStatsObservers.java235 protected NetworkStatsCollection mCollection;
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java33 import static com.android.server.net.NetworkStatsCollection.multiplySafe;
114 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyNetwork()
142 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyUid()
170 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testReadLegacyUidTags()
194 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); in testStartEndAtomicBuckets()
209 final NetworkStatsCollection collection = new NetworkStatsCollection(HOUR_IN_MILLIS); in testAccessLevels()
274 … final NetworkStatsCollection emptyCollection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testAugmentPlan()
275 final NetworkStatsCollection collection = new NetworkStatsCollection(30 * MINUTE_IN_MILLIS); in testAugmentPlan()
465 final NetworkStatsCollection large = new NetworkStatsCollection(HOUR_IN_MILLIS); in testAugmentPlanGigantic()
484 final NetworkStatsCollection coll = new NetworkStatsCollection(HOUR_IN_MILLIS); in testRounding()
[all …]
/frameworks/base/core/proto/android/service/
Dnetstats.proto89 // Corresponds to NetworkStatsCollection.
96 // Corresponds to NetworkStatsCollection.mStats.
105 // Corresponds to NetworkStatsCollection.Key.
/frameworks/base/services/
Dart-profile2813 Lcom/android/server/net/NetworkStatsCollection$Key;
2814 Lcom/android/server/net/NetworkStatsCollection;