/frameworks/base/tests/net/java/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/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 256 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 261 mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); 266 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry);
|
H A D | NetworkStatsCollection.java | 296 combined.recordData(augmentStart, augmentEnd, 387 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, method in class:NetworkStatsCollection 390 history.recordData(start, end, entry);
|
/frameworks/base/tests/net/java/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 185 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS, 206 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, 211 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, 216 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, 221 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0, 451 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B,
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 309 public void recordData(long start, long end, long rxBytes, long txBytes) { method in class:NetworkStatsHistory 310 recordData(start, end, new NetworkStats.Entry( 318 public void recordData(long start, long end, NetworkStats.Entry entry) { method in class:NetworkStatsHistory 399 recordData(bucketStart, bucketEnd, entry); 592 recordData(curStart, curEnd, entry);
|