Home
last modified time | relevance | path

Searched refs:getPrimaryPlan (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageUtilsTest.java90 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_noSubscriptions_returnsNull()
101 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataLimitBytesIsZero_returnsNull()
114 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull()
127 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_cycleRuleIsNull_returnsNull()
141 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isEqualTo( in getPrimaryPlan_cycleRuleIsValid_returnsSubscriptionPlan()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java280 final SubscriptionPlan primaryPlan = getPrimaryPlan(mSubscriptionManager, in refreshDataplanInfo()
306 public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, int primaryId) { in getPrimaryPlan() method in DataUsageSummaryPreferenceController
DDataUsageSummary.java311 .getPrimaryPlan(subscriptionManager, defaultSubId); in formatUsedData()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java282 final SubscriptionPlan primaryPlan = getPrimaryPlan(mSubscriptionManager, in refreshDataplanInfo()
347 public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, int primaryId) { in getPrimaryPlan() method in DataUsageSummaryPreferenceController
DDataUsageSummary.java300 .getPrimaryPlan(subscriptionManager, defaultSubId); in formatUsedData()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageEntryPreferenceController.java65 SubscriptionPlan defaultPlan = DataUsageUtils.getPrimaryPlan(subscriptionManager, in formatUsedData()
DDataUsageUtils.java89 public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, in getPrimaryPlan() method in DataUsageUtils
DDataUsageSummaryPreferenceController.java238 SubscriptionPlan primaryPlan = DataUsageUtils.getPrimaryPlan(mSubscriptionManager, in refreshDataplanInfo()