Searched refs:getTotalBytes (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 207 final long pendingBytes = mPending.getTotalBytes(); 363 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes());
|
H A D | NetworkStatsCollection.java | 114 public long getTotalBytes() { method in class:NetworkStatsCollection 212 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes());
|
H A D | NetworkPolicyManagerService.java | 609 final long totalBytes = getTotalBytes(policy.template, start, end); 886 final long totalBytes = getTotalBytes(policy.template, start, end); 989 totalBytes = getTotalBytes(policy.template, start, currentTime); 1514 final long totalBytes = getTotalBytes(policy.template, start, end); 1934 private long getTotalBytes(NetworkTemplate template, long start, long end) { method in class:NetworkPolicyManagerService
|
H A D | NetworkStatsService.java | 565 return internalGetSummaryForNetwork(template, start, end).getTotalBytes();
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 181 assertEquals(4L, result.getTotalBytes()); 188 assertEquals(384L, iface.getTotalBytes()); 194 assertEquals(96L, uidSet.getTotalBytes()); 203 assertEquals(64L, uidTag.getTotalBytes()); 309 assertEquals(128L + 512L + 128L, original.getTotalBytes()); 310 assertEquals(128L + 512L, clone.getTotalBytes());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 635 .andReturn(stats.getTotalBytes()).atLeastOnce(); 707 .andReturn(stats.getTotalBytes()).atLeastOnce(); 731 .andReturn(stats.getTotalBytes()).atLeastOnce(); 755 .andReturn(stats.getTotalBytes()).atLeastOnce(); 776 .andReturn(stats.getTotalBytes()).atLeastOnce(); 796 .andReturn(stats.getTotalBytes()).atLeastOnce(); 838 .andReturn(stats.getTotalBytes()).atLeastOnce();
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 408 public long getTotalBytes() { method in class:NetworkStats
|
H A D | NetworkStatsHistory.java | 226 public long getTotalBytes() { method in class:NetworkStatsHistory
|
Completed in 157 milliseconds