/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NetworkProviderWorker.java | 162 int defaultDataSubId = getDefaultDataSubscriptionId(); in updateListener() local 163 if (mDefaultDataSubId == defaultDataSubId) { in updateListener() 167 mDefaultDataSubId = defaultDataSubId; in updateListener() 169 if (SubscriptionManager.isUsableSubscriptionId(defaultDataSubId)) { in updateListener() 173 mSignalStrengthListener.updateSubscriptionIds(Collections.singleton(defaultDataSubId)); in updateListener() 174 mTelephonyManager = mTelephonyManager.createForSubscriptionId(defaultDataSubId); in updateListener() 176 mMobileDataObserver.register(mContext, defaultDataSubId); in updateListener()
|
D | MmsMessagePreferenceController.kt | 59 val defaultDataSubId = getDefaultDataSubId() in getAvailabilityStatus() constant 60 return defaultDataSubId != mSubId && in getAvailabilityStatus() 61 telephonyManager.createForSubscriptionId(defaultDataSubId).isDataEnabled && in getAvailabilityStatus()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | MmsMessagePreferenceControllerTest.kt | 57 private var defaultDataSubId = SUB_1_ID variable in com.android.settings.network.telephony.MmsMessagePreferenceControllerTest 62 getDefaultDataSubId = { defaultDataSubId }, in <lambda>() 98 defaultDataSubId = SUB_2_ID in getAvailabilityStatus_isDefaultDataAndDataOnAndAutoDataSwitchOn_unavailable() 113 defaultDataSubId = SUB_2_ID in getAvailabilityStatus_isDefaultDataAndDataOffAndAutoDataSwitchOn_available()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/wificalling/ |
D | CrossSimCallingViewModel.kt | 110 val defaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId() in <lambda>() constant 111 return SubscriptionManager.isValidSubscriptionId(defaultDataSubId) && in <lambda>() 113 subId != defaultDataSubId && in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | NetworkCellularGroupProvider.kt | 87 var defaultDataSubId: Int = SubscriptionManager.INVALID_SUBSCRIPTION_ID in <lambda>() variable in com.android.settings.spa.network.NetworkCellularGroupProvider 126 mobileDataSelectedId.intValue = defaultDataSubId in <lambda>() 175 defaultDataSubId = inputDefaultDateSubId in <lambda>() 176 nonDds = if (defaultDataSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in <lambda>() 181 (info.simSlotIndex != -1) && (info.subscriptionId != defaultDataSubId) in <lambda>() 187 Log.d(name, "defaultDataSubId: $defaultDataSubId, nonDds: $nonDds") in <lambda>()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProviderModelSliceHelperTest.java | 120 final int defaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in setUp() local 121 when(mDefaultDataSubscriptionInfo.getSubscriptionId()).thenReturn(defaultDataSubId); in setUp() 122 when(mSubscriptionManager.getActiveSubscriptionInfo(defaultDataSubId)).thenReturn( in setUp()
|
D | SubscriptionsPreferenceControllerTest.java | 631 private List<SubscriptionInfo> setupMockSubscriptions(int count, int defaultDataSubId, in setupMockSubscriptions() argument 633 if (defaultDataSubId != INVALID_SUBSCRIPTION_ID) { in setupMockSubscriptions() 634 when(sInjector.getDefaultDataSubscriptionId()).thenReturn(defaultDataSubId); in setupMockSubscriptions() 643 if (subscriptionId == defaultDataSubId) { in setupMockSubscriptions()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkProviderWorkerTest.java | 314 public void setDefaultDataSubscriptionId(int defaultDataSubId) { in setDefaultDataSubscriptionId() argument 315 mDefaultDataSubId = defaultDataSubId; in setDefaultDataSubscriptionId()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetPreferenceController.java | 290 public void onDefaultDataChanged(int defaultDataSubId) { in onDefaultDataChanged() argument 291 mDefaultDataSubId = defaultDataSubId; in onDefaultDataChanged()
|
D | DefaultSubscriptionReceiver.java | 52 default void onDefaultDataChanged(int defaultDataSubId) { in onDefaultDataChanged() argument
|
D | SubscriptionsPreferenceController.java | 452 int defaultDataSubId = mSubsPrefCtrlInjector.getDefaultDataSubscriptionId(); in onSubscriptionsChanged() local 453 if (defaultDataSubId != mDataEnabledListener.getSubId()) { in onSubscriptionsChanged() 455 mDataEnabledListener.start(defaultDataSubId); in onSubscriptionsChanged()
|
D | NetworkProviderSimListController.java | 185 public void onDefaultDataChanged(int defaultDataSubId) { in onDefaultDataChanged() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 679 int defaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onCreate() local 680 if (SubscriptionManager.isValidSubscriptionId(defaultDataSubId)) { in onCreate() 682 Log.v(LOG_TAG, "Loaded initial default data sub: " + defaultDataSubId); in onCreate() 684 mDefaultDataSubId = defaultDataSubId; in onCreate()
|