Searched refs:getTotalBytes (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageManagerVolumeProvider.java53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { method in class:StorageManagerVolumeProvider
54 return stats.getTotalBytes(volume.getFsUuid());
H A DStorageVolumeProvider.java50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; method in interface:StorageVolumeProvider
H A DPrivateStorageInfo.java50 privateTotalBytes += sm.getTotalBytes(stats, info);
64 return stats.getTotalBytes(info.getFsUuid());
H A DStorageMeasurement.java162 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid);
187 addValue(details.usersSize, user.id, stats.getTotalBytes());
194 final long miscBytes = stats.getTotalBytes() - stats.getAudioBytes()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DStorageStatsSource.java89 totalBytes = stats.getTotalBytes();
106 long getTotalBytes(); method in interface:StorageStatsSource.AppStorageStats
133 public long getTotalBytes() { method in class:StorageStatsSource.AppStorageStatsImpl
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
H A DStorageStatsSourceTest.java39 assertThat(stats.getTotalBytes()).isEqualTo(110);
/frameworks/base/core/java/android/os/
H A DStatFs.java152 public long getTotalBytes() { method in class:StatFs
/frameworks/base/core/java/android/app/usage/
H A DIStorageStatsManager.aidl25 long getTotalBytes(String volumeUuid, String callingPackage);
H A DExternalStorageStats.java46 public @BytesLong long getTotalBytes() { method in class:ExternalStorageStats
H A DStorageStatsManager.java97 public @BytesLong long getTotalBytes(@NonNull UUID storageUuid) throws IOException { method in class:StorageStatsManager
99 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName());
110 public long getTotalBytes(String uuid) throws IOException { method in class:StorageStatsManager
111 return getTotalBytes(convert(uuid));
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsRecorder.java284 final long pendingBytes = mPending.getTotalBytes();
462 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes());
476 proto.write(NetworkStatsRecorderProto.PENDING_TOTAL_BYTES, mPending.getTotalBytes());
H A DNetworkStatsObservers.java371 return stats.getTotalBytes();
416 return history.getTotalBytes();
H A DNetworkStatsCollection.java135 public long getTotalBytes() { method in class:NetworkStatsCollection
309 final long beforeTotal = combined.getTotalBytes();
324 final long deltaTotal = combined.getTotalBytes() - beforeTotal;
399 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes());
H A DNetworkPolicyManagerService.java1062 final long totalBytes = getTotalBytes(policy.template, start, end);
1485 final long totalBytes = getTotalBytes(policy.template, start, end);
1595 final long totalBytes = getTotalBytes(policy.template, start, end);
4205 private long getTotalBytes(NetworkTemplate template, long start, long end) { method in class:NetworkPolicyManagerService
H A DNetworkStatsService.java703 NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotalBytes();
/frameworks/base/tests/net/java/android/net/
H A DNetworkStatsTest.java264 assertEquals(4L, result.getTotalBytes());
271 assertEquals(384L, iface.getTotalBytes());
277 assertEquals(96L, uidSet.getTotalBytes());
286 assertEquals(64L, uidTag.getTotalBytes());
295 assertEquals(96L, uidMetered.getTotalBytes());
304 assertEquals(96L, uidRoaming.getTotalBytes());
448 assertEquals(128L + 512L + 128L, original.getTotalBytes());
449 assertEquals(128L + 512L, clone.getTotalBytes());
H A DNetworkStatsHistoryTest.java493 assertEquals(1024L + 2048L, stats.getTotalBytes());
500 assertEquals(512L + 4096L, stats.getTotalBytes());
/frameworks/base/tests/net/java/com/android/server/net/
H A DNetworkStatsCollectionTest.java292 assertEquals(0L, history.getTotalBytes());
344 assertEquals(200000L, history.getTotalBytes());
399 assertEquals(400000L, history.getTotalBytes());
455 assertEquals(12_730_893_164L, getHistory(large, null, TIME_A, TIME_C).getTotalBytes());
461 assertEquals(4_939_212_386L, getHistory(large, plan, TIME_A, TIME_C).getTotalBytes());
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java949 .thenReturn(stats.getTotalBytes());
984 CYCLE_END)).thenReturn(stats.getTotalBytes());
1003 CYCLE_END)).thenReturn(stats.getTotalBytes());
1022 CYCLE_END)).thenReturn(stats.getTotalBytes());
1040 CYCLE_END)).thenReturn(stats.getTotalBytes());
1056 CYCLE_END)).thenReturn(stats.getTotalBytes());
1092 currentTimeMillis())).thenReturn(stats.getTotalBytes());
/frameworks/base/services/usage/java/com/android/server/usage/
H A DStorageStatsService.java167 public long getTotalBytes(String volumeUuid, String callingPackage) { method in class:StorageStatsService
469 mMinimumThresholdBytes = mStats.getTotalBytes() * MINIMUM_CHANGE_DELTA;
/frameworks/base/services/core/java/com/android/server/storage/
H A DFileCollector.java179 stats.getTotalBytes()
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java238 public long getTotalBytes() { method in class:NetworkStatsHistory
H A DNetworkStats.java535 public long getTotalBytes() { method in class:NetworkStats

Completed in 433 milliseconds