Searched refs:primaryPlan (Results 1 – 2 of 2) sorted by relevance
36 getPrimaryPlan(plans)?.let { primaryPlan -> in getDataPlanInfo() method37 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()
209 SubscriptionPlan primaryPlan = DataUsageUtils.getPrimaryPlan(mSubscriptionManager, in refreshDataplanInfo() local211 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()