Home
last modified time | relevance | path

Searched refs:formatDataUsage (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java229 DataUsageUtils.formatDataUsage(mContext, info.warningLevel), in updateState()
230 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState()
234 DataUsageUtils.formatDataUsage(mContext, info.warningLevel))); in updateState()
238 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState()
249 summaryPreference.setLabels(DataUsageUtils.formatDataUsage(mContext, 0 /* sizeBytes */), in updateState()
250 DataUsageUtils.formatDataUsage(mContext, mDataBarSize)); in updateState()
DDataUsageSummary.java284 DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in setListening()
305 return DataUsageUtils.formatDataUsage(mActivity, dfltPlan.getDataUsageBytes()); in formatUsedData()
315 return DataUsageUtils.formatDataUsage(mActivity, 0); in formatFallbackData()
317 return DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in formatFallbackData()
DWifiDataUsageSummaryPreferenceController.java68 mPreference.setLabels(DataUsageUtils.formatDataUsage(mContext, /* sizeBytes */ 0), in updateState()
69 DataUsageUtils.formatDataUsage(mContext, info.usageLevel)); in updateState()
DAppDataUsage.java320 mTotalUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, totalBytes)); in bindData()
321 mForegroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, foregroundBytes)); in bindData()
322 mBackgroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, backgroundBytes)); in bindData()
DDataUsageSummaryPreference.java262 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels()
268 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
DBillingCycleSettings.java136 mDataWarning.setSummary(DataUsageUtils.formatDataUsage(getContext(), warningBytes)); in updatePrefs()
146 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs()
DAppDataUsagePreference.java44 setSummary(DataUsageUtils.formatDataUsage(context, item.total)); in AppDataUsagePreference()
DDataUsagePreference.java63 DataUsageUtils.formatDataUsage(getContext(), usageInfo.usageLevel), in setTemplate()
DDataUsageUtils.java55 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() method in DataUsageUtils
DDataUsageList.java316 final CharSequence totalPhrase = DataUsageUtils.formatDataUsage(getActivity(), totalBytes); in updateDetailData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java230 DataUsageUtils.formatDataUsage(mContext, info.warningLevel), in updateState()
231 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState()
235 DataUsageUtils.formatDataUsage(mContext, info.warningLevel))); in updateState()
239 DataUsageUtils.formatDataUsage(mContext, info.limitLevel))); in updateState()
251 DataUsageUtils.formatDataUsage(mContext, mDataBarSize)); in updateState()
DDataUsageSummary.java295 DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in setListening()
316 return DataUsageUtils.formatDataUsage(mActivity, dfltPlan.getDataUsageBytes()); in formatUsedData()
326 return DataUsageUtils.formatDataUsage(mActivity, 0); in formatFallbackData()
328 return DataUsageUtils.formatDataUsage(mActivity, info.usageLevel); in formatFallbackData()
DAppDataUsage.java320 mTotalUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, totalBytes)); in bindData()
321 mForegroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, foregroundBytes)); in bindData()
322 mBackgroundUsage.setSummary(DataUsageUtils.formatDataUsage(mContext, backgroundBytes)); in bindData()
DDataUsageSummaryPreference.java262 DataUsageUtils.formatDataUsage(getContext(), dataRemaining))); in updateDataUsageLabels()
268 DataUsageUtils.formatDataUsage(getContext(), -dataRemaining))); in updateDataUsageLabels()
DWifiDataUsageSummaryPreferenceController.java70 DataUsageUtils.formatDataUsage(mContext, info.usageLevel)); in updateState()
DBillingCycleSettings.java136 mDataWarning.setSummary(DataUsageUtils.formatDataUsage(getContext(), warningBytes)); in updatePrefs()
146 mDataLimit.setSummary(DataUsageUtils.formatDataUsage(getContext(), limitBytes)); in updatePrefs()
DAppDataUsagePreference.java44 setSummary(DataUsageUtils.formatDataUsage(context, item.total)); in AppDataUsagePreference()
DDataUsagePreference.java63 DataUsageUtils.formatDataUsage(getContext(), usageInfo.usageLevel), in setTemplate()
DDataUsageUtils.java54 public static CharSequence formatDataUsage(Context context, long byteValue) { in formatDataUsage() method in DataUsageUtils
DDataUsageList.java313 final CharSequence totalPhrase = DataUsageUtils.formatDataUsage(getActivity(), totalBytes); in updateDetailData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java294 DataUsageUtils.formatDataUsage(context, backgroundBytes + foregroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary()
295 verify(backgroundPref).setSummary(DataUsageUtils.formatDataUsage(context, backgroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary()
296 verify(foregroundPref).setSummary(DataUsageUtils.formatDataUsage(context, foregroundBytes)); in bindData_hasAppUsageData_shouldShowCycleSpinnerAndUpdateUsageSummary()
DDataUsageUtilsTest.java94 final CharSequence formattedDataUsage = DataUsageUtils.formatDataUsage( in formatDataUsage_useIECUnit()
DDataUsageSummaryTest.java109 final CharSequence formattedInIECUnit = DataUsageUtils.formatDataUsage(mContext, usage); in formatUsage_shouldLookLikeFormatFileSize()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataUsagePreferenceController.java79 DataUsageUtils.formatDataUsage(mContext, mDataUsageInfo.usageLevel), in updateState()