Home
last modified time | relevance | path

Searched refs:totalBytes (Results 1 – 22 of 22) 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/net/
DNetworkPolicy.java155 public boolean isOverWarning(long totalBytes) { in isOverWarning() argument
156 return warningBytes != WARNING_DISABLED && totalBytes >= warningBytes; in isOverWarning()
164 public boolean isOverLimit(long totalBytes) { in isOverLimit() argument
167 totalBytes += 2 * DEFAULT_MTU; in isOverLimit()
168 return limitBytes != LIMIT_DISABLED && totalBytes >= limitBytes; in isOverLimit()
DNetworkStatsHistory.java90 private long totalBytes; field in NetworkStatsHistory
130 totalBytes = 0; in NetworkStatsHistory()
149 totalBytes = in.readLong(); in NetworkStatsHistory()
162 out.writeLong(totalBytes); in writeToParcel()
177 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory()
192 totalBytes = total(rxBytes) + total(txBytes); in NetworkStatsHistory()
255 return totalBytes; in getTotalBytes()
306 if (rxBytes != null) totalBytes -= rxBytes[i]; in setValues()
307 if (txBytes != null) totalBytes -= txBytes[i]; in setValues()
318 if (rxBytes != null) totalBytes += rxBytes[i]; in setValues()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java127 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES in startAdvertising()
128 || totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) { in startAdvertising()
379 if (totalBytes(advertiseData, isConnectable) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
383 if (totalBytes(scanResponse, false) > MAX_LEGACY_ADVERTISING_DATA_BYTES) {
401 if (totalBytes(advertiseData, isConnectable) > maxData) {
405 if (totalBytes(scanResponse, false) > maxData) {
409 if (totalBytes(periodicData, false) > maxData) {
512 private int totalBytes(AdvertiseData data, boolean isFlagsIncluded) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java135 final long totalBytes = getUsageLevel(template, start, end); in getDataUsageInfo() local
136 if (totalBytes < 0L) { in getDataUsageInfo()
141 usage.usageLevel = totalBytes; in getDataUsageInfo()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java217 int totalBytes = 0; in generateBackupData() local
219 totalBytes += 2 * Integer.BYTES + key.getBytes().length in generateBackupData()
223 ByteBuffer buffer = ByteBuffer.allocate(totalBytes); in generateBackupData()
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java318 int totalBytes = Integer.parseInt(m.group(5));
323 totalFilePath, totalFilePathGoodRate, totalEntries, totalEntriesGoodRate, totalBytes,
328 totalBytes > 0 &&
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp431 size_t totalBytes = 0; in writeDump() local
479 totalBytes += rc; in writeDump()
489 bytesWritten = totalBytes; in writeDump()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java288 final long totalBytes = getNetworkTotalBytes(start, end); in getRemainingDailyBudget() local
289 final long remainingBytes = totalBytes == -1 ? 0 : Math.max(0, limitBytes - totalBytes); in getRemainingDailyBudget()
/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.java1326 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd); local
1348 if (policy.isOverWarning(totalBytes) && !policy.isOverLimit(totalBytes)) {
1351 enqueueNotification(policy, TYPE_WARNING, totalBytes, null);
1358 if (policy.isOverLimit(totalBytes)) {
1361 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes, null);
1363 enqueueNotification(policy, TYPE_LIMIT, totalBytes, null);
1414 long totalBytes = 0; in findRapidBlame() local
1423 totalBytes += bytes; in findRapidBlame()
1432 if (maxBytes > 0 && maxBytes > totalBytes / 2) { in findRapidBlame()
1497 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes, in enqueueNotification() argument
[all …]
DNetworkStatsCollection.java647 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
650 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/native/libs/input/
DInput.cpp128 size_t totalBytes = 0; in nextId() local
129 while (totalBytes < BUF_LEN) { in nextId()
136 totalBytes += bytes; in nextId()
/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/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java514 final AtomicLong totalBytes = new AtomicLong(0); in getTotalUsageBytesLocked() local
517 totalBytes.getAndAdd(blobMetadata.getSize()); in getTotalUsageBytesLocked()
520 return totalBytes.get(); in getTotalUsageBytesLocked()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java470 res.totalBytes = stats[0]; in queryExternalStatsForUser()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1444 final int totalBytes = Streams.copy(is, zos); in addEntry() local
1445 if (DEBUG) Log.v(TAG, "size of '" + entryName + "' entry: " + totalBytes + " bytes"); in addEntry()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9216 Landroid/app/usage/ExternalStorageStats;->totalBytes:J
12250 Landroid/bluetooth/le/BluetoothLeAdvertiser;->totalBytes(Landroid/bluetooth/le/AdvertiseData;Z)I