Searched defs:totalBytes (Results 1 - 6 of 6) sorted by path
/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 %" PRId64 " bytes\n", totalBytes);
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeAdvertiser.java | 119 if (totalBytes(advertiseData) > MAX_ADVERTISING_DATA_BYTES || 120 totalBytes(scanResponse) > MAX_ADVERTISING_DATA_BYTES) { 173 private int totalBytes(AdvertiseData data) { method in class:BluetoothLeAdvertiser
|
/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/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 703 final long totalBytes = getTotalBytes(policy.template, start, end); 705 if (policy.isOverLimit(totalBytes)) { 707 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 709 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 716 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 717 enqueueNotification(policy, TYPE_WARNING, totalBytes); 787 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 852 final long overBytes = totalBytes - policy.limitBytes; 992 final long totalBytes = getTotalBytes(policy.template, start, end); 995 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;
|
Completed in 140 milliseconds