Searched refs:formatDataUsage (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.kt | 123 DataUsageUtils.formatDataUsage(mContext, /* byteValue = */ 0), in setDataBarSize() 124 DataUsageUtils.formatDataUsage(mContext, dataBarSize) in setDataBarSize() 132 DataUsageUtils.formatDataUsage(mContext, warningBytes), in getLimitInfo() 133 DataUsageUtils.formatDataUsage(mContext, limitBytes), in getLimitInfo() 140 DataUsageUtils.formatDataUsage(mContext, warningBytes), in getLimitInfo() 147 DataUsageUtils.formatDataUsage(mContext, limitBytes), in getLimitInfo()
|
D | AppDataUsageSummaryController.kt | 44 dataUsageFormatter.formatDataUsage(it.totalUsage) in <lambda>() 48 dataUsageFormatter.formatDataUsage(it.foregroundUsage) in <lambda>() 52 dataUsageFormatter.formatDataUsage(it.backgroundUsage) in <lambda>()
|
D | AppDataUsagePreference.java | 48 setSummary(DataUsageUtils.formatDataUsage(context, item.total)); in AppDataUsagePreference()
|
D | DataUsageSummaryPreference.java | 191 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels() 197 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
|
D | DataUsagePreference.java | 62 DataUsageUtils.formatDataUsage(getContext(), usageInfo.usageLevel), in setTemplate()
|
D | DataUsageUtils.java | 63 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() method in DataUsageUtils
|
D | BillingCycleSettings.java | 156 mDataWarning.setSummary(DataUsageUtils.formatDataUsage(getContext(), warningBytes)); in updatePrefs() 166 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/ |
D | DataUsageFormatterTest.kt | 36 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(0) in formatDataUsage_0() 44 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(1000) in formatDataUsage_1000() 52 val (displayText, contentDescription) = dataUsageFormatter.formatDataUsage(2000000) in formatDataUsage_2000000()
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | NetworkUsageData.kt | 42 DataUsageFormatter(context).formatDataUsage(usage) in formatStartDate()
|
D | DataUsageFormatter.kt | 42 fun formatDataUsage(sizeBytes: Long): FormattedDataUsage { in format() method in com.android.settings.datausage.lib.DataUsageFormatter
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageUtilsTest.java | 79 final CharSequence formattedDataUsage = DataUsageUtils.formatDataUsage( in formatDataUsage_useIECUnit()
|
D | DataUsageSummaryTest.java | 100 final CharSequence formattedInIECUnit = DataUsageUtils.formatDataUsage(mContext, usage); in formatUsage_shouldLookLikeFormatFileSize()
|