/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 | 48 protected UiccController mUiccController = null; field in GsmSMSDispatcher 63 mUiccController = UiccController.getInstance(); in GsmSMSDispatcher() 64 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in GsmSMSDispatcher() 72 mUiccController.unregisterForIccChanged(this); in dispose() 238 return mUiccController.getUiccCardApplication(mPhone.getPhoneId(), in getUiccCardApplication() 243 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 | MetricsCollectorTest.java | 111 doReturn(new UiccSlot[] {mPhysicalSlot, mEsimSlot}).when(mUiccController).getUiccSlots(); in onPullAtom_simSlotState_bothSimPresent() 112 doReturn(mPhysicalSlot).when(mUiccController).getUiccSlot(eq(0)); in onPullAtom_simSlotState_bothSimPresent() 113 doReturn(mEsimSlot).when(mUiccController).getUiccSlot(eq(1)); in onPullAtom_simSlotState_bothSimPresent() 135 replaceInstance(UiccController.class, "mInstance", mUiccController, null); in onPullAtom_simSlotState_beforeUiccControllerReady()
|
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 | 109 private UiccController mUiccController; field in CatService 181 mUiccController = UiccController.getInstance(); in CatService() 182 mUiccController.registerForIccChanged(this, MSG_ID_ICC_CHANGED, null); in CatService() 265 if (mUiccController != null) { in dispose() 266 mUiccController.unregisterForIccChanged(this); in dispose() 267 mUiccController = null; in dispose() 1151 if (null == mUiccController) { in updateIccAvailability() 1156 UiccCard newCard = mUiccController.getUiccCard(mSlotId); in updateIccAvailability()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 135 verify(mUiccController).registerForIccChanged(eq(mPhoneUT), integerArgumentCaptor.capture(), in setUp() 330 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForGsmPhone() 348 doReturn(iccRecords).when(mUiccController) in testGetSubscriberIdForCdmaLtePhone() 1074 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetIccCardUnknownAndAbsent() 1076 doReturn(mockSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testGetIccCardUnknownAndAbsent() 1092 doReturn(null).when(mUiccController).getUiccProfileForPhone(anyInt()); in testGetEmptyIccCard() 1191 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testEnableUiccApplications() 1208 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementNotNeeded() 1236 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementSuccess() 1274 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in testReapplyUiccApplicationEnablementRetry()
|
D | TelephonyTest.java | 164 protected UiccController mUiccController; field in TelephonyTest 530 doReturn(mUiccCardApplication3gpp).when(mUiccController).getUiccCardApplication(anyInt(), in setUp() 532 doReturn(mUiccCardApplication3gpp2).when(mUiccController).getUiccCardApplication(anyInt(), in setUp() 534 doReturn(mUiccCardApplicationIms).when(mUiccController).getUiccCardApplication(anyInt(), in setUp() 551 }).when(mUiccController).getIccRecords(anyInt(), anyInt()); in setUp() 648 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
|
D | CarrierServicesSmsFilterTest.java | 181 when(mUiccController.getUiccCard(mPhone.getPhoneId())).thenReturn(mUiccCard); in mockUiccWithCarrierApp()
|
D | SubscriptionControllerTest.java | 1473 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdSingleSIM() 1499 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetEnabledSubscriptionIdDualSIM() 1563 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetAvailableSubscriptionList() 1592 doReturn(uiccSlots).when(mUiccController).getUiccSlots(); in testGetAvailableSubscriptionList_withTrailingF()
|
D | SubscriptionInfoUpdaterTest.java | 137 doReturn(mUiccSlot).when(mUiccController).getUiccSlotForPhone(anyInt()); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 64 private UiccController mUiccController; field in EuiccCardController 127 mUiccController = uiccController; in EuiccCardController() 158 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedSlotActivated() 174 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedCardPresent() 509 mUiccController.convertToPublicCardId(cardId)); in deleteProfile() 561 mUiccController.convertToPublicCardId(cardId)); in resetMemory() 1050 mUiccController.convertToPublicCardId(cardId)); in loadBoundProfilePackage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 911 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getIccSerialNumber() 921 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getFullIccSerialNumber() 1811 IccRecords r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP2); in getNai() 1826 IccRecords iccRecords = mUiccController.getIccRecords( in getSubscriberId() 3103 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP); in getUiccCardApplication() 3105 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP2); in getUiccCardApplication() 3114 if (mUiccController == null ) { in onUpdateIccAvailability() 3123 mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_IMS); in onUpdateIccAvailability() 3138 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability() 3156 newUiccApplication = mUiccController.getUiccCardApplication(mPhoneId, in onUpdateIccAvailability() [all …]
|
D | ServiceStateTracker.java | 151 private UiccController mUiccController = null; field in ServiceStateTracker 624 mUiccController = UiccController.getInstance(); in ServiceStateTracker() 626 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in ServiceStateTracker() 807 mUiccController.unregisterForIccChanged(this); in dispose() 1674 if (mUiccController == null) { in isSimAbsent() 1677 UiccCard uiccCard = mUiccController.getUiccCard(mPhone.getPhoneId()); in isSimAbsent() 2558 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null in updateOperatorNameFromCarrierConfig() 2559 && mUiccController.getUiccCard(getPhoneId()).getOperatorBrandOverride() != null; in updateOperatorNameFromCarrierConfig() 2925 if (mUiccController == null ) { in onUpdateIccAvailability() 3635 boolean hasBrandOverride = mUiccController.getUiccCard(getPhoneId()) != null && in getOperatorNameFromEri() [all …]
|
D | Phone.java | 307 protected UiccController mUiccController = null; field in Phone 581 mUiccController = UiccController.getInstance(); in Phone() 582 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); in Phone() 3607 return mUiccController.getUiccCard(mPhoneId); in getUiccCard()
|
D | SubscriptionController.java | 151 protected UiccController mUiccController; field in SubscriptionController 328 mUiccController = UiccController.getInstance(); in internalInit() 541 int publicCardId = mUiccController.convertToPublicCardId(cardId); in getSubInfoRecord() 1337 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in addSubInfo() 1645 UiccCard card = mUiccController.getUiccCardForPhone(slotIndex); in insertEmptySubInfoRecord()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallSessionStats.java | 113 private final UiccController mUiccController = UiccController.getInstance(); field in VoiceCallSessionStats 466 UiccSlot slot = mUiccController.getUiccSlot(slotId); in isEsim() 478 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()
|