/frameworks/base/core/java/android/app/usage/ |
D | ExternalStorageStats.java | 31 /** {@hide} */ public long totalBytes; field in ExternalStorageStats 46 return totalBytes; in getTotalBytes() 105 this.totalBytes = in.readLong(); in ExternalStorageStats() 119 dest.writeLong(totalBytes); in writeToParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | PrivateStorageInfo.java | 34 public final long totalBytes; field in PrivateStorageInfo 36 public PrivateStorageInfo(long freeBytes, long totalBytes) { in PrivateStorageInfo() argument 38 this.totalBytes = totalBytes; in PrivateStorageInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | StorageStatsSource.java | 66 public long totalBytes; field in StorageStatsSource.ExternalStorageStats 75 long totalBytes, long audioBytes, long videoBytes, long imageBytes, long appBytes) { in ExternalStorageStats() argument 76 this.totalBytes = totalBytes; in ExternalStorageStats() 89 totalBytes = stats.getTotalBytes(); in ExternalStorageStats()
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicy.java | 114 public boolean isOverWarning(long totalBytes) { in isOverWarning() argument 115 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; in isOverWarning() 122 public boolean isOverLimit(long totalBytes) { in isOverLimit() argument 125 totalBytes += 2 * DEFAULT_MTU; in isOverLimit() 126 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes; in isOverLimit()
|
D | NetworkStatsHistory.java | 84 private long totalBytes; field in NetworkStatsHistory 117 totalBytes = 0; in NetworkStatsHistory() 135 totalBytes = in.readLong(); in NetworkStatsHistory() 148 out.writeLong(totalBytes); in writeToParcel() 163 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory() 178 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory() 238 return totalBytes; in getTotalBytes() 348 totalBytes += entry.rxBytes + entry.txBytes; in recordData()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeAdvertiser.java | 120 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES || in startAdvertising() 121 totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) { in startAdvertising() 356 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES) { 360 if (totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) { 378 if (totalBytes(advertiseData, isConnectable) > maxData) { 382 if (totalBytes(scanResponse, false) > maxData) { 386 if (totalBytes(periodicData, false) > maxData) { 472 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 173 final long totalBytes = entry.rxBytes + entry.txBytes; in getDataUsageInfo() local 176 usage.usageLevel = totalBytes; in getDataUsageInfo()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 312 int64_t totalBytes = 0; in playSource() local 353 totalBytes += buffer->range_length(); in playSource() 398 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); in playSource() 400 printf("decoded a total of %" PRId64 " bytes\n", totalBytes); in playSource()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1075 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNotificationsNL() local 1077 if (policy.isOverLimit(totalBytes)) { in updateNotificationsNL() 1079 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); in updateNotificationsNL() 1081 enqueueNotification(policy, TYPE_LIMIT, totalBytes); in updateNotificationsNL() 1088 if (policy.isOverWarning(totalBytes) && policy.lastWarningSnooze < start) { in updateNotificationsNL() 1089 enqueueNotification(policy, TYPE_WARNING, totalBytes); in updateNotificationsNL() 1149 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { in enqueueNotification() argument 1218 final long overBytes = totalBytes - policy.limitBytes; in enqueueNotification() 1533 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNetworkEnabledNL() local 1536 final boolean overLimitWithoutSnooze = policy.isOverLimit(totalBytes) in updateNetworkEnabledNL() [all …]
|
D | NetworkStatsCollection.java | 527 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument 530 mTotalBytes += totalBytes; in noteRecordedHistory()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 214 final long totalBytes = file.getTotalSpace(); in check() local 239 usableBytes, totalBytes); in check() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 125 mStorageStats.totalBytes = 22L; in testPopulatedLogTask()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.cpp | 162 size_t totalBytes = 0; in estimateBandwidth() local 167 totalBytes += it->mNumBytes; in estimateBandwidth() 171 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 390 res.totalBytes = stats[0]; in queryExternalStatsForUser()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1210 final int totalBytes = Streams.copy(is, zos); in addEntry() local 1211 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
|