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.java580 doReturn(voiceMailNumber).when(mSimRecords).getMsisdnNumber(); in testVoiceMailNumberGsm()
620 verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberGsm()
623 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberGsm()
679 InOrder inOrder = inOrder(mSimRecords); in testVoiceMailNumberCdma()
680 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
697 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
706 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberCdma()
726 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
730 doReturn(-1).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
737 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.java213 protected SIMRecords mSimRecords; field in TelephonyTest
534 return mSimRecords; in setUp()
547 doReturn(mSimRecords).when(mUiccCardApplication3gpp).getIccRecords(); in setUp()
552 doReturn(mSimRecords).when(mUiccProfile).getIccRecords(); in setUp()
555 return (mPhone.isPhoneTypeGsm()) ? mSimRecords : mRuimRecords; in setUp()
DServiceStateTrackerTest.java290 .when(mSimRecords).getCarrierNameDisplayCondition(); in setUp()
476 doReturn(0).when(mSimRecords).getCarrierNameDisplayCondition(); in testSpnUpdateShowPlmnOnly()
2209 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord()
2224 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.java191 private SIMRecords mSimRecords; field in GsmCdmaPhone
1653 if (isPhoneTypeGsm() || mSimRecords != null) { in getVoiceMailNumber()
1655 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailNumber()
1729 if (isPhoneTypeGsm() || mSimRecords != null) { in getVoiceMailAlphaTag()
1730 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailAlphaTag()
1892 r = mSimRecords; in setCarrierTestOverride()
1910 return (mSimRecords != null) ? mSimRecords.getGid1() : ""; in getGroupIdLevel1()
1923 return (mSimRecords != null) ? mSimRecords.getGid2() : ""; in getGroupIdLevel2()
1939 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getLine1Number()
1954 return (mSimRecords != null) ? mSimRecords.getPnnHomeName() : null; in getPlmn()
[all …]