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.java45 protected UiccController mUiccController = null; field in GsmSMSDispatcher
59 mUiccController = UiccController.getInstance(); in GsmSMSDispatcher()
60 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in GsmSMSDispatcher()
68 mUiccController.unregisterForIccChanged(this); in dispose()
227 return mUiccController.getUiccCardApplication(mPhone.getPhoneId(), in getUiccCardApplication()
232 if (mUiccController == null ) { in onUpdateIccAvailability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java115 private UiccController mUiccController; field in CatService
187 mUiccController = UiccController.getInstance(); in CatService()
188 mUiccController.registerForIccChanged(this, MSG_ID_ICC_CHANGED, null); in CatService()
270 if (mUiccController != null) { in dispose()
271 mUiccController.unregisterForIccChanged(this); in dispose()
272 mUiccController = null; in dispose()
385 if (mUiccController != null) { in handleCommand()
386 mUiccController.addCardLog("ProactiveCommand mSlotId=" + mSlotId + in handleCommand()
1156 if (null == mUiccController) { in updateIccAvailability()
1161 UiccCard newCard = mUiccController.getUiccCard(mSlotId); in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java130 protected UiccController mUiccController; field in TelephonyTest
455 doReturn(mUiccCardApplication3gpp).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
457 doReturn(mUiccCardApplication3gpp2).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
459 doReturn(mUiccCardApplicationIms).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
476 }).when(mUiccController).getIccRecords(anyInt(), anyInt()); in setUp()
557 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
DGsmCdmaPhoneTest.java137 verify(mUiccController).registerForIccChanged(eq(mPhoneUT), integerArgumentCaptor.capture(), in setUp()
176 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForGsmPhone()
194 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForCdmaLtePhone()
897 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
899 doReturn(mockSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
915 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetEmptyIccCard()
DCarrierServicesSmsFilterTest.java183 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
DSubscriptionControllerTest.java950 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdSingleSIM()
974 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdDualSIM()
DSubscriptionInfoUpdaterTest.java141 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in setUp()
/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/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java825 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getIccSerialNumber()
835 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getFullIccSerialNumber()
1639 IccRecords r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP2); in getNai()
1654 IccRecords iccRecords = mUiccController.getIccRecords( in getSubscriberId()
2799 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP); in getUiccCardApplication()
2801 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP2); in getUiccCardApplication()
2810 if (mUiccController == null ) { in onUpdateIccAvailability()
2819 mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_IMS); in onUpdateIccAvailability()
2834 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
2852 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
[all …]
DProxyController.java67 private UiccController mUiccController; field in ProxyController
131 mUiccController = uiccController; in ProxyController()
DServiceStateTracker.java141 private UiccController mUiccController = null; field in ServiceStateTracker
587 mUiccController = UiccController.getInstance(); in ServiceStateTracker()
589 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in ServiceStateTracker()
770 mUiccController.unregisterForIccChanged(this); in dispose()
1581 if (mUiccController == null) { in isSimAbsent()
1584 UiccCard uiccCard = mUiccController.getUiccCard(mPhone.getPhoneId()); in isSimAbsent()
2459 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null in updateOperatorNameFromCarrierConfig()
2460 && mUiccController.getUiccCard(getPhoneId()).getOperatorBrandOverride() != null; in updateOperatorNameFromCarrierConfig()
2794 if (mUiccController == null ) { in onUpdateIccAvailability()
3431 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null && in getOperatorNameFromEri()
[all …]
DSubscriptionController.java138 protected UiccController mUiccController; field in SubscriptionController
194 mUiccController = UiccController.getInstance(); in init()
354 int publicCardId = mUiccController.convertToPublicCardId(cardId); in getSubInfoRecord()
1071 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in addSubInfo()
1395 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in insertEmptySubInfoRecord()
DPhone.java304 protected UiccController mUiccController = null; field in Phone
591 mUiccController = UiccController.getInstance(); in Phone()
592 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in Phone()
3291 return mUiccController.getUiccCard(mPhoneId); in getUiccCard()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java556 private final UiccController mUiccController; field in DcTracker
694 mUiccController = UiccController.getInstance(); in DcTracker()
695 mUiccController.registerForIccChanged(this, DctConstants.EVENT_ICC_CHANGED, null); in DcTracker()
760 mUiccController = null; in DcTracker()
835 mUiccController.unregisterForIccChanged(this); in dispose()
3824 return mUiccController.getIccRecords(mPhone.getPhoneId(), appFamily); in getUiccRecords()
3829 if (mUiccController == null ) { in onUpdateIcc()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java133 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
DDcTrackerTest.java944 verify(mUiccController, times(1)).registerForIccChanged(eq(mDct), in testDDSResetAutoAttach()