Searched refs:totalBytes (Results 1 - 9 of 9) 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 | 81 private long totalBytes; field in class:NetworkStatsHistory 114 totalBytes = 0; 132 totalBytes = in.readLong(); 145 out.writeLong(totalBytes); 160 totalBytes = total(rxBytes) + total(txBytes); 175 totalBytes = total(rxBytes) + total(txBytes); 235 return totalBytes; 345 totalBytes += entry.rxBytes + entry.txBytes; 465 // TODO: subtract removed values from totalBytes
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeAdvertiser.java | 121 if (totalBytes(advertiseData, isConnectable) > MAX_ADVERTISING_DATA_BYTES || 122 totalBytes(scanResponse, false) > MAX_ADVERTISING_DATA_BYTES) { 174 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) { method in class:BluetoothLeAdvertiser
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 794 final long totalBytes = getTotalBytes(policy.template, start, end); 796 if (policy.isOverLimit(totalBytes)) { 798 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 800 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 807 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 808 enqueueNotification(policy, TYPE_WARNING, totalBytes); 881 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 946 final long overBytes = totalBytes - policy.limitBytes; 1087 final long totalBytes = getTotalBytes(policy.template, start, end); 1090 final boolean overLimitWithoutSnooze = policy.isOverLimit(totalBytes) [all...] |
H A D | NetworkStatsCollection.java | 494 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { argument 497 mTotalBytes += totalBytes;
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 220 int totalBytes = Streams.copy(is, zos); 221 Log.v(TAG, "size of original bugreport: " + totalBytes + " bytes");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | MobileDataControllerImpl.java | 154 final long totalBytes = entry.rxBytes + entry.txBytes; 156 usage.usageLevel = totalBytes;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 307 int64_t totalBytes = 0; local 348 totalBytes += buffer->range_length(); 391 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 393 printf("decoded a total of %" PRId64 " bytes\n", totalBytes);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 167 size_t totalBytes = 0; local 172 totalBytes += it->mNumBytes; 176 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps;
|
Completed in 208 milliseconds