Searched refs:totalBytes (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 104 public boolean isOverWarning(long totalBytes) { argument 105 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; 112 public boolean isOverLimit(long totalBytes) { argument 115 totalBytes += 2 * DEFAULT_MTU; 116 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes;
|
H A D | NetworkStatsHistory.java | 79 private long totalBytes; field in class:NetworkStatsHistory 112 totalBytes = 0; 130 totalBytes = in.readLong(); 143 out.writeLong(totalBytes); 158 totalBytes = total(rxBytes) + total(txBytes); 173 totalBytes = total(rxBytes) + total(txBytes); 233 return totalBytes; 343 totalBytes += entry.rxBytes + entry.txBytes; 463 // TODO: subtract removed values from totalBytes
|
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 643 final long totalBytes = getTotalBytes(policy.template, start, end); 645 if (policy.isOverLimit(totalBytes)) { 647 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 649 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 656 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 657 enqueueNotification(policy, TYPE_WARNING, totalBytes); 726 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 787 final long overBytes = totalBytes - policy.limitBytes; 924 final long totalBytes = getTotalBytes(policy.template, start, end); 927 final boolean overLimitWithoutSnooze = policy.isOverLimit(totalBytes) [all...] |
H A D | NetworkStatsCollection.java | 455 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { argument 458 mTotalBytes += totalBytes;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 305 int64_t totalBytes = 0; local 346 totalBytes += buffer->range_length(); 389 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 391 printf("decoded a total of %lld bytes\n", totalBytes);
|
Completed in 3632 milliseconds