Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java66 private int mDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in NetworkProviderWorker
97 mDefaultDataSubId = getDefaultDataSubscriptionId(); in NetworkProviderWorker()
98 Log.d(TAG, "Init, SubId: " + mDefaultDataSubId); in NetworkProviderWorker()
100 TelephonyManager.class).createForSubscriptionId(mDefaultDataSubId); in NetworkProviderWorker()
115 mMobileDataObserver.register(mContext, mDefaultDataSubId); in onSlicePinned()
117 mDataEnabledListener.start(mDefaultDataSubId); in onSlicePinned()
162 if (mDefaultDataSubId == defaultDataSubId) { in updateListener()
166 mDefaultDataSubId = defaultDataSubId; in updateListener()
167 Log.d(TAG, "DDS: defaultDataSubId:" + mDefaultDataSubId); in updateListener()
312 mDefaultDataSubId); in getNetworkTypeDescription()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java202 private int mDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in PhoneGlobals
585 int subId = mDefaultDataSubId; in registerSettingsObserver()
801 mDefaultDataSubId = SubscriptionManager.getDefaultDataSubscriptionId(); in onReceive()
803 Phone phone = getPhone(mDefaultDataSubId); in onReceive()
857 + mDefaultDataSubId + ",ss roaming=" + ss.getDataRoaming()); in handleServiceStateChanged()
859 if (subId == mDefaultDataSubId) { in handleServiceStateChanged()
883 Phone phone = getPhone(mDefaultDataSubId); in updateDataRoamingStatus()
885 Log.w(LOG_TAG, "Can't get phone with sub id = " + mDefaultDataSubId); in updateDataRoamingStatus()
902 msg.arg1 = mDefaultDataSubId; in updateDataRoamingStatus()
904 } else if (dataAllowed && dataIsNowRoaming(mDefaultDataSubId) in updateDataRoamingStatus()
[all …]
/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()