Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkUpdateManager.java52 private int mCurSubscriptionId; field in MobileNetworkUpdateManager
68 mCurSubscriptionId = subId; in MobileNetworkUpdateManager()
73 if (mCurSubscriptionId != SUB_ID_NULL) { in MobileNetworkUpdateManager()
77 + mCurSubscriptionId); in MobileNetworkUpdateManager()
78 updateReceived(mCurSubscriptionId); in MobileNetworkUpdateManager()
121 if (forceRefresh || mCurSubscriptionId != subId) { in updateSubscriptions()
122 LOG.d("updateSubscriptions updated subscription id! prev: " + mCurSubscriptionId in updateSubscriptions()
124 mCurSubscriptionId = subId; in updateSubscriptions()
125 updateReceived(mCurSubscriptionId); in updateSubscriptions()
146 if (mCurSubscriptionId != SUB_ID_NULL) { in getSubscription()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java65 int mCurSubscriptionId; field in MobileNetworkActivity
77 int oldSubIndex = mCurSubscriptionId;
80 if (mCurSubscriptionId != oldSubIndex) {
97 int oldSubId = mCurSubscriptionId; in onNewIntent()
127 switchFragment(new MobileNetworkSettings(), mCurSubscriptionId, in onCreate()
133 return mCurSubscriptionId; in onCreate()
140 mCurSubscriptionId = savedInstanceState != null in onCreate()
149 maybeShowContactDiscoveryDialog(mCurSubscriptionId); in onCreate()
174 outState.putInt(Settings.EXTRA_SUB_ID, mCurSubscriptionId); in saveInstanceState()
275 if (mCurSubscriptionId != SUB_ID_NULL && subscriptionId == mCurSubscriptionId in switchFragment()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java61 int mCurSubscriptionId; field in MobileNetworkActivity
89 if (mCurSubscriptionId != SUB_ID_NULL) { in onCreate()
92 switchFragment(new MobileNetworkSettings(), mCurSubscriptionId, in onCreate()
98 mCurSubscriptionId = savedInstanceState != null in onCreate()
132 outState.putInt(Settings.EXTRA_SUB_ID, mCurSubscriptionId); in saveInstanceState()
223 if (mCurSubscriptionId != SUB_ID_NULL && subscriptionId == mCurSubscriptionId in switchFragment()
236 mCurSubscriptionId = subscriptionId; in switchFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java157 mMobileNetworkActivity.mCurSubscriptionId = PREV_SUB_ID; in switchFragment_newFragment_replaceIt()
246 mMobileNetworkActivity.mCurSubscriptionId = PREV_SUB_ID; in onSaveInstanceState_saveCurrentSubId()
261 mMobileNetworkActivity.mCurSubscriptionId = PREV_SUB_ID; in onNewIntent_newSubscriptionId_fragmentReplaced()
266 assertThat(mMobileNetworkActivity.mCurSubscriptionId).isEqualTo(CURRENT_SUB_ID); in onNewIntent_newSubscriptionId_fragmentReplaced()