Home
last modified time | relevance | path

Searched refs:recordData (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java108 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, in testRecordSingleBucket()
122 stats.recordData(recordStart, recordStart + bucketDuration, in testRecordEqualBuckets()
139 stats.recordData(recordStart, recordEnd, in testRecordTouchingBuckets()
159 stats.recordData(firstStart, firstStart + SECOND_IN_MILLIS, in testRecordGapBuckets()
161 stats.recordData(lastStart, lastStart + SECOND_IN_MILLIS, in testRecordGapBuckets()
172 stats.recordData(middleStart, middleEnd, in testRecordGapBuckets()
189 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, in testRecordOverlapBuckets()
192 stats.recordData(midStart, midStart + HOUR_IN_MILLIS, in testRecordOverlapBuckets()
205 stats1.recordData(TEST_START, TEST_START + 2 * HOUR_IN_MILLIS, 2000L, 1000L); in testRecordEntireGapIdentical()
209 stats2.recordData(TEST_START_2, TEST_START_2 + 2 * HOUR_IN_MILLIS, 1000L, 500L); in testRecordEntireGapIdentical()
[all …]
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java98 history1.recordData(10, 20, uid1Entry1); in testQueryDetails()
99 history1.recordData(20, 30, uid1Entry2); in testQueryDetails()
102 history1.recordData(30, 40, uid2Entry1); in testQueryDetails()
103 history1.recordData(35, 45, uid2Entry2); in testQueryDetails()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java199 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, in testStartEndAtomicBuckets()
221 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, in testAccessLevels()
226 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
231 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
236 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
469 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java270 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
275 … mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
280 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
DNetworkStatsCollection.java308 combined.recordData(augmentStart, augmentEnd, in getHistory()
401 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() method in NetworkStatsCollection
404 history.recordData(start, end, entry); in recordData()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java311 public void recordData(long start, long end, long rxBytes, long txBytes) { in recordData() method in NetworkStatsHistory
312 recordData(start, end, new NetworkStats.Entry( in recordData()
320 public void recordData(long start, long end, NetworkStats.Entry entry) { in recordData() method in NetworkStatsHistory
401 recordData(bucketStart, bucketEnd, entry); in recordHistory()
609 recordData(curStart, curEnd, entry); in generateRandom()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1044 history.recordData(start, end, in testNotificationWarningLimitSnooze()
1061 history.recordData(start, end, in testNotificationWarningLimitSnooze()
1079 history.recordData(start, end, in testNotificationWarningLimitSnooze()
1149 history.recordData(start, end, in testNotificationRapid()
1161 history.recordData(start, end, in testNotificationRapid()
1189 history.recordData(start, end, in testNotificationRapid()
1528 history.recordData(start, end, in testOpportunisticQuota()
/frameworks/base/config/
Dhiddenapi-private-dex.txt55916 Landroid/net/NetworkStatsHistory;->recordData(JJJJ)V
55917 Landroid/net/NetworkStatsHistory;->recordData(JJLandroid/net/NetworkStats$Entry;)V
Dboot-image-profile.txt26268 HSPLandroid/net/NetworkStatsHistory;->recordData(JJLandroid/net/NetworkStats$Entry;)V