Home
last modified time | relevance | path

Searched refs:mSimRecords (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java576 doReturn(voiceMailNumber).when(mSimRecords).getMsisdnNumber(); in testVoiceMailNumberGsm()
616 verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberGsm()
619 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberGsm()
675 InOrder inOrder = inOrder(mSimRecords); in testVoiceMailNumberCdma()
676 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
693 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
702 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberCdma()
722 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
726 doReturn(-1).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
733 doReturn(0).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
[all …]
DCarrierResolverTest.java124 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testCarrierMatch()
136 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
147 doReturn(SPN_VODAFONE).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
DTelephonyTest.java218 protected SIMRecords mSimRecords; field in TelephonyTest
541 return mSimRecords; in setUp()
554 doReturn(mSimRecords).when(mUiccCardApplication3gpp).getIccRecords(); in setUp()
559 doReturn(mSimRecords).when(mUiccProfile).getIccRecords(); in setUp()
562 return (mPhone.isPhoneTypeGsm()) ? mSimRecords : mRuimRecords; in setUp()
DServiceStateTrackerTest.java290 .when(mSimRecords).getCarrierNameDisplayCondition(); in setUp()
476 doReturn(0).when(mSimRecords).getCarrierNameDisplayCondition(); in testSpnUpdateShowPlmnOnly()
2249 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord()
2264 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithAllSource()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccPhoneBookInterfaceManagerTest.java71 doReturn(mSimRecords).when(mPhone).getIccRecords(); in setUp()
72 doReturn(mAdnRecordCache).when(mSimRecords).getAdnCache(); in setUp()
DUiccControllerTest.java154 assertEquals(mSimRecords, mUiccControllerUT.getIccRecords(0, UiccController.APP_FAM_3GPP)); in testSanity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java186 private SIMRecords mSimRecords; field in GsmCdmaPhone
1663 if (isPhoneTypeGsm() || mSimRecords != null) { in getVoiceMailNumber()
1665 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailNumber()
1902 r = mSimRecords; in setCarrierTestOverride()
1920 return (mSimRecords != null) ? mSimRecords.getGid1() : ""; in getGroupIdLevel1()
1933 return (mSimRecords != null) ? mSimRecords.getGid2() : ""; in getGroupIdLevel2()
1949 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getLine1Number()
1964 return (mSimRecords != null) ? mSimRecords.getPnnHomeName() : null; in getPlmn()
2012 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getMsisdn()
2054 if (!isPhoneTypeGsm() && mSimRecords != null) { in setVoiceMailNumber()
[all …]