Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DSimPhonebookRecordCacheTest.java133 AdnRecord newAdn = new AdnRecord(IccConstants.EF_ADN, 1, "AB", "123", null, null); in testUpdatePhonebookRecord() local
135 mSimPhonebookRecordCacheUt.updateSimPbAdnBySearch(null, newAdn, null); in testUpdatePhonebookRecord()
144 newAdn = new AdnRecord(IccConstants.EF_ADN, 1, "ABCD", "123456789", null, null); in testUpdatePhonebookRecord()
145 mSimPhonebookRecordCacheUt.updateSimPbAdnBySearch(oldAdn, newAdn, null); in testUpdatePhonebookRecord()
154 newAdn = new AdnRecord(IccConstants.EF_ADN, 1, null, null, null, null); in testUpdatePhonebookRecord()
155 mSimPhonebookRecordCacheUt.updateSimPbAdnBySearch(oldAdn, newAdn, null); in testUpdatePhonebookRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSimPhonebookRecordCache.java268 public void updateSimPbAdnByRecordId(int recordId, AdnRecord newAdn, Message response) { in updateSimPbAdnByRecordId() argument
269 if (newAdn == null) { in updateSimPbAdnByRecordId()
278 updateSimPhonebookByNewAdn(recordId, newAdn, response); in updateSimPbAdnByRecordId()
281 public void updateSimPbAdnBySearch(AdnRecord oldAdn, AdnRecord newAdn, Message response) { in updateSimPbAdnBySearch() argument
282 if (newAdn == null) { in updateSimPbAdnBySearch()
303 updateSimPhonebookByNewAdn(recordId, newAdn, response); in updateSimPbAdnBySearch()
306 private void updateSimPhonebookByNewAdn(int recordId, AdnRecord newAdn, Message response) { in updateSimPhonebookByNewAdn() argument
311 .setAlphaTag(newAdn.getAlphaTag()) in updateSimPhonebookByNewAdn()
312 .setNumber(newAdn.getNumber()) in updateSimPhonebookByNewAdn()
313 .setEmails(newAdn.getEmails()) in updateSimPhonebookByNewAdn()
[all …]
DAdnRecordCache.java195 public void updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, in updateAdnBySearch() argument
237 newAdn.mEfid = efid; in updateAdnBySearch()
238 newAdn.mExtRecord = extensionEF; in updateAdnBySearch()
239 newAdn.mRecordNumber = index; in updateAdnBySearch()
252 new AdnRecordLoader(mFh).updateEF(newAdn, efid, extensionEF, in updateAdnBySearch()
254 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, index, newAdn)); in updateAdnBySearch()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java220 AdnRecord newAdn = in updateAdnRecordsInEfBySearchForSubscriber() local
222 mSimPbRecordCache.updateSimPbAdnBySearch(oldAdn, newAdn, response); in updateAdnRecordsInEfBySearchForSubscriber()
226 AdnRecord newAdn = generateAdnRecordWithNewTagByContentValues(efid, 0, values); in updateAdnRecordsInEfBySearchForSubscriber() local
228 mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); in updateAdnRecordsInEfBySearchForSubscriber()
275 AdnRecord newAdn = in updateAdnRecordsInEfByIndex() local
278 mSimPbRecordCache.updateSimPbAdnByRecordId(index, newAdn, response); in updateAdnRecordsInEfByIndex()
282 AdnRecord newAdn = generateAdnRecordWithNewTagByContentValues(efid, index, values); in updateAdnRecordsInEfByIndex() local
284 mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); in updateAdnRecordsInEfByIndex()