Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/helper/
DSubscriptionAnnotation.java36 private SubscriptionInfo mSubInfo; field in SubscriptionAnnotation
80 mSubInfo = subInfoList.get(subInfoIndex); in SubscriptionAnnotation()
81 if (mSubInfo == null) { in SubscriptionAnnotation()
85 mType = mSubInfo.isEmbedded() ? TYPE_ESIM : TYPE_PSIM; in SubscriptionAnnotation()
88 int cardId = mSubInfo.getCardId(); in SubscriptionAnnotation()
89 mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation()
95 mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX) in SubscriptionAnnotation()
96 && activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex()); in SubscriptionAnnotation()
127 return (mSubInfo == null) ? SubscriptionManager.INVALID_SUBSCRIPTION_ID : in getSubscriptionId()
128 mSubInfo.getSubscriptionId(); in getSubscriptionId()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DToggleSubscriptionDialogActivity.java83 private SubscriptionInfo mSubInfo; field in ToggleSubscriptionDialogActivity
114 mSubInfo = SubscriptionUtil.getSubById(mSubscriptionManager, subId); in onCreate()
115 mIsEsimOperation = mSubInfo != null && mSubInfo.isEmbedded(); in onCreate()
177 int port = mSubInfo != null ? mSubInfo.getPortIndex() : 0; in onConfirm()
221 SubscriptionUtil.getUniqueSubscriptionDisplayName(mSubInfo, this)), in onConfirm()
224 mSwitchToEuiccSubscriptionSidecar.run(mSubInfo.getSubscriptionId(), in onConfirm()
302 Log.i(TAG, "DSDS enabled, start to enable profile: " + mSubInfo.getSubscriptionId()); in handleEnableSubscriptionAfterEnablingDsds()
304 mSwitchToEuiccSubscriptionSidecar.run(mSubInfo.getSubscriptionId(), in handleEnableSubscriptionAfterEnablingDsds()
316 if (mSubscriptionManager.canDisablePhysicalSubscription() && mSubInfo != null) { in handleTogglePsimAction()
317 mSubscriptionManager.setUiccApplicationsEnabled(mSubInfo.getSubscriptionId(), mEnable); in handleTogglePsimAction()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DCellDataPreferenceTest.java37 private SubscriptionInfo mSubInfo; field in CellDataPreferenceTest
50 return mSubInfo; in setUp()
57 mSubInfo = null; in updateEnabled_noActiveSub_shouldDisable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java101 private SubscriptionInfo mSubInfo; field in SimSelectNotificationTest
141 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubInfo)); in setUp()
142 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(mSubInfo)); in setUp()
144 when(mSubscriptionManager.getActiveSubscriptionInfo(mSubId)).thenReturn(mSubInfo); in setUp()
147 when(mSubInfo.getSubscriptionId()).thenReturn(mSubId); in setUp()
148 when(mSubInfo.getDisplayName()).thenReturn(mFakeDisplayName); in setUp()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmCellBroadcastHandlerTest.java97 private SubscriptionInfo mSubInfo; field in GsmCellBroadcastHandlerTest
211 doReturn(mSubInfo).when(mMockedSubscriptionManager) in setUp()
213 doReturn(FAKE_SUBID).when(mSubInfo).getSubscriptionId(); in setUp()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java73 SubscriptionInfo mSubInfo; field in ONSProfileSelectorTest