/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 | 112 public @BytesLong long getTotalBytes(@NonNull UUID storageUuid) throws IOException { in getTotalBytes() method in StorageStatsManager 114 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes() 125 public long getTotalBytes(String uuid) throws IOException { in getTotalBytes() method in StorageStatsManager 126 return getTotalBytes(convert(uuid)); in getTotalBytes()
|
D | ExternalStorageStats.java | 46 public @BytesLong long getTotalBytes() { in getTotalBytes() method in ExternalStorageStats
|
D | IStorageStatsManager.aidl | 28 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes() method
|
/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 | 312 assertEquals(0L, history.getTotalBytes()); in testAugmentPlan() 364 assertEquals(200000L, history.getTotalBytes()); in testAugmentPlan() 419 assertEquals(400000L, history.getTotalBytes()); in testAugmentPlan() 476 assertEquals(12_730_893_164L, getHistory(large, null, TIME_A, TIME_C).getTotalBytes()); in testAugmentPlanGigantic() 482 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 dumpDebugLocked()
|
D | NetworkStatsObservers.java | 368 return stats.getTotalBytes(); in getTotalBytesForNetwork() 413 return history.getTotalBytes(); in getTotalBytesForNetworkUid()
|
D | NetworkStatsCollection.java | 143 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsCollection 321 final long beforeTotal = combined.getTotalBytes(); in getHistory() 336 final long deltaTotal = combined.getTotalBytes() - beforeTotal; in getHistory() 413 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes()); in recordHistory()
|
D | NetworkPolicyManagerService.java | 1177 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd); 1228 final long recentBytes = getTotalBytes(policy.template, recentStart, recentEnd); 1733 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNetworkEnabledNL() 1918 final long totalBytes = getTotalBytes(policy.template, start, end); 2019 final long totalBytes = getTotalBytes( 5008 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/core/java/com/android/server/storage/ |
D | FileCollector.java | 179 stats.getTotalBytes() in getMeasurementResult()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 217 public long getTotalBytes(String volumeUuid, String callingPackage) { in getTotalBytes() method in StorageStatsService 541 mMinimumThresholdBytes = mStats.getTotalBytes() * MINIMUM_CHANGE_DELTA; in H()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 1089 .thenReturn(stats.getTotalBytes()); 1346 currentTimeMillis())).thenReturn(stats.getTotalBytes()); 1775 .thenReturn(stats.getTotalBytes()); in testStatsProviderLimitReached() 1799 .thenReturn(stats.getTotalBytes()); in testStatsProviderLimitReached()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStatsHistory.java | 252 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsHistory
|
D | NetworkStats.java | 852 public long getTotalBytes() { in getTotalBytes() method in NetworkStats
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 2306 .writeLong(statFsData.getTotalBytes()) 2314 .writeLong(statFsCache.getTotalBytes()) 2322 .writeLong(statFsSystem.getTotalBytes())
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 70 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
|
/frameworks/base/api/ |
D | removed.txt | 70 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
|