Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java417 doReturn(voiceMailNumber).when(mSimRecords).getMsisdnNumber(); in testVoiceMailNumberGsm()
443 verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberGsm()
446 doReturn(voiceMailNumber).when(mSimRecords).getVoiceMailNumber(); in testVoiceMailNumberGsm()
487 verify(mSimRecords).setVoiceMailNumber(eq("alphaTag"), eq(voiceMailNumber), in testVoiceMailNumberCdma()
514 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
518 doReturn(-1).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
525 doReturn(0).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
530 doReturn(-1).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
545 doReturn(0).when(mSimRecords).getVoiceMessageCount(); in testVoiceMailCount()
561 doReturn(imsi).when(mSimRecords).getIMSI(); in testGetCallForwardingOption()
[all …]
DCarrierResolverTest.java139 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testCarrierMatch()
151 doReturn(SPN_FI).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
162 doReturn(SPN_VODAFONE).when(mSimRecords).getServiceProviderName(); in testMnoCarrierId()
DTelephonyTest.java180 protected SIMRecords mSimRecords; field in TelephonyTest
466 return mSimRecords; in setUp()
479 doReturn(mSimRecords).when(mUiccCardApplication3gpp).getIccRecords(); in setUp()
484 doReturn(mSimRecords).when(mUiccProfile).getIccRecords(); in setUp()
487 return (mPhone.isPhoneTypeGsm()) ? mSimRecords : mRuimRecords; in setUp()
DServiceStateTrackerTest.java289 .when(mSimRecords).getCarrierNameDisplayCondition(); in setUp()
409 doReturn(0).when(mSimRecords).getCarrierNameDisplayCondition(); in testSpnUpdateShowPlmnOnly()
1951 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord()
1966 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.java145 assertEquals(mSimRecords, mUiccControllerUT.getIccRecords(0, UiccController.APP_FAM_3GPP)); in testSanity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java168 private SIMRecords mSimRecords; field in GsmCdmaPhone
1722 r = mSimRecords; in setCarrierTestOverride()
1740 return (mSimRecords != null) ? mSimRecords.getGid1() : ""; in getGroupIdLevel1()
1753 return (mSimRecords != null) ? mSimRecords.getGid2() : ""; in getGroupIdLevel2()
1769 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getLine1Number()
1784 return (mSimRecords != null) ? mSimRecords.getPnnHomeName() : null; in getPlmn()
1809 return (mSimRecords != null) ? mSimRecords.getMsisdnNumber() : null; in getMsisdn()
1851 if (!isPhoneTypeGsm() && mSimRecords != null) { in setVoiceMailNumber()
1852 r = mSimRecords; in setVoiceMailNumber()
2830 if (mSimRecords != null) { in onUpdateIccAvailability()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java490 doReturn(true).when(mSimRecords).getRecordsLoaded(); in setUp()
950 verify(mSimRecords, times(1)).registerForRecordsLoaded(eq(mDct), in testDDSResetAutoAttach()