Home
last modified time | relevance | path

Searched refs:totalBytes (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DStorageStatsSource.java67 public long totalBytes; field in StorageStatsSource.ExternalStorageStats
76 long totalBytes, long audioBytes, long videoBytes, long imageBytes, long appBytes) { in ExternalStorageStats() argument
77 this.totalBytes = totalBytes; in ExternalStorageStats()
90 totalBytes = stats.getTotalBytes(); in ExternalStorageStats()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DPrivateStorageInfo.java34 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/core/java/android/app/usage/
DExternalStorageStats.java31 /** {@hide} */ public long totalBytes; field in ExternalStorageStats
47 return totalBytes; in getTotalBytes()
111 this.totalBytes = in.readLong(); in ExternalStorageStats()
126 dest.writeLong(totalBytes); in writeToParcel()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java118 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES in startAdvertising()
119 || totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) { in startAdvertising()
353 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
357 if (totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
375 if (totalBytes(advertiseData, isConnectable) > maxData) {
379 if (totalBytes(scanResponse, false) > maxData) {
383 if (totalBytes(periodicData, false) > maxData) {
479 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) {
/frameworks/base/core/java/android/net/
DNetworkPolicy.java154 public boolean isOverWarning(long totalBytes) { in isOverWarning() argument
155 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; in isOverWarning()
163 public boolean isOverLimit(long totalBytes) { in isOverLimit() argument
166 totalBytes += 2 * DEFAULT_MTU; in isOverLimit()
167 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes; in isOverLimit()
DNetworkStatsHistory.java89 private long totalBytes; field in NetworkStatsHistory
129 totalBytes = 0; in NetworkStatsHistory()
148 totalBytes = in.readLong(); in NetworkStatsHistory()
161 out.writeLong(totalBytes); in writeToParcel()
176 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory()
191 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory()
254 return totalBytes; in getTotalBytes()
305 if (rxBytes != null) totalBytes -= rxBytes[i]; in setValues()
306 if (txBytes != null) totalBytes -= txBytes[i]; in setValues()
317 if (rxBytes != null) totalBytes += rxBytes[i]; in setValues()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java137 final long totalBytes = getUsageLevel(template, start, end); in getDataUsageInfo() local
138 if (totalBytes < 0L) { in getDataUsageInfo()
143 usage.usageLevel = totalBytes; in getDataUsageInfo()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp405 size_t totalBytes = 0; in writeDump() local
453 totalBytes += rc; in writeDump()
463 bytesWritten = totalBytes; in writeDump()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.h218 void noteDataDropped(const ConfigKey& key, const size_t totalBytes);
593 void noteDataDropped(const ConfigKey& key, const size_t totalBytes, int32_t timeSec);
DStatsdStats.cpp255 void StatsdStats::noteDataDropped(const ConfigKey& key, const size_t totalBytes) { in noteDataDropped() argument
256 noteDataDropped(key, totalBytes, getWallClockSec()); in noteDataDropped()
275 void StatsdStats::noteDataDropped(const ConfigKey& key, const size_t totalBytes, int32_t timeSec) { in noteDataDropped() argument
287 it->second->data_drop_bytes.push_back(totalBytes); in noteDataDropped()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java279 final long totalBytes = getNetworkTotalBytes(start, end); in getRemainingDailyBudget() local
280 final long remainingBytes = totalBytes == -1 ? 0 : Math.max(0, limitBytes - totalBytes); in getRemainingDailyBudget()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp550 size_t totalBytes = metricsManager.byteSize(); in flushIfNecessaryLocked() local
553 if (totalBytes > in flushIfNecessaryLocked()
556 StatsdStats::getInstance().noteDataDropped(key, totalBytes); in flushIfNecessaryLocked()
558 } else if ((totalBytes > StatsdStats::kBytesPerConfigTriggerGetData) || in flushIfNecessaryLocked()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp327 int64_t totalBytes = 0; in playSource() local
371 totalBytes += buffer->range_length(); in playSource()
416 printf("avg. %.2f KB/sec\n", totalBytes / 1024 * 1E6 / delay); in playSource()
418 printf("decoded a total of %" PRId64 " bytes\n", totalBytes); in playSource()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1171 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd); local
1193 if (policy.isOverWarning(totalBytes) && !policy.isOverLimit(totalBytes)) {
1196 enqueueNotification(policy, TYPE_WARNING, totalBytes, null);
1203 if (policy.isOverLimit(totalBytes)) {
1206 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes, null);
1208 enqueueNotification(policy, TYPE_LIMIT, totalBytes, null);
1259 long totalBytes = 0; in findRapidBlame() local
1268 totalBytes += bytes; in findRapidBlame()
1277 if (maxBytes > 0 && maxBytes > totalBytes / 2) { in findRapidBlame()
1338 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes, in enqueueNotification() argument
[all …]
DNetworkStatsCollection.java633 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
636 mTotalBytes += totalBytes; in noteRecordedHistory()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java200 final long totalBytes = file.getTotalSpace(); in check() local
225 usableBytes, totalBytes); in check() local
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java125 mStorageStats.totalBytes = 22L; in testPopulatedLogTask()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp167 size_t totalBytes = 0; in estimateBandwidth() local
172 totalBytes += it->mNumBytes; in estimateBandwidth()
176 (totalBytes * 8E6 / totalTimeUs) : *bandwidthBps; in estimateBandwidth()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java401 res.totalBytes = stats[0]; in queryExternalStatsForUser()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1219 final int totalBytes = Streams.copy(is, zos); in addEntry() local
1220 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9225 Landroid/app/usage/ExternalStorageStats;->totalBytes:J
12259 Landroid/bluetooth/le/BluetoothLeAdvertiser;->totalBytes(Landroid/bluetooth/le/AdvertiseData;Z)I
44783 Landroid/net/NetworkStatsHistory;->totalBytes:J