Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionUtilTest.java79 private TelephonyManager mTelMgr; field in SubscriptionUtilTest
90 when(mContext.getSystemService(TelephonyManager.class)).thenReturn(mTelMgr); in setUp()
92 when(mTelMgr.getUiccSlotsInfo()).thenReturn(null); in setUp()
219 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_uniqueCarriers_originalUsed()
220 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_uniqueCarriers_originalUsed()
249 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed()
250 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed()
279 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed()
280 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed()
308 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_phoneNumberBlocked_subscriptionIdFallback()
[all …]
/packages/apps/Settings/src/com/android/settings/sim/receivers/
DSimSlotChangeHandler.java79 private TelephonyManager mTelMgr; field in SimSlotChangeHandler
110 if (mTelMgr.getActiveModemCount() > 1) { in onSlotsStatusChange()
149 if (mTelMgr.getActiveModemCount() > 1) { in onSuwFinish()
166 if (mTelMgr.isMultiSimSupported() == TelephonyManager.MULTISIM_ALLOWED) { in onSuwFinish()
187 mTelMgr = context.getSystemService(TelephonyManager.class); in init()
204 if (mTelMgr.isMultiSimSupported() == TelephonyManager.MULTISIM_ALLOWED) { in handleSimInsert()
313 UiccSlotInfo[] slotInfos = mTelMgr.getUiccSlotsInfo(); in getRemovableUiccSlotInfo()
400 List<UiccCardInfo> cardInfos = mTelMgr.getUiccCardsInfo(); in isMultipleEnabledProfilesSupported()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DToggleSubscriptionDialogActivity.java89 private TelephonyManager mTelMgr; field in ToggleSubscriptionDialogActivity
98 mTelMgr = getSystemService(TelephonyManager.class); in onCreate()
191 if (mTelMgr.doesSwitchMultiSimConfigTriggerReboot()) { in onConfirm()
209 mTelMgr.switchMultiSimConfig(NUM_OF_SIMS_FOR_DSDS); in onConfirm()
332 if (!mIsEsimOperation && mTelMgr.isMultiSimEnabled() in showEnableSubDialog()
397 boolean isMultiSimEnabled = mTelMgr.isMultiSimEnabled(); in showEnableSimConfirmDialog()
553 if (mTelMgr.isMultiSimEnabled()) { in isDsdsConditionSatisfied()
557 if (mTelMgr.isMultiSimSupported() != TelephonyManager.MULTISIM_ALLOWED) { in isDsdsConditionSatisfied()
587 return UiccSlotUtil.isRemovableSimEnabled(mTelMgr); in isRemovableSimEnabled()
591 List<UiccCardInfo> cardInfos = mTelMgr.getUiccCardsInfo(); in isMultipleEnabledProfilesSupported()