Home
last modified time | relevance | path

Searched refs:getTotalBytes (Results 1 – 25 of 31) 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.java112 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()
DExternalStorageStats.java46 public @BytesLong long getTotalBytes() { in getTotalBytes() method in ExternalStorageStats
DIStorageStatsManager.aidl28 long getTotalBytes(String volumeUuid, String callingPackage); in getTotalBytes() method
/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/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.java283 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()
DNetworkStatsObservers.java368 return stats.getTotalBytes(); in getTotalBytesForNetwork()
413 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.java1177 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/
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()
565 assertEquals(128L + 512L + 128L, original.getTotalBytes()); in testClone()
566 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/services/core/java/com/android/server/storage/
DFileCollector.java179 stats.getTotalBytes() in getMeasurementResult()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java217 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/
DNetworkPolicyManagerServiceTest.java1089 .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/
DNetworkStatsHistory.java252 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsHistory
DNetworkStats.java852 public long getTotalBytes() { in getTotalBytes() method in NetworkStats
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2306 .writeLong(statFsData.getTotalBytes())
2314 .writeLong(statFsCache.getTotalBytes())
2322 .writeLong(statFsSystem.getTotalBytes())
/frameworks/base/non-updatable-api/
Dremoved.txt70 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;
/frameworks/base/api/
Dremoved.txt70 method @Deprecated public long getTotalBytes(String) throws java.io.IOException;

12