Home
last modified time | relevance | path

Searched refs:mDefaultDataSubId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java67 private int mDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in NetworkProviderWorker
98 mDefaultDataSubId = getDefaultDataSubscriptionId(); in NetworkProviderWorker()
99 Log.d(TAG, "Init, SubId: " + mDefaultDataSubId); in NetworkProviderWorker()
101 TelephonyManager.class).createForSubscriptionId(mDefaultDataSubId); in NetworkProviderWorker()
116 mMobileDataObserver.register(mContext, mDefaultDataSubId); in onSlicePinned()
118 mDataEnabledListener.start(mDefaultDataSubId); in onSlicePinned()
163 if (mDefaultDataSubId == defaultDataSubId) { in updateListener()
167 mDefaultDataSubId = defaultDataSubId; in updateListener()
168 Log.d(TAG, "DDS: defaultDataSubId:" + mDefaultDataSubId); in updateListener()
308 mDefaultDataSubId); in getNetworkTypeDescription()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java248 private int mDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in PhoneGlobals
284 if (mSubId == mDefaultDataSubId && state == TelephonyManager.DATA_DISCONNECTED) { in onDataConnectionStateChanged()
684 mDefaultDataSubId = defaultDataSubId; in onCreate()
775 int subId = mDefaultDataSubId; in registerSettingsObserver()
1006 mDefaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onReceive()
1008 Phone phone = getPhone(mDefaultDataSubId); in onReceive()
1028 + mDefaultDataSubId + ", ss roaming=" + serviceState.getDataRoaming()); in handleServiceStateChanged()
1030 if (subId == mDefaultDataSubId) { in handleServiceStateChanged()
1046 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus()
1048 Log.w(LOG_TAG, "Can't get phone with sub id = " + mDefaultDataSubId); in updateDataRoamingStatus()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DInternetPreferenceController.java79 private int mDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in InternetPreferenceController
199 mDefaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onResume()
280 return mDefaultDataSubId; in getDefaultDataSubscriptionId()
291 mDefaultDataSubId = defaultDataSubId; in onDefaultDataChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNetworkProviderWorkerTest.java286 private int mDefaultDataSubId = 1; field in NetworkProviderWorkerTest.MockNetworkProviderWorker
311 return mDefaultDataSubId; in getDefaultDataSubscriptionId()
315 mDefaultDataSubId = defaultDataSubId; in setDefaultDataSubscriptionId()