Home
last modified time | relevance | path

Searched refs:mSubInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/helper/
DSubscriptionAnnotation.java37 private SubscriptionInfo mSubInfo; field in SubscriptionAnnotation
86 mSubInfo = subInfoList.get(subInfoIndex); in SubscriptionAnnotation()
87 if (mSubInfo == null) { in SubscriptionAnnotation()
92 mType = mSubInfo.isEmbedded() ? TYPE_ESIM : TYPE_PSIM; in SubscriptionAnnotation()
95 int cardId = mSubInfo.getCardId(); in SubscriptionAnnotation()
96 mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation()
102 mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX) in SubscriptionAnnotation()
103 && activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation()
140 return (mSubInfo == null) ? SubscriptionManager.INVALID_SUBSCRIPTION_ID : in getSubscriptionId()
141 mSubInfo.getSubscriptionId(); in getSubscriptionId()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DToggleSubscriptionDialogActivity.java74 private SubscriptionInfo mSubInfo; field in ToggleSubscriptionDialogActivity
103 mSubInfo = SubscriptionUtil.getSubById(mSubscriptionManager, subId); in onCreate()
104 mIsEsimOperation = mSubInfo != null && mSubInfo.isEmbedded(); in onCreate()
202 mSubInfo, this))); in onConfirm()
203 mSwitchToEuiccSubscriptionSidecar.run(mSubInfo.getSubscriptionId()); in onConfirm()
282 Log.i(TAG, "DSDS enabled, start to enable profile: " + mSubInfo.getSubscriptionId()); in handleEnableSubscriptionAfterEnablingDsds()
284 mSwitchToEuiccSubscriptionSidecar.run(mSubInfo.getSubscriptionId()); in handleEnableSubscriptionAfterEnablingDsds()
295 if (mSubscriptionManager.canDisablePhysicalSubscription() && mSubInfo != null) { in handleTogglePsimAction()
296 mSubscriptionManager.setUiccApplicationsEnabled(mSubInfo.getSubscriptionId(), mEnable); in handleTogglePsimAction()
347 mSubInfo, this); in showDisableSimConfirmDialog()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java94 private SubscriptionInfo mSubInfo; field in SimSelectNotificationTest
132 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubInfo)); in setUp()
133 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(mSubInfo)); in setUp()
135 when(mSubscriptionManager.getActiveSubscriptionInfo(mSubId)).thenReturn(mSubInfo); in setUp()
136 when(mSubInfo.getSubscriptionId()).thenReturn(mSubId); in setUp()
137 when(mSubInfo.getDisplayName()).thenReturn(mFakeDisplayName); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DCellDataPreferenceTest.java40 private SubscriptionInfo mSubInfo; field in CellDataPreferenceTest
53 return mSubInfo; in setUp()
64 mSubInfo = null; in updateEnabled_noActiveSub_shouldDisable()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java65 SubscriptionInfo mSubInfo; field in ONSProfileSelectorTest