Home
last modified time | relevance | path

Searched refs:totalData (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java84 final long totalData = mNetworkCycleChartData.getTotalUsage(); in getTop() local
87 return (int) (Math.max(totalData, policyMax) / RESOLUTION); in getTop()
99 long totalData = 0; in calcPoints() local
108 totalData += data.getTotalUsage(); in calcPoints()
113 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints()
114 points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION)); in calcPoints()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DChartDataUsagePreference.java84 final long totalData = mNetworkCycleChartData.getTotalUsage(); in getTop() local
87 return (int) (Math.max(totalData, policyMax) / RESOLUTION); in getTop()
99 long totalData = 0; in calcPoints() local
108 totalData += data.getTotalUsage(); in calcPoints()
113 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints()
114 points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION)); in calcPoints()