Home
last modified time | relevance | path

Searched refs:getTotalBytes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java183 assertEquals(4L, result.getTotalBytes()); in testSubtractMissingRows()
190 assertEquals(384L, iface.getTotalBytes()); in testTotalBytes()
196 assertEquals(96L, uidSet.getTotalBytes()); in testTotalBytes()
205 assertEquals(64L, uidTag.getTotalBytes()); in testTotalBytes()
311 assertEquals(128L + 512L + 128L, original.getTotalBytes()); in testClone()
312 assertEquals(128L + 512L, clone.getTotalBytes()); in testClone()
/frameworks/base/core/java/android/os/
DStatFs.java145 public long getTotalBytes() { in getTotalBytes() method in StatFs
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java613 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testNetworkPolicyAppliedCycleLastMonth()
676 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testOverWarningLimitNotification()
700 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testOverWarningLimitNotification()
724 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testOverWarningLimitNotification()
745 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testOverWarningLimitNotification()
765 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testOverWarningLimitNotification()
807 .andReturn(stats.getTotalBytes()).atLeastOnce(); in testMeteredNetworkWithoutLimit()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java233 final long pendingBytes = mPending.getTotalBytes(); in maybePersistLocked()
399 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes()); in dumpLocked()
DNetworkStatsCollection.java123 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsCollection
250 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes()); in recordHistory()
DNetworkPolicyManagerService.java794 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNotificationsLocked()
1087 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNetworkEnabledLocked()
1195 totalBytes = getTotalBytes(policy.template, start, currentTime);
1856 final long totalBytes = getTotalBytes(policy.template, start, end); in getNetworkQuotaInfoUnchecked()
2503 private long getTotalBytes(NetworkTemplate template, long start, long end) { in getTotalBytes() method
DNetworkStatsService.java635 return internalGetSummaryForNetwork(template, start, end).getTotalBytes(); in getNetworkTotalBytes()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java234 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsHistory
DNetworkStats.java458 public long getTotalBytes() { in getTotalBytes() method in NetworkStats
/frameworks/base/api/
Dcurrent.txt23531 method public long getTotalBytes();
Dsystem-current.txt25483 method public long getTotalBytes();