/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 72 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/ |
D | UiccStateChangedLauncher.java | 46 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/ |
D | GsmSMSDispatcher.java | 46 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/ |
D | SimSlotStateTest.java | 73 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()
|
D | VoiceCallSessionStatsTest.java | 164 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/ |
D | CatService.java | 112 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/ |
D | EuiccCardController.java | 64 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/ |
D | GsmCdmaPhoneTest.java | 139 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()
|
D | TelephonyTest.java | 161 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()
|
D | CarrierServicesSmsFilterTest.java | 182 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
|
D | SubscriptionControllerTest.java | 1036 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()
|
D | SubscriptionInfoUpdaterTest.java | 135 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 901 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 …]
|
D | ServiceStateTracker.java | 150 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 …]
|
D | SubscriptionController.java | 147 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()
|
D | Phone.java | 307 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/ |
D | VoiceCallSessionStats.java | 125 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/ |
D | RetryManagerTest.java | 133 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
|