Home
last modified time | relevance | path

Searched refs:formatFileSize (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/storage/
DFileSizeFormatterTest.java41 FileSizeFormatter.formatFileSize( in formatFileSize_zero()
52 FileSizeFormatter.formatFileSize( in formatFileSize_smallSize()
63 FileSizeFormatter.formatFileSize( in formatFileSize_lessThanOneSize()
74 FileSizeFormatter.formatFileSize( in formatFileSize_greaterThanOneSize()
86 FileSizeFormatter.formatFileSize( in formatFileSize_greaterThanTen()
97 FileSizeFormatter.formatFileSize( in formatFileSize_handlesNegativeFileSizes()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/utils/
DFileSizeFormatterTest.java48 FileSizeFormatter.formatFileSize( in formatFileSize_zero()
59 FileSizeFormatter.formatFileSize( in formatFileSize_smallSize()
70 FileSizeFormatter.formatFileSize( in formatFileSize_lessThanOneSize()
81 FileSizeFormatter.formatFileSize( in formatFileSize_greaterThanOneSize()
93 FileSizeFormatter.formatFileSize( in formatFileSize_greaterThanTen()
104 FileSizeFormatter.formatFileSize( in formatFileSize_handlesNegativeFileSizes()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransferAdapter.java113 Formatter.formatFileSize(mContext, totalBytes)); in bindView()
118 Formatter.formatFileSize(mContext, totalBytes)); in bindView()
DBluetoothOppTransferActivity.java269 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent()
291 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent()
316 Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in customizeViewContent()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDownloadsDeletionPreferenceGroup.java147 Formatter.formatFileSize(context, bytes))); in updatePreferenceText()
150 Formatter.formatFileSize(context, bytes))); in updatePreferenceText()
DNestedDeletionPreference.java64 return Formatter.formatFileSize(getContext(), mAppSize); in getItemSize()
DPhotosDeletionPreference.java58 Formatter.formatFileSize(context, bytes), in updatePreferenceText()
DDeletionHelperSettings.java152 Formatter.formatFileSize(context, requestedBytes)); in getGaugeString()
381 Formatter.formatFileSize( in updateFreeButtonText()
DConfirmDeletionDialog.java68 Formatter.formatFileSize(context, mFreeableBytes))) in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerDescriptionPreferenceController.java68 Formatter.formatFileSize(context, freedBytes), in displayPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageSizeBasePreferenceController.java107 return Formatter.formatFileSize(mContext, size); in getSizeStr()
DStorageUsageBasePreferenceController.java88 FileSizeFormatter.formatFileSize( in setStorageSize()
DFileSizeFormatter.java118 public static String formatFileSize(@Nullable Context context, long sizeBytes, in formatFileSize() method in FileSizeFormatter
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDetailsView.java60 put(R.string.sort_dimension_size, Formatter.formatFileSize(getContext(), doc.size)); in accept()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DClearDataPreferenceController.java56 : Formatter.formatFileSize(mContext, in update()
DClearCachePreferenceController.java56 : Formatter.formatFileSize(mContext, in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFreeUpStorageFragment.java91 Formatter.formatFileSize(getActivity(), size)); in updateStorageUninstallAppsPrefSummary()
DMoveAppStepFragment.java118 final String avail = Formatter.formatFileSize(getActivity(), path.getFreeSpace()); in onCreateActions()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DClearCachePreference.java61 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh()
DClearDataPreference.java61 Formatter.formatFileSize(context, mEntry.dataSize + mEntry.externalDataSize)); in refresh()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceController.java98 Formatter.formatFileSize(mContext, totalBytes - usedBytes)); in getSummary()
DMigrateEstimateTask.java107 final String size = Formatter.formatFileSize(mContext, mSizeBytes); in onPostExecute()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DListDocumentHolder.java315 metadataList.add(Formatter.formatFileSize(mContext, mDoc.size)); in bind()
334 mSize.setText(Formatter.formatFileSize(mContext, mDoc.size)); in bind()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java89 final String freeSpace = Formatter.formatFileSize(mContext, 0); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppStoragePreferenceController.java94 Formatter.formatFileSize(mContext, stats.getTotalBytes()), in getStorageSummary()

12