Home
last modified time | relevance | path

Searched refs:bytesToIecUnits (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningAndLimitPreferenceController.java62 DataUsageUtils.bytesToIecUnits(getContext(), info.warningLevel), in getLimitText()
63 DataUsageUtils.bytesToIecUnits(getContext(), info.limitLevel)); in getLimitText()
66 DataUsageUtils.bytesToIecUnits(getContext(), info.warningLevel)); in getLimitText()
69 DataUsageUtils.bytesToIecUnits(getContext(), info.limitLevel)); in getLimitText()
DAppSpecificDataUsageFragment.java121 .setSummary(DataUsageUtils.bytesToIecUnits(getContext(), cycleData.getTotalUsage()) in onDataCyclePicked()
125 .setSummary(DataUsageUtils.bytesToIecUnits(getContext(), in onDataCyclePicked()
129 .setSummary(DataUsageUtils.bytesToIecUnits(getContext(), in onDataCyclePicked()
DDataUsageUtils.java104 public static CharSequence bytesToIecUnits(Context context, long byteValue) { in bytesToIecUnits() method in DataUsageUtils
117 CharSequence usage = bytesToIecUnits(context, byteValue); in formatDataUsageInCycle()
DAppDataUsageTotalPreferenceController.java62 mDataUsage = DataUsageUtils.bytesToIecUnits(getContext(), usage).toString(); in setDataUsage()
DDataUsageSummaryPreferenceController.java144 preference.setMinLabel(DataUsageUtils.bytesToIecUnits(getContext(), /* byteValue= */ 0)); in updateState()
146 DataUsageUtils.bytesToIecUnits(getContext(), mDataplanTrackingThreshold)); in updateState()
DDataUsagePreferenceController.java70 return DataUsageUtils.bytesToIecUnits(getContext(), info.usageLevel); in getUsageText()
DDataWarningPreferenceController.java77 DataUsageUtils.bytesToIecUnits(getContext(), warningBytes)); in updateState()
DDataLimitPreferenceController.java92 DataUsageUtils.bytesToIecUnits(getContext(), limitBytes)); in updateState()
DAppDataUsagePreferenceController.java262 CharSequence s = DataUsageUtils.bytesToIecUnits(context, item.total); in AppDataUsagePreference()