Home
last modified time | relevance | path

Searched refs:mDataplanUse (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/datausage/
H A DDataUsageSummaryPreferenceController.java97 private long mDataplanUse; field in DataUsageSummaryPreferenceController
261 if ((mDataplanUse <= 0L) && (mSnapshotTime < 0)) { in updateState()
263 mDataplanUse = displayUsageLevel(usageLevel); in updateState()
267 summaryPreference.setUsageNumbers(mDataplanUse, mDataplanSize, mHasMobileData); in updateState()
275 summaryPreference.setProgress(mDataplanUse / (float) mDataBarSize); in updateState()
301 mDataplanUse = info.usageLevel; in refreshDataplanInfo()
318 mDataplanUse = primaryPlan.getDataUsageBytes(); in refreshDataplanInfo()
H A DDataUsageSummaryPreference.java95 private long mDataplanUse; field in DataUsageSummaryPreference
143 mDataplanUse = used; in setUsageNumbers()
243 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in updateDataUsageLabels()
259 long dataRemaining = mDataplanSize - mDataplanUse; in updateDataUsageLabels()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
H A DDataUsageSummaryPreferenceController.java84 private long mDataplanUse; field in DataUsageSummaryPreferenceController
147 preference.setProgress(scaleUsage(mDataplanUse, mDataplanTrackingThreshold)); in updateState()
152 mDataplanUse, Formatter.FLAG_CALCULATE_ROUNDED | Formatter.FLAG_IEC_UNITS); in getUsageText()
202 mDataplanUse = info.usageLevel; in refreshDataplanInfo()
218 mDataplanUse = primaryPlan.getDataUsageBytes(); in refreshDataplanInfo()