/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageSettingsManagerTest.java | 85 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in volumeSizeCallback_onLoadFinished_listenerOnSizeCalculatedCalled() 110 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in appsStorageResult_unregisterListener_onlyOneListenerOnDataLoadedCalled() 130 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in onReceivedSizes_storageResultNotLoaded_noListenersCalled() 151 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in onReceivedSizes_volumeSizeNotLoaded_noListenersCalled()
|
D | VolumeSizesLoaderTest.java | 46 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in getVolumeSize_getsValidSizes()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | StorageStatsManagerCompat.java | 40 public long getTotalBytes(String fsUuid) throws IOException { in getTotalBytes() method in StorageStatsManagerCompat 41 return mManager.getTotalBytes(fsUuid); in getTotalBytes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStorageSizesControllerTest.java | 81 when(result.getTotalBytes()).thenReturn(101L); in properlyPopulatedAfterValidEntry() 98 when(result.getTotalBytes()).thenReturn(101L); in fakeCacheFlagSetsCacheToZero() 116 when(result.getTotalBytes()).thenReturn(101L); in fakeDataFlagSetsDataAndCacheToZero()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 164 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage() 189 addValue(details.usersSize, user.id, stats.getTotalBytes()); in measureExactStorage() 196 final long miscBytes = stats.getTotalBytes() - stats.getAudioBytes() in measureExactStorage()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsCollection.java | 183 public long getTotalBytes() { in getTotalBytes() method in NetworkStatsCollection 345 final long beforeTotal = combined.getTotalBytes(); in getHistory() 362 final long deltaTotal = combined.getTotalBytes() - beforeTotal; in getHistory() 451 noteRecordedHistory(history.getStart(), history.getEnd(), history.getTotalBytes()); in recordHistory() 1031 if (migrated.getTotalBytes() != legacy.getTotalBytes()) { in compareStats() 1032 return "Total bytes " + migrated.getTotalBytes() + " and " + legacy.getTotalBytes() in compareStats()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppStoragePreferenceControllerTest.java | 157 when(stats.getTotalBytes()).thenReturn(1L); in getStorageSummary_shouldWorkForExternal() 167 when(stats.getTotalBytes()).thenReturn(1L); in getStorageSummary_shouldWorkForInternal()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageManagementJobServiceTest.java | 106 when(mStorageVolumeProvider.getTotalBytes( in setUp() 231 when(mStorageVolumeProvider.getTotalBytes( in testNonPrivateDrivesIgnoredForFreeSpaceCalculation() 254 when(mStorageVolumeProvider.getTotalBytes( in testMultiplePrivateVolumesCountedForASMActivationThreshold()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 300 assertEquals(4L, result.getTotalBytes()); in testSubtractMissingRows() 308 assertEquals(384L, iface.getTotalBytes()); in testTotalBytes() 314 assertEquals(96L, uidSet.getTotalBytes()); in testTotalBytes() 323 assertEquals(64L, uidTag.getTotalBytes()); in testTotalBytes() 332 assertEquals(96L, uidMetered.getTotalBytes()); in testTotalBytes() 341 assertEquals(96L, uidRoaming.getTotalBytes()); in testTotalBytes() 578 assertEquals(128L + 512L + 128L, original.getTotalBytes()); in testClone() 579 assertEquals(128L + 512L, clone.getTotalBytes()); in testClone()
|
D | NetworkStatsCollectionTest.java | 349 assertEquals(0L, history.getTotalBytes()); in testAugmentPlan() 403 assertEquals(200000L, history.getTotalBytes()); in testAugmentPlan() 460 assertEquals(400000L, history.getTotalBytes()); in testAugmentPlan() 520 assertEquals(12_730_893_164L, getHistory(large, null, TIME_A, TIME_C).getTotalBytes()); in testAugmentPlanGigantic() 526 assertEquals(4_939_212_386L, getHistory(large, plan, TIME_A, TIME_C).getTotalBytes()); in testAugmentPlanGigantic()
|
D | NetworkStatsHistoryTest.java | 555 assertEquals(1024L + 2048L, stats.getTotalBytes()); in testSetValues() 562 assertEquals(512L + 4096L, stats.getTotalBytes()); in testSetValues()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | VolumeSizesLoader.java | 57 long privateTotalBytes = mVolumeProvider.getTotalBytes(mStats, mVolume); in getVolumeSize()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | VolumeSizesLoaderTest.java | 40 when(storageVolumeProvider.getTotalBytes(any(), any())).thenReturn(10000L); in getVolumeSize_getsValidSizes()
|
D | StorageUsageProgressBarPreferenceControllerTest.java | 80 when(mStorageStatsManager.getTotalBytes(defaultInternalStorageEntry.getFsUuid())) in setSelectedStorageEntry_primaryStorage_getPrimaryStorageBytes()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsRecorder.java | 319 final long pendingBytes = mPending.getTotalBytes(); in maybePersistLocked() 539 pw.print("Pending bytes: "); pw.println(mPending.getTotalBytes()); in dumpLocked() 554 mPending.getTotalBytes()); in dumpDebugLocked()
|
D | NetworkStatsObservers.java | 406 return stats.getTotalBytes(); in getTotalBytesForNetwork() 452 return history.getTotalBytes(); in getTotalBytesForNetworkUid()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | VolumeSizesLoader.java | 65 long privateTotalBytes = storageVolumeProvider.getTotalBytes(stats, info); in getVolumeSize()
|
D | StorageUsageProgressBarPreferenceController.java | 94 mTotalBytes = mStorageStatsManager.getTotalBytes(mStorageEntry.getFsUuid()); in getStorageStatsAndUpdateUi()
|
D | StorageAsyncLoader.java | 157 return mStatsManager.getTotalBytes(StorageManager.UUID_DEFAULT) in getSystemSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 74 public long getTotalBytes() { in getTotalBytes() method in CacheStorageUsageInfo
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 89 size += s.getTotalBytes(); in doInBackground()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | TopLevelStoragePreferenceControllerTest.java | 81 .getTotalBytes(nullable(StorageStatsManager.class), nullable(VolumeInfo.class))) in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppStoragePreferenceController.java | 94 Formatter.formatFileSize(mContext, stats.getTotalBytes()), in getStorageSummary()
|
/packages/apps/TV/common/src/com/android/tv/common/recording/ |
D | RecordingStorageStatusManager.java | 255 storageMountedCapacity = statFs.getTotalBytes(); in getStorageStatusInternal()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 368 long totalBytes = mCacheStorageInfo.getTotalBytes(); in refreshCacheStorageInfo()
|