Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/datausage/
DDataPlanRepository.kt36 getPrimaryPlan(plans)?.let { primaryPlan -> in getDataPlanInfo() method
37 val dataPlanSize = when (primaryPlan.dataLimitBytes) { in getDataPlanInfo()
39 else -> primaryPlan.dataLimitBytes in getDataPlanInfo()
45 dataPlanUse = primaryPlan.dataUsageBytes, in getDataPlanInfo()
46 cycleEnd = primaryPlan.cycleRule.end?.toInstant()?.toEpochMilli(), in getDataPlanInfo()
47 snapshotTime = primaryPlan.dataUsageTime, in getDataPlanInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java209 SubscriptionPlan primaryPlan = DataUsageUtils.getPrimaryPlan(mSubscriptionManager, in refreshDataplanInfo() local
211 if (primaryPlan != null) { in refreshDataplanInfo()
213 mDataplanSize = primaryPlan.getDataLimitBytes(); in refreshDataplanInfo()
218 mDataplanUse = primaryPlan.getDataUsageBytes(); in refreshDataplanInfo()
220 RecurrenceRule rule = primaryPlan.getCycleRule(); in refreshDataplanInfo()
224 mSnapshotTime = primaryPlan.getDataUsageTime(); in refreshDataplanInfo()