Searched refs:getTotalBytes (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java207 final long pendingBytes = mPending.getTotalBytes();
363 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes());
H A DNetworkStatsCollection.java114 public long getTotalBytes() { method in class:NetworkStatsCollection
212 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes());
H A DNetworkPolicyManagerService.java609 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 DNetworkStatsService.java565 return internalGetSummaryForNetwork(template, start, end).getTotalBytes();
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java181 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 DNetworkPolicyManagerServiceTest.java635 .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 DNetworkStats.java408 public long getTotalBytes() { method in class:NetworkStats
H A DNetworkStatsHistory.java226 public long getTotalBytes() { method in class:NetworkStatsHistory

Completed in 157 milliseconds