Home
last modified time | relevance | path

Searched refs:mUiccController (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java72 private UiccController mUiccController; field in EuiccCardControllerTest
149 new EuiccCardController(mContext, null, mEuiccController, mUiccController); in testIsEmbeddedSlotActivated()
150 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
154 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
158 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
162 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
167 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
176 new EuiccCardController(mContext, null, mEuiccController, mUiccController); in testIsEmbeddedCardPresent()
177 when(mUiccController.getUiccSlots()) in testIsEmbeddedCardPresent()
181 when(mUiccController.getUiccSlots()) in testIsEmbeddedCardPresent()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccStateChangedLauncher.java46 private UiccController mUiccController; field in UiccStateChangedLauncher
54 mUiccController = controller; in UiccStateChangedLauncher()
55 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in UiccStateChangedLauncher()
71 UiccCard uiccCard = mUiccController.getUiccCardForPhone(i); in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java46 protected UiccController mUiccController = null; field in GsmSMSDispatcher
61 mUiccController = UiccController.getInstance(); in GsmSMSDispatcher()
62 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in GsmSMSDispatcher()
70 mUiccController.unregisterForIccChanged(this); in dispose()
211 return mUiccController.getUiccCardApplication(mPhone.getPhoneId(), in getUiccCardApplication()
216 if (mUiccController == null ) { in onUpdateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSimSlotStateTest.java73 doReturn(new UiccSlot[] {}).when(mUiccController).getUiccSlots(); in testEmptySlots()
312 doReturn(new UiccSlot[] {slot0}).when(mUiccController).getUiccSlots(); in setupSingleSim()
313 doReturn(slot0).when(mUiccController).getUiccSlot(eq(0)); in setupSingleSim()
317 doReturn(new UiccSlot[] {slot0, slot1}).when(mUiccController).getUiccSlots(); in setupDualSim()
318 doReturn(slot0).when(mUiccController).getUiccSlot(eq(0)); in setupDualSim()
319 doReturn(slot1).when(mUiccController).getUiccSlot(eq(1)); in setupDualSim()
DVoiceCallSessionStatsTest.java164 doReturn(new UiccSlot[] {mPhysicalSlot}).when(mUiccController).getUiccSlots(); in setUp()
165 doReturn(mPhysicalSlot).when(mUiccController).getUiccSlot(eq(0)); in setUp()
167 doReturn(0).when(mUiccController).getSlotIdFromPhoneId(0); in setUp()
168 doReturn(1).when(mUiccController).getSlotIdFromPhoneId(1); in setUp()
435 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_dsdsModeSingleSim()
436 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in singleImsCall_dsdsModeSingleSim()
475 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_dsdsMode()
476 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in singleImsCall_dsdsMode()
515 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in singleImsCall_esim()
516 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in singleImsCall_esim()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java112 private UiccController mUiccController; field in CatService
184 mUiccController = UiccController.getInstance(); in CatService()
185 mUiccController.registerForIccChanged(this, MSG_ID_ICC_CHANGED, null); in CatService()
268 if (mUiccController != null) { in dispose()
269 mUiccController.unregisterForIccChanged(this); in dispose()
270 mUiccController = null; in dispose()
1154 if (null == mUiccController) { in updateIccAvailability()
1159 UiccCard newCard = mUiccController.getUiccCard(mSlotId); in updateIccAvailability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java64 private UiccController mUiccController; field in EuiccCardController
124 mUiccController = uiccController; in EuiccCardController()
155 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedSlotActivated()
171 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedCardPresent()
506 mUiccController.convertToPublicCardId(cardId)); in deleteProfile()
558 mUiccController.convertToPublicCardId(cardId)); in resetMemory()
1047 mUiccController.convertToPublicCardId(cardId)); in loadBoundProfilePackage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java139 verify(mUiccController).registerForIccChanged(eq(mPhoneUT), integerArgumentCaptor.capture(), in setUp()
334 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForGsmPhone()
352 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForCdmaLtePhone()
1112 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
1114 doReturn(mockSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
1130 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetEmptyIccCard()
1229 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testEnableUiccApplications()
1246 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementNotNeeded()
1274 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementSuccess()
1312 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementRetry()
DTelephonyTest.java161 protected UiccController mUiccController; field in TelephonyTest
523 doReturn(mUiccCardApplication3gpp).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
525 doReturn(mUiccCardApplication3gpp2).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
527 doReturn(mUiccCardApplicationIms).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
544 }).when(mUiccController).getIccRecords(anyInt(), anyInt()); in setUp()
638 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
DCarrierServicesSmsFilterTest.java182 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
DSubscriptionControllerTest.java1036 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdSingleSIM()
1062 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdDualSIM()
1120 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetAvailableSubscriptionList_withTrailingF()
1190 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetAvailableSubscriptionList()
DSubscriptionInfoUpdaterTest.java135 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java901 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getIccSerialNumber()
911 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getFullIccSerialNumber()
1801 IccRecords r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP2); in getNai()
1816 IccRecords iccRecords = mUiccController.getIccRecords( in getSubscriberId()
3129 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP); in getUiccCardApplication()
3131 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP2); in getUiccCardApplication()
3140 if (mUiccController == null ) { in onUpdateIccAvailability()
3149 mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_IMS); in onUpdateIccAvailability()
3164 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
3182 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
[all …]
DServiceStateTracker.java150 private UiccController mUiccController = null; field in ServiceStateTracker
634 mUiccController = UiccController.getInstance(); in ServiceStateTracker()
636 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in ServiceStateTracker()
817 mUiccController.unregisterForIccChanged(this); in dispose()
1685 if (mUiccController == null) { in isSimAbsent()
1688 UiccCard uiccCard = mUiccController.getUiccCard(mPhone.getPhoneId()); in isSimAbsent()
2569 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null in updateOperatorNameFromCarrierConfig()
2570 && mUiccController.getUiccCard(getPhoneId()).getOperatorBrandOverride() != null; in updateOperatorNameFromCarrierConfig()
2936 if (mUiccController == null ) { in onUpdateIccAvailability()
3648 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null && in getOperatorNameFromEri()
[all …]
DSubscriptionController.java147 protected UiccController mUiccController; field in SubscriptionController
206 mUiccController = UiccController.getInstance(); in internalInit()
380 int publicCardId = mUiccController.convertToPublicCardId(cardId); in getSubInfoRecord()
1173 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in addSubInfo()
1492 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in insertEmptySubInfoRecord()
DPhone.java307 protected UiccController mUiccController = null; field in Phone
585 mUiccController = UiccController.getInstance(); in Phone()
586 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in Phone()
3587 return mUiccController.getUiccCard(mPhoneId); in getUiccCard()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java125 private final UiccController mUiccController = UiccController.getInstance(); field in VoiceCallSessionStats
478 UiccSlot slot = mUiccController.getUiccSlot(slotId); in isEsim()
490 return mUiccController.getSlotIdFromPhoneId(mPhoneId); in getSimSlotId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java133 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()