Searched refs:totalBytes (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 114 public boolean isOverWarning(long totalBytes) { argument 115 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; 122 public boolean isOverLimit(long totalBytes) { argument 125 totalBytes += 2 * DEFAULT_MTU; 126 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/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 163 final long totalBytes = entry.rxBytes + entry.txBytes; 166 usage.usageLevel = totalBytes;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 309 int64_t totalBytes = 0; local 350 totalBytes += buffer->range_length(); 395 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); 397 printf("decoded a total of %" PRId64 " bytes\n", totalBytes);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 927 final long totalBytes = getTotalBytes(policy.template, start, end); 929 if (policy.isOverLimit(totalBytes)) { 931 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 933 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 940 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 941 enqueueNotification(policy, TYPE_WARNING, totalBytes); 1009 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 1074 final long overBytes = totalBytes - policy.limitBytes; 1176 final long totalBytes = getTotalBytes(policy.template, start, end); 1179 final boolean overLimitWithoutSnooze = policy.isOverLimit(totalBytes) [all...] |
H A D | NetworkStatsCollection.java | 520 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { argument 523 mTotalBytes += 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;
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportProgressService.java | 1178 final int totalBytes = Streams.copy(is, zos); 1179 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes");
|
Completed in 392 milliseconds