/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummary.java | 85 final int defaultSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onCreate() local 86 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onCreate() 89 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(context, defaultSubId); in onCreate() 97 addMobileSection(defaultSubId); in onCreate() 295 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData() local 296 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in formatUsedData() 300 .getPrimaryPlan(subscriptionManager, defaultSubId); in formatUsedData()
|
D | DataUsageUtils.java | 182 public static NetworkTemplate getDefaultTemplate(Context context, int defaultSubId) { in getDefaultTemplate() argument 183 if (hasMobileData(context) && defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in getDefaultTemplate() 184 return getMobileTemplate(context, defaultSubId); in getDefaultTemplate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummary.java | 90 final int defaultSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onCreate() local 91 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onCreate() 94 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(context, defaultSubId); in onCreate() 102 addMobileSection(defaultSubId); in onCreate() 306 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData() local 307 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in formatUsedData() 311 .getPrimaryPlan(subscriptionManager, defaultSubId); in formatUsedData()
|
D | DataUsageUtils.java | 181 static NetworkTemplate getDefaultTemplate(Context context, int defaultSubId) { in getDefaultTemplate() argument 182 if (hasMobileData(context) && defaultSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in getDefaultTemplate() 185 telephonyManager.getSubscriberId(defaultSubId)); in getDefaultTemplate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 95 int defaultSubId = DataUsageUtils.getDefaultSubscriptionId(mSubscriptionManager); in DataUsageSummaryPreferenceController() local 96 mDefaultTemplate = DataUsageUtils.getMobileNetworkTemplate(mTelephonyManager, defaultSubId); in DataUsageSummaryPreferenceController() 233 int defaultSubId = SubscriptionManager.getDefaultSubscriptionId(); in refreshDataplanInfo() local 237 List<SubscriptionPlan> plans = mSubscriptionManager.getSubscriptionPlans(defaultSubId); in refreshDataplanInfo() 239 defaultSubId); in refreshDataplanInfo() 257 defaultSubId); in refreshDataplanInfo()
|
D | DataUsageEntryPreferenceController.java | 61 int defaultSubId = subscriptionManager.getDefaultSubscriptionId(); in formatUsedData() local 62 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in formatUsedData() 66 defaultSubId); in formatUsedData()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceController.java | 148 final int defaultSubId = mSubscriptionManager.getDefaultDataSubscriptionId(); in isDialogNeeded() local 150 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
|
D | MobileDataSlice.java | 120 final int defaultSubId = getDefaultSubscriptionId(mSubscriptionManager); in onNotifyChange() local 121 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onNotifyChange() 125 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileDataPreferenceController.java | 150 final int defaultSubId = mSubscriptionManager.getDefaultDataSubscriptionId(); in isDialogNeeded() local 152 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
|
D | MobileDataSlice.java | 132 final int defaultSubId = getDefaultSubscriptionId(mSubscriptionManager); in onNotifyChange() local 133 if (defaultSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onNotifyChange() 137 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceController.java | 135 int defaultSubId = mSubscriptionManager.getDefaultDataSubscriptionId(); in handlePreferenceChanged() local 136 boolean needToDisableOthers = mSubscriptionManager.isActiveSubscriptionId(defaultSubId) in handlePreferenceChanged() 137 && mSubId != defaultSubId; in handlePreferenceChanged()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | InsertNewMessageAction.java | 229 final int defaultSubId = PhoneUtils.getDefault().getDefaultSmsSubscriptionId(); in getSelf() local 230 self = BugleDatabaseOperations.getOrCreateSelf(db, defaultSubId); in getSelf()
|