Searched defs:totalBytes (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 80 public boolean isOverLimit(long totalBytes) { argument 83 totalBytes += 2 * DEFAULT_MTU; 84 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDebug.java | 101 public long totalBytes; field in class:SQLiteDebug.PagerStats
|
/frameworks/base/cmds/stagefright/ |
H A D | stagefright.cpp | 309 int64_t totalBytes = 0; local 350 totalBytes += buffer->range_length(); 393 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 395 printf("decoded a total of %lld bytes\n", totalBytes);
|
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 456 final long totalBytes = getTotalBytes(policy.template, start, end); 458 if (policy.isOverLimit(totalBytes)) { 460 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 462 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 469 if (policy.warningBytes != WARNING_DISABLED && totalBytes >= policy.warningBytes) { 470 enqueueNotification(policy, TYPE_WARNING, totalBytes); 531 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 586 final long overBytes = totalBytes - policy.limitBytes; 718 final long totalBytes = getTotalBytes(policy.template, start, end); 721 final boolean overLimit = policy.isOverLimit(totalBytes) [all...] |
Completed in 190 milliseconds