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

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java594 .andReturn(stats.getTotalBytes()).atLeastOnce();
657 .andReturn(stats.getTotalBytes()).atLeastOnce();
681 .andReturn(stats.getTotalBytes()).atLeastOnce();
705 .andReturn(stats.getTotalBytes()).atLeastOnce();
726 .andReturn(stats.getTotalBytes()).atLeastOnce();
746 .andReturn(stats.getTotalBytes()).atLeastOnce();
788 .andReturn(stats.getTotalBytes()).atLeastOnce();
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java208 final long pendingBytes = mPending.getTotalBytes();
368 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes());
H A DNetworkStatsCollection.java115 public long getTotalBytes() { method in class:NetworkStatsCollection
213 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes());
H A DNetworkPolicyManagerService.java648 final long totalBytes = getTotalBytes(policy.template, start, end);
929 final long totalBytes = getTotalBytes(policy.template, start, end);
1032 totalBytes = getTotalBytes(policy.template, start, currentTime);
1582 final long totalBytes = getTotalBytes(policy.template, start, end);
2001 private long getTotalBytes(NetworkTemplate template, long start, long end) { method in class:NetworkPolicyManagerService
H A DNetworkStatsService.java576 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/core/java/android/net/
H A DNetworkStats.java409 public long getTotalBytes() { method in class:NetworkStats
H A DNetworkStatsHistory.java232 public long getTotalBytes() { method in class:NetworkStatsHistory

Completed in 1973 milliseconds