Home
last modified time | relevance | path

Searched refs:fdnList (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFdnUtilsTest.java31 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in initializeFdnList() local
36 fdnList.add(adnRecord); in initializeFdnList()
38 return fdnList; in initializeFdnList()
48 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in fdnListIsEmpty_returnsFalse() local
49 assertFalse(FdnUtils.isFDN( "123456789", "US", fdnList)); in fdnListIsEmpty_returnsFalse()
54 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasOnlyDefaultRecords_returnsFalse() local
56 assertFalse(FdnUtils.isFDN( "123456789", "US", fdnList)); in fdnListHasOnlyDefaultRecords_returnsFalse()
61 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasRecordWithEmptyNumberStr_returnsFalse() local
63 fdnList.add(1, adnRecord); in fdnListHasRecordWithEmptyNumberStr_returnsFalse()
65 assertFalse(FdnUtils.isFDN( "123456789", "US", fdnList)); in fdnListHasRecordWithEmptyNumberStr_returnsFalse()
[all …]
DSmsControllerTest.java109 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr() local
110 doReturn(fdnList).when(mAdnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
115 fdnList.add(0, smscAddrRecord); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
116 fdnList.add(1, destAddrRecord); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
130 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasDestAddr() local
131 doReturn(fdnList).when(mAdnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in isNumberBlockedByFdn_fdnListHasDestAddr()
135 fdnList.add(0, destAddrRecord); in isNumberBlockedByFdn_fdnListHasDestAddr()
148 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasSmscAddr() local
149 doReturn(fdnList).when(mAdnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in isNumberBlockedByFdn_fdnListHasSmscAddr()
153 fdnList.add(0, smscAddrRecord); in isNumberBlockedByFdn_fdnListHasSmscAddr()
[all …]
DGsmCdmaPhoneTest.java2078 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testGetCallForwardingOption_FdnCheck() local
2079 doReturn(fdnList).when(adnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in testGetCallForwardingOption_FdnCheck()
2084 fdnList.add(0, adnRecord); in testGetCallForwardingOption_FdnCheck()
2090 fdnList.remove(0); in testGetCallForwardingOption_FdnCheck()
2106 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testSetCallForwardingOption_FdnCheck() local
2107 doReturn(fdnList).when(adnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in testSetCallForwardingOption_FdnCheck()
2112 fdnList.add(0, adnRecord); in testSetCallForwardingOption_FdnCheck()
2121 fdnList.remove(0); in testSetCallForwardingOption_FdnCheck()
2138 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testGetCallBarring_FdnCheck() local
2139 doReturn(fdnList).when(adnRecordCache).getRecordsIfLoaded(IccConstants.EF_FDN); in testGetCallBarring_FdnCheck()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DFdnUtils.java60 ArrayList<AdnRecord> fdnList = getFdnList(phoneId); in isNumberBlockedByFDN() local
61 return !isFDN(dialStr, defaultCountryIso, fdnList); in isNumberBlockedByFDN()
92 ArrayList<AdnRecord> fdnList = getFdnList(phoneId); in isSuppServiceRequestBlockedByFdn() local
94 if(isFDN(controlString, defaultCountryIso, fdnList)) { in isSuppServiceRequestBlockedByFdn()
111 ArrayList<AdnRecord> fdnList) { in isFDN() argument
112 if (fdnList == null || fdnList.isEmpty() || TextUtils.isEmpty(dialStr)) { in isFDN()
135 for (AdnRecord fdn: fdnList) { in isFDN()