/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsHistoryTest.java | 96 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, 109 stats.recordData(recordStart, recordStart + bucketDuration, 125 stats.recordData(recordStart, recordEnd, 144 stats.recordData(firstStart, firstStart + SECOND_IN_MILLIS, 146 stats.recordData(lastStart, lastStart + SECOND_IN_MILLIS, 157 stats.recordData(middleStart, middleEnd, 173 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, 176 stats.recordData(midStart, midStart + HOUR_IN_MILLIS, 188 stats1.recordData(TEST_START, TEST_START + 2 * HOUR_IN_MILLIS, 2000L, 1000L); 192 stats2.recordData(TEST_START_ [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 152 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, 173 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, 178 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, 183 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, 188 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0,
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 251 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 256 mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 261 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry);
|
H A D | NetworkStatsCollection.java | 264 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, method in class:NetworkStatsCollection 267 history.recordData(start, end, entry);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 287 public void recordData(long start, long end, long rxBytes, long txBytes) { method in class:NetworkStatsHistory 288 recordData(start, end, new NetworkStats.Entry( 296 public void recordData(long start, long end, NetworkStats.Entry entry) { method in class:NetworkStatsHistory 377 recordData(bucketStart, bucketEnd, entry); 570 recordData(curStart, curEnd, entry);
|