Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java67 private UiccController mUiccController; field in EuiccCardControllerTest
138 new EuiccCardController(mContext, null, mEuiccController, mUiccController); in testIsEmbeddedSlotActivated()
139 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
143 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
147 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
151 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
156 when(mUiccController.getUiccSlots()) in testIsEmbeddedSlotActivated()
167 when(mUiccController.getUiccSlots()).thenReturn(new UiccSlot[] {mActivatedEsimSlot}); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot()
170 new EuiccCardController(mContext, null, mEuiccController, mUiccController); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot()
183 when(mUiccController.getUiccSlots()).thenReturn(new UiccSlot[] {mActivatedEsimSlot}); in testStartOtaUpdatingIfNecessary_notBootUp()
[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.java103 private UiccController mUiccController; field in CatService
177 mUiccController = UiccController.getInstance(); in CatService()
178 mUiccController.registerForIccChanged(this, MSG_ID_ICC_CHANGED, null); in CatService()
259 if (mUiccController != null) { in dispose()
260 mUiccController.unregisterForIccChanged(this); in dispose()
261 mUiccController = null; in dispose()
376 if (mUiccController != null) { in handleCommand()
377 mUiccController.addCardLog("ProactiveCommand mSlotId=" + mSlotId + in handleCommand()
1143 if (null == mUiccController) { in updateIccAvailability()
1148 UiccCard newCard = mUiccController.getUiccCard(mSlotId); in updateIccAvailability()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java110 protected UiccController mUiccController; field in TelephonyTest
396 doReturn(mUiccCardApplication3gpp).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
398 doReturn(mUiccCardApplication3gpp2).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
400 doReturn(mUiccCardApplicationIms).when(mUiccController).getUiccCardApplication(anyInt(), in setUp()
417 }).when(mUiccController).getIccRecords(anyInt(), anyInt()); in setUp()
479 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
DGsmCdmaPhoneTest.java133 verify(mUiccController).registerForIccChanged(eq(mPhoneUT), integerArgumentCaptor.capture(), in setUp()
189 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForGsmPhone()
207 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForCdmaLtePhone()
910 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
912 doReturn(mockSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testGetIccCardUnknownAndAbsent()
928 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetEmptyIccCard()
DCarrierServicesSmsFilterTest.java143 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java728 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getIccSerialNumber()
738 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getFullIccSerialNumber()
1506 IccRecords r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP2); in getNai()
1521 IccRecords iccRecords = mUiccController.getIccRecords( in getSubscriberId()
2579 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP); in getUiccCardApplication()
2581 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP2); in getUiccCardApplication()
2590 if (mUiccController == null ) { in onUpdateIccAvailability()
2599 mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_IMS); in onUpdateIccAvailability()
2614 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
2632 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability()
[all …]
DServiceStateTracker.java122 private UiccController mUiccController = null; field in ServiceStateTracker
495 mUiccController = UiccController.getInstance(); in ServiceStateTracker()
497 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in ServiceStateTracker()
671 mUiccController.unregisterForIccChanged(this); in dispose()
1956 String brandOverride = mUiccController.getUiccCard(getPhoneId()) != null in handlePollStateResultMessage()
1957 ? mUiccController.getUiccCard(getPhoneId()) in handlePollStateResultMessage()
1988 String brandOverride = mUiccController.getUiccCard(getPhoneId()) != null in handlePollStateResultMessage()
1989 ? mUiccController.getUiccCard(getPhoneId()) in handlePollStateResultMessage()
2521 if (mUiccController == null ) { in onUpdateIccAvailability()
3092 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null && in updateOperatorNameFromEri()
[all …]
DProxyController.java64 private UiccController mUiccController; field in ProxyController
123 mUiccController = uiccController; in ProxyController()
DPhone.java271 protected UiccController mUiccController = null; field in Phone
547 mUiccController = UiccController.getInstance(); in Phone()
548 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in Phone()
3015 return mUiccController.getUiccCard(mPhoneId); in getUiccCard()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java64 private UiccController mUiccController; field in EuiccCardController
119 mUiccController = uiccController; in EuiccCardController()
150 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedSlotActivated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java445 private final UiccController mUiccController; field in DcTracker
583 mUiccController = UiccController.getInstance(); in DcTracker()
584 mUiccController.registerForIccChanged(this, DctConstants.EVENT_ICC_CHANGED, null); in DcTracker()
645 mUiccController = null; in DcTracker()
727 mUiccController.unregisterForIccChanged(this); in dispose()
4052 return mUiccController.getIccRecords(mPhone.getPhoneId(), appFamily); in getUiccRecords()
4057 if (mUiccController == null ) { in onUpdateIcc()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java135 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
DDcTrackerTest.java913 verify(mUiccController, times(1)).registerForIccChanged(eq(mDct), in testDDSResetAutoAttach()