Home
last modified time | relevance | path

Searched refs:getTotalBytes (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DStorageStatsSource.java90 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/
DStorageManagerVolumeProvider.java53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getTotalBytes() method in StorageManagerVolumeProvider
54 return stats.getTotalBytes(volume.getFsUuid()); in getTotalBytes()
DPrivateStorageInfo.java50 privateTotalBytes += sm.getTotalBytes(stats, info); in getPrivateStorageInfo()
64 return stats.getTotalBytes(info.getFsUuid()); in getTotalSize()
DStorageMeasurement.java163 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()
DStorageVolumeProvider.java50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getTotalBytes() method
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java107 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()
DIStorageStatsManager.aidl26 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes() method
DExternalStorageStats.java46 public @BytesLong long getTotalBytes() { in getTotalBytes() method in ExternalStorageStats
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DStorageStatsSourceTest.java39 assertThat(stats.getTotalBytes()).isEqualTo(110); in AppStorageStatsImpl_totalCorrectly()
/frameworks/base/core/java/android/os/
DStatFs.java154 public long getTotalBytes() { in getTotalBytes() method in StatFs
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java290 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()
518 assertEquals(128L + 512L + 128L, original.getTotalBytes()); in testClone()
519 assertEquals(128L + 512L, clone.getTotalBytes()); in testClone()
DNetworkStatsHistoryTest.java522 assertEquals(1024L + 2048L, stats.getTotalBytes()); in testSetValues()
529 assertEquals(512L + 4096L, stats.getTotalBytes()); in testSetValues()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsCollectionTest.java312 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/
DNetworkStatsRecorder.java298 final long pendingBytes = mPending.getTotalBytes(); in maybePersistLocked()
476 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes()); in dumpLocked()
490 proto.write(NetworkStatsRecorderProto.PENDING_TOTAL_BYTES, mPending.getTotalBytes()); in writeToProtoLocked()
DNetworkStatsObservers.java369 return stats.getTotalBytes(); in getTotalBytesForNetwork()
414 return history.getTotalBytes(); in getTotalBytesForNetworkUid()
DNetworkStatsCollection.java143 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()
DNetworkPolicyManagerService.java1164 final long totalBytes = getTotalBytes(policy.template, cycleStart, cycleEnd);
1215 final long recentBytes = getTotalBytes(policy.template, recentStart, recentEnd);
1715 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNetworkEnabledNL()
1892 final long totalBytes = getTotalBytes(policy.template, start, end);
1993 final long totalBytes = getTotalBytes(
4827 private long getTotalBytes(NetworkTemplate template, long start, long end) { in getTotalBytes() method
DNetworkStatsService.java763 NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotalBytes(); in getNetworkTotalBytes()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java178 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/
DFileCollector.java179 stats.getTotalBytes() in getMeasurementResult()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1436 e.writeLong(statFsData.getTotalBytes()); in pullDirectoryUsage()
1442 e.writeLong(statFsCache.getTotalBytes()); in pullDirectoryUsage()
1448 e.writeLong(statFsSystem.getTotalBytes()); in pullDirectoryUsage()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java252 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsHistory
DNetworkStats.java640 public long getTotalBytes() { in getTotalBytes() method in NetworkStats
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1010 .thenReturn(stats.getTotalBytes());
1267 currentTimeMillis())).thenReturn(stats.getTotalBytes());
/frameworks/base/api/
Dremoved.txt114 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;

12