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 | 648 final long totalBytes = getTotalBytes(policy.template, start, end); 650 if (policy.isOverLimit(totalBytes)) { 652 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 654 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 661 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 662 enqueueNotification(policy, TYPE_WARNING, totalBytes); 731 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 792 final long overBytes = totalBytes - policy.limitBytes; 929 final long totalBytes = getTotalBytes(policy.template, start, end); 932 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 | 306 int64_t totalBytes = 0; local 347 totalBytes += buffer->range_length(); 390 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 392 printf("decoded a total of %lld bytes\n", totalBytes);
|
Completed in 36 milliseconds