Searched defs:totalBytes (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | PrivateStorageInfo.java | 32 public final long totalBytes; field in class:PrivateStorageInfo 34 private PrivateStorageInfo(long freeBytes, long totalBytes) { argument 36 this.totalBytes = totalBytes;
|
/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/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 520 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { argument 523 mTotalBytes += totalBytes;
|
H A D | NetworkPolicyManagerService.java | 962 final long totalBytes = getTotalBytes(policy.template, start, end); 964 if (policy.isOverLimit(totalBytes)) { 966 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); 968 enqueueNotification(policy, TYPE_LIMIT, totalBytes); 975 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { 976 enqueueNotification(policy, TYPE_WARNING, totalBytes); 1044 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { argument 1111 final long overBytes = totalBytes - policy.limitBytes; 1213 final long totalBytes = getTotalBytes(policy.template, start, end); 1216 final boolean overLimitWithoutSnooze = policy.isOverLimit(totalBytes) [all...] |
/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/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 391 milliseconds