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.java717 doReturn(voiceMailNumber).when(mSimRecords).getMsisdnNumber(); in testVoiceMailNumberGsm()
757 verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberGsm()
760 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberGsm()
816 InOrder inOrder = inOrder(mSimRecords); in testVoiceMailNumberCdma()
817 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
834 inOrder.verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
843 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberCdma()
863 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
867 doReturn(-1).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
874 doReturn(0).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
[all …]
DCarrierResolverTest.java125 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testCarrierMatch()
137 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
148 doReturn(SPN_VODAFONE).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
DTelephonyTest.java234 protected SIMRecords mSimRecords; field in TelephonyTest
595 return mSimRecords; in setUp()
610 doReturn(mSimRecords).when(mUiccCardApplication3gpp).getIccRecords(); in setUp()
615 doReturn(mSimRecords).when(mUiccProfile).getIccRecords(); in setUp()
618 return (mPhone.isPhoneTypeGsm()) ? mSimRecords : mRuimRecords; in setUp()
DServiceStateTrackerTest.java300 .when(mSimRecords).getCarrierNameDisplayCondition(); in setUp()
522 doReturn(0).when(mSimRecords).getCarrierNameDisplayCondition(); in testSpnUpdateShowPlmnOnly()
2438 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord()
2453 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithAllSource()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java202 private SIMRecords mSimRecords; field in GsmCdmaPhone
1721 if (isPhoneTypeGsm() || mSimRecords != null) { in getVoiceMailNumber()
1723 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailNumber()
1798 if (isPhoneTypeGsm() || mSimRecords != null) { in getVoiceMailAlphaTag()
1799 IccRecords r = isPhoneTypeGsm() ? mIccRecords.get() : mSimRecords; in getVoiceMailAlphaTag()
1991 r = mSimRecords; in setCarrierTestOverride()
2009 return (mSimRecords != null) ? mSimRecords.getGid1() : ""; in getGroupIdLevel1()
2022 return (mSimRecords != null) ? mSimRecords.getGid2() : ""; in getGroupIdLevel2()
2038 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getLine1Number()
2053 return (mSimRecords != null) ? mSimRecords.getPnnHomeName() : null; in getPlmn()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccPhoneBookInterfaceManagerTest.java76 doReturn(mSimRecords).when(mPhone).getIccRecords(); in setUp()
77 doReturn(mAdnRecordCache).when(mSimRecords).getAdnCache(); in setUp()
DUiccControllerTest.java157 assertEquals(mSimRecords, mUiccControllerUT.getIccRecords(0, UiccController.APP_FAM_3GPP)); in testSanity()