/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | StorageStatsSource.java | 90 totalBytes = stats.getTotalBytes(); in ExternalStorageStats() 107 long getTotalBytes(); in getTotalBytes() method 134 public long getTotalBytes() { in getTotalBytes() method in StorageStatsSource.AppStorageStatsImpl
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageManagerVolumeProvider.java | 53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getTotalBytes() method in StorageManagerVolumeProvider 54 return stats.getTotalBytes(volume.getFsUuid()); in getTotalBytes()
|
D | PrivateStorageInfo.java | 50 privateTotalBytes += sm.getTotalBytes(stats, info); in getPrivateStorageInfo() 64 return stats.getTotalBytes(info.getFsUuid()); in getTotalSize()
|
D | StorageMeasurement.java | 163 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage() 188 addValue(details.usersSize, user.id, stats.getTotalBytes()); in measureExactStorage() 195 final long miscBytes = stats.getTotalBytes() - stats.getAudioBytes() in measureExactStorage()
|
D | StorageVolumeProvider.java | 50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getTotalBytes() method
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 107 public @BytesLong long getTotalBytes(@NonNull UUID storageUuid) throws IOException { in getTotalBytes() method in StorageStatsManager 109 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes() 120 public long getTotalBytes(String uuid) throws IOException { in getTotalBytes() method in StorageStatsManager 121 return getTotalBytes(convert(uuid)); in getTotalBytes()
|
D | IStorageStatsManager.aidl | 26 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes() method
|
D | ExternalStorageStats.java | 46 public @BytesLong long getTotalBytes() { in getTotalBytes() method in ExternalStorageStats
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
D | StorageStatsSourceTest.java | 39 assertThat(stats.getTotalBytes()).isEqualTo(110); in AppStorageStatsImpl_totalCorrectly()
|
/frameworks/base/core/java/android/os/ |
D | StatFs.java | 154 public long getTotalBytes() { in getTotalBytes() method in StatFs
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 313 assertEquals(0L, history.getTotalBytes()); in testAugmentPlan() 365 assertEquals(200000L, history.getTotalBytes()); in testAugmentPlan() 420 assertEquals(400000L, history.getTotalBytes()); in testAugmentPlan() 477 assertEquals(12_730_893_164L, getHistory(large, null, TIME_A, TIME_C).getTotalBytes()); in testAugmentPlanGigantic() 483 assertEquals(4_939_212_386L, getHistory(large, plan, TIME_A, TIME_C).getTotalBytes()); in testAugmentPlanGigantic()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 283 final long pendingBytes = mPending.getTotalBytes(); in maybePersistLocked() 461 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes()); in dumpLocked() 475 proto.write(NetworkStatsRecorderProto.PENDING_TOTAL_BYTES, mPending.getTotalBytes()); in writeToProtoLocked()
|
D | NetworkStatsObservers.java | 368 return stats.getTotalBytes(); in getTotalBytesForNetwork() 413 return history.getTotalBytes(); in getTotalBytesForNetworkUid()
|
D | NetworkStatsCollection.java | 144 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsCollection 295 final long beforeTotal = combined.getTotalBytes(); in getHistory() 312 final long deltaTotal = combined.getTotalBytes() - beforeTotal; in getHistory() 389 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes()); in recordHistory()
|
D | NetworkPolicyManagerService.java | 1171 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd); 1222 final long recentBytes = getTotalBytes(policy.template, recentStart, recentEnd); 1727 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNetworkEnabledNL() 1911 final long totalBytes = getTotalBytes(policy.template, start, end); 2012 final long totalBytes = getTotalBytes( 4962 private long getTotalBytes(NetworkTemplate template, long start, long end) { in getTotalBytes() method
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 290 assertEquals(4L, result.getTotalBytes()); in testSubtractMissingRows() 298 assertEquals(384L, iface.getTotalBytes()); in testTotalBytes() 304 assertEquals(96L, uidSet.getTotalBytes()); in testTotalBytes() 313 assertEquals(64L, uidTag.getTotalBytes()); in testTotalBytes() 322 assertEquals(96L, uidMetered.getTotalBytes()); in testTotalBytes() 331 assertEquals(96L, uidRoaming.getTotalBytes()); in testTotalBytes() 565 assertEquals(128L + 512L + 128L, original.getTotalBytes()); in testClone() 566 assertEquals(128L + 512L, clone.getTotalBytes()); in testClone()
|
D | NetworkStatsHistoryTest.java | 522 assertEquals(1024L + 2048L, stats.getTotalBytes()); in testSetValues() 529 assertEquals(512L + 4096L, stats.getTotalBytes()); in testSetValues()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 178 public long getTotalBytes(String volumeUuid, String callingPackage) { in getTotalBytes() method in StorageStatsService 480 mMinimumThresholdBytes = mStats.getTotalBytes() * MINIMUM_CHANGE_DELTA; in H()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | FileCollector.java | 179 stats.getTotalBytes() in getMeasurementResult()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 1011 .thenReturn(stats.getTotalBytes()); 1268 currentTimeMillis())).thenReturn(stats.getTotalBytes()); 1698 .thenReturn(stats.getTotalBytes()); in testStatsProviderLimitReached() 1722 .thenReturn(stats.getTotalBytes()); in testStatsProviderLimitReached()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 1437 e.writeLong(statFsData.getTotalBytes()); in pullDirectoryUsage() 1443 e.writeLong(statFsCache.getTotalBytes()); in pullDirectoryUsage() 1449 e.writeLong(statFsSystem.getTotalBytes()); in pullDirectoryUsage()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStatsHistory.java | 253 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsHistory
|
D | NetworkStats.java | 852 public long getTotalBytes() { in getTotalBytes() method in NetworkStats
|
/frameworks/base/api/ |
D | removed.txt | 114 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 114 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
|