Home
last modified time | relevance | path

Searched refs:AdnRecord (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DFdnUtilsTest.java22 import com.android.internal.telephony.uicc.AdnRecord;
30 private ArrayList<AdnRecord> initializeFdnList() { in initializeFdnList()
31 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in initializeFdnList()
32 AdnRecord adnRecord = new AdnRecord(null, null); in initializeFdnList()
48 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in fdnListIsEmpty_returnsFalse()
54 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasOnlyDefaultRecords_returnsFalse()
61 ArrayList<AdnRecord> fdnList = initializeFdnList(); in fdnListHasRecordWithEmptyNumberStr_returnsFalse()
62 AdnRecord adnRecord = new AdnRecord(null, ""); in fdnListHasRecordWithEmptyNumberStr_returnsFalse()
70 ArrayList<AdnRecord> fdnList = initializeFdnList(); in dialStrInFdnList_returnsTrue()
71 AdnRecord adnRecord = new AdnRecord(null, "123456789"); in dialStrInFdnList_returnsTrue()
[all …]
DAdnRecordTest.java25 import com.android.internal.telephony.uicc.AdnRecord;
39 AdnRecord adn; in testBasic()
44 adn = new AdnRecord( in testBasic()
54 adn = new AdnRecord( in testBasic()
64 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF")); in testBasic()
73 adn = new AdnRecord( in testBasic()
83 adn = new AdnRecord( in testBasic()
93 adn = new AdnRecord( in testBasic()
103 adn = new AdnRecord( in testBasic()
113 adn = new AdnRecord( in testBasic()
[all …]
DSimPhoneBookTest.java25 import com.android.internal.telephony.uicc.AdnRecord;
51 List<AdnRecord> adnRecordList = in testBasic()
59 AdnRecord originalAdn = null; in testBasic()
77 AdnRecord emptyAdn = new AdnRecord("", ""); in testBasic()
78 AdnRecord firstAdn = new AdnRecord("John", "4085550101"); in testBasic()
79 AdnRecord secondAdn = new AdnRecord("Andy", "6505550102"); in testBasic()
92 AdnRecord tmpAdn = adnRecordList.get(listIndex); in testBasic()
DSmsControllerTest.java39 import com.android.internal.telephony.uicc.AdnRecord;
109 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
113 AdnRecord smscAddrRecord = new AdnRecord(null, smscAddrStr); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
114 AdnRecord destAddrRecord = new AdnRecord(null, "1234"); in isNumberBlockedByFdn_fdnListHasBothDestAddrAndSmscAddr()
130 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasDestAddr()
134 AdnRecord destAddrRecord = new AdnRecord(null, "1234"); in isNumberBlockedByFdn_fdnListHasDestAddr()
148 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_fdnListHasSmscAddr()
152 AdnRecord smscAddrRecord = new AdnRecord(null, smscAddrStr); in isNumberBlockedByFdn_fdnListHasSmscAddr()
166 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in isNumberBlockedByFdn_destAddrIsEmergencyNumber()
DGsmCdmaPhoneTest.java103 import com.android.internal.telephony.uicc.AdnRecord;
2078 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testGetCallForwardingOption_FdnCheck()
2083 AdnRecord adnRecord = new AdnRecord(null, "*#21"); in testGetCallForwardingOption_FdnCheck()
2106 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testSetCallForwardingOption_FdnCheck()
2111 AdnRecord adnRecord = new AdnRecord(null, "**21"); in testSetCallForwardingOption_FdnCheck()
2138 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testGetCallBarring_FdnCheck()
2143 AdnRecord adnRecord = new AdnRecord(null, "*#330"); in testGetCallBarring_FdnCheck()
2168 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testSetCallBarring_FdnCheck()
2173 AdnRecord adnRecord = new AdnRecord(null, "*330"); in testSetCallBarring_FdnCheck()
2198 ArrayList<AdnRecord> fdnList = new ArrayList<>(); in testChangeCallBarringPassword_FdnCheck()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java40 public class AdnRecord implements Parcelable { class
85 public static final Parcelable.Creator<AdnRecord> CREATOR
86 = new Parcelable.Creator<AdnRecord>() {
88 public AdnRecord createFromParcel(Parcel source) {
103 return new AdnRecord(efid, recordNumber, alphaTag, number, emails, additionalNumbers);
107 public AdnRecord[] newArray(int size) {
108 return new AdnRecord[size];
157 public AdnRecord (byte[] record) { in AdnRecord() method in AdnRecord
162 public AdnRecord (int efid, int recordNumber, byte[] record) { in AdnRecord() method in AdnRecord
169 public AdnRecord (String alphaTag, String number) { in AdnRecord() method in AdnRecord
[all …]
DAdnRecordCache.java45 SparseArray<ArrayList<AdnRecord>> mAdnLikeFiles
46 = new SparseArray<ArrayList<AdnRecord>>();
111 public ArrayList<AdnRecord>
157 public void updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, in updateAdnByIndex()
195 public void updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, in updateAdnBySearch()
205 ArrayList<AdnRecord> oldAdnList; in updateAdnBySearch()
219 for (Iterator<AdnRecord> it = oldAdnList.iterator(); it.hasNext(); ) { in updateAdnBySearch()
232 AdnRecord foundAdn = oldAdnList.get(index-1); in updateAdnBySearch()
265 ArrayList<AdnRecord> result; in requestLoadAllAdnLike()
355 mAdnLikeFiles.put(efid, (ArrayList<AdnRecord>) ar.result); in handleMessage()
[all …]
DSimPhonebookRecordCache.java86 private final ConcurrentSkipListMap<Integer, AdnRecord> mSimPbRecords =
87 new ConcurrentSkipListMap<Integer, AdnRecord>();
158 List<AdnRecord> result = in notifyAndClearWaiters()
159 new ArrayList<AdnRecord>(mSimPbRecords.values()); in notifyAndClearWaiters()
250 public List<AdnRecord> getAdnRecords() { in getAdnRecords()
268 public void updateSimPbAdnByRecordId(int recordId, AdnRecord newAdn, Message response) { in updateSimPbAdnByRecordId()
281 public void updateSimPbAdnBySearch(AdnRecord oldAdn, AdnRecord newAdn, Message response) { in updateSimPbAdnBySearch()
290 for(AdnRecord adn : mSimPbRecords.values()) { in updateSimPbAdnBySearch()
306 private void updateSimPhonebookByNewAdn(int recordId, AdnRecord newAdn, Message response) { in updateSimPhonebookByNewAdn()
476 new AdnRecord(IccConstants.EF_ADN, i, null, null, null, null)); in inflateWithEmptyRecords()
[all …]
DAdnRecordLoader.java48 ArrayList<AdnRecord> mAdns; // only valid after EVENT_ADN_LOAD_ALL_DONE
135 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, in updateEF()
154 AdnRecord adn; in handleMessage()
160 adn = (AdnRecord)(ar.userObj); in handleMessage()
241 adn = new AdnRecord(mEf, mRecordNumber, data); in handleMessage()
260 adn = (AdnRecord)(ar.userObj); in handleMessage()
293 mAdns = new ArrayList<AdnRecord>(datas.size()); in handleMessage()
298 adn = new AdnRecord(mEf, 1 + i, datas.get(i)); in handleMessage()
DAdnRecord.aidl19 parcelable AdnRecord;
DSIMRecords.java343 AdnRecord adn = new AdnRecord(mNewMsisdnTag, mNewMsisdn); in setMsisdnNumber()
401 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); in setVoiceMailNumber()
654 AdnRecord adn; in handleMessage()
752 adn = (AdnRecord) ar.result; in handleMessage()
784 adn = (AdnRecord) ar.result; in handleMessage()
1044 AdnRecord adnRecord = (AdnRecord) (ar.result); in handleMessage()
1053 adn = new AdnRecord(mVoiceMailTag, mVoiceMailNum); in handleMessage()
1109 AdnRecord adnRecord = (AdnRecord) (ar.result); in handleMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DAdnRecordCacheTest.java68 protected void setAdnLikeFiles(int key, ArrayList<AdnRecord> adnRecordList) { in setAdnLikeFiles()
148 AdnRecord adnRecord = new AdnRecord("AlphaTag", "123456789"); in updateAdnByIndex_WriteResponseException()
172 AdnRecord adnRecord = new AdnRecord("AlphaTag", "123456789"); in updateAdnByIndex()
207 AdnRecord oldAdn = new AdnRecord("oldAlphaTag", "123456789"); in updateAdnBySearch_AdnListError()
232 AdnRecord oldAdn = new AdnRecord("AlphaTag", "123456789"); in updateAdnBySearch_PendingUpdate()
254 AdnRecord oldAdn = new AdnRecord("AlphaTag", "123456789"); in updateAdnBySearch()
266 AdnRecord oldAdn = new AdnRecord("oldAlphaTag", "123456789"); in updateAdnBySearch_AdnException()
335 ArrayList<AdnRecord> adnRecordList = new ArrayList<>(); in setAdnLikeFiles()
336 AdnRecord adnRecord = new AdnRecord("AlphaTag", "123456789"); in setAdnLikeFiles()
DSimPhonebookRecordCacheTest.java107 List<AdnRecord> adnRecords = mSimPhonebookRecordCacheUt.getAdnRecords(); in testGetPhonebookRecords()
125 List<AdnRecord> adnRecords = mSimPhonebookRecordCacheUt.getAdnRecords(); in testUpdatePhonebookRecord()
133 AdnRecord newAdn = new AdnRecord(IccConstants.EF_ADN, 1, "AB", "123", null, null); in testUpdatePhonebookRecord()
139 AdnRecord oldAdn = adnRecords.get(0); in testUpdatePhonebookRecord()
144 newAdn = new AdnRecord(IccConstants.EF_ADN, 1, "ABCD", "123456789", null, null); in testUpdatePhonebookRecord()
154 newAdn = new AdnRecord(IccConstants.EF_ADN, 1, null, null, null, null); in testUpdatePhonebookRecord()
DIccPhoneBookInterfaceManagerTest.java51 private AdnRecord mAdnRecord;
56 private List<AdnRecord> mAdnList = Arrays.asList(mAdnRecord);
75 mAdnRecord = mock(AdnRecord.class); in setUp()
122 List<AdnRecord> adnListResult = mIccPhoneBookInterfaceMgr.getAdnRecordsInEf( in testAdnEFLoadWithFailure()
135 List<AdnRecord> adnListResultNew = mIccPhoneBookInterfaceMgr.getAdnRecordsInEf( in testAdnEFLoadWithFailure()
147 List<AdnRecord> adnListResult = mIccPhoneBookInterfaceMgr.getAdnRecordsInEf( in testAdnEFLoadByPbCacheWithFailure()
157 List<AdnRecord> adnListResultNew = mIccPhoneBookInterfaceMgr.getAdnRecordsInEf( in testAdnEFLoadByPbCacheWithFailure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java30 import com.android.internal.telephony.uicc.AdnRecord;
100 List<AdnRecord> records = null;
102 records = (List<AdnRecord>) ar.result;
156 private AdnRecord generateAdnRecordWithOldTagByContentValues(ContentValues values) { in generateAdnRecordWithOldTagByContentValues()
167 return new AdnRecord(oldTag, oldPhoneNumber, oldEmailArray, oldAnrArray); in generateAdnRecordWithOldTagByContentValues()
170 private AdnRecord generateAdnRecordWithNewTagByContentValues( in generateAdnRecordWithNewTagByContentValues()
182 return new AdnRecord( in generateAdnRecordWithNewTagByContentValues()
218 AdnRecord oldAdn = generateAdnRecordWithOldTagByContentValues(values); in updateAdnRecordsInEfBySearchForSubscriber()
220 AdnRecord newAdn = in updateAdnRecordsInEfBySearchForSubscriber()
226 AdnRecord newAdn = generateAdnRecordWithNewTagByContentValues(efid, 0, values); in updateAdnRecordsInEfBySearchForSubscriber()
[all …]
DFdnUtils.java26 import com.android.internal.telephony.uicc.AdnRecord;
60 ArrayList<AdnRecord> fdnList = getFdnList(phoneId); in isNumberBlockedByFDN()
92 ArrayList<AdnRecord> fdnList = getFdnList(phoneId); in isSuppServiceRequestBlockedByFdn()
111 ArrayList<AdnRecord> fdnList) { in isFDN()
135 for (AdnRecord fdn: fdnList) { in isFDN()
164 private static ArrayList<AdnRecord> getFdnList(int phoneId) { in getFdnList()
DIIccPhoneBook.aidl22 import com.android.internal.telephony.uicc.AdnRecord;
37 List<AdnRecord> getAdnRecordsInEf(int efid); in getAdnRecordsInEf()
48 List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid); in getAdnRecordsInEfForSubscriber()
DUiccPhoneBookController.java29 import com.android.internal.telephony.uicc.AdnRecord;
97 public List<AdnRecord> getAdnRecordsInEf(int efid) throws android.os.RemoteException { in getAdnRecordsInEf()
102 public List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid) in getAdnRecordsInEfForSubscriber()
DIccProvider.java35 import com.android.internal.telephony.uicc.AdnRecord;
430 List<AdnRecord> adnRecords = null; in loadFromEf()
494 private void loadRecord(AdnRecord record, MatrixCursor cursor, int id) { in loadRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimPhoneBookManager.java27 import com.android.internal.telephony.uicc.AdnRecord;
54 private ArrayList<AdnRecord> mPhoneBookRecords;
119 mPhoneBookRecords = new ArrayList<AdnRecord>(); in UsimPhoneBookManager()
143 public ArrayList<AdnRecord> loadEfFilesFromUsim() { in loadEfFilesFromUsim()
429 AdnRecord rec = mPhoneBookRecords.get(i); in updatePhoneAdnRecord()
549 mPhoneBookRecords.addAll((ArrayList<AdnRecord>)ar.result); in handleMessage()
/frameworks/base/boot/
Dpreloaded-classes12821 com.android.internal.telephony.uicc.AdnRecord$1
12822 com.android.internal.telephony.uicc.AdnRecord
Dboot-image-profile.txt35262 Lcom/android/internal/telephony/uicc/AdnRecord$1;
35263 Lcom/android/internal/telephony/uicc/AdnRecord;
/frameworks/base/config/
Dpreloaded-classes12852 com.android.internal.telephony.uicc.AdnRecord$1
12853 com.android.internal.telephony.uicc.AdnRecord
Dboot-image-profile.txt45423 Lcom/android/internal/telephony/uicc/AdnRecord$1;
45424 Lcom/android/internal/telephony/uicc/AdnRecord;