Searched refs:getTotal (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkStats.java423 final Entry entry = getTotal(null);
430 public Entry getTotal(Entry recycle) { method in class:NetworkStats
431 return getTotal(recycle, null, UID_ALL, false);
438 public Entry getTotal(Entry recycle, int limitUid) { method in class:NetworkStats
439 return getTotal(recycle, null, limitUid, false);
446 public Entry getTotal(Entry recycle, HashSet<String> limitIface) { method in class:NetworkStats
447 return getTotal(recycle, limitIface, UID_ALL, false);
451 return getTotal(recycle, null, UID_ALL, true);
461 private Entry getTotal( method in class:NetworkStats
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java106 NetworkStats.Entry entry = stats.getTotal(null);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java270 assertValues(stats.getTotal(null), 1280L, 80L, 0L, 2L, 20L);
271 assertValues(stats.getTotal(null, 100), 1152L, 72L, 0L, 2L, 20L);
272 assertValues(stats.getTotal(null, 101), 128L, 8L, 0L, 0L, 0L);
275 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L);
278 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java175 template, Long.MIN_VALUE, Long.MAX_VALUE).getTotal(null);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java117 return mSinceBoot.getSummary(template, Long.MIN_VALUE, Long.MAX_VALUE).getTotal(null);

Completed in 73 milliseconds