Searched refs:oldAdn (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | SimPhonebookRecordCacheTest.java | 139 AdnRecord oldAdn = adnRecords.get(0); in testUpdatePhonebookRecord() local 140 assertEquals(oldAdn.getRecId(), 1); in testUpdatePhonebookRecord() 141 assertEquals(oldAdn.getAlphaTag(), "AB"); in testUpdatePhonebookRecord() 142 assertEquals(oldAdn.getNumber(), "123"); in testUpdatePhonebookRecord() 145 mSimPhonebookRecordCacheUt.updateSimPbAdnBySearch(oldAdn, newAdn, null); in testUpdatePhonebookRecord() 149 oldAdn = adnRecords.get(0); in testUpdatePhonebookRecord() 150 assertEquals(oldAdn.getRecId(), 1); in testUpdatePhonebookRecord() 151 assertEquals(oldAdn.getAlphaTag(), "ABCD"); in testUpdatePhonebookRecord() 152 assertEquals(oldAdn.getNumber(), "123456789"); in testUpdatePhonebookRecord() 155 mSimPhonebookRecordCacheUt.updateSimPbAdnBySearch(oldAdn, newAdn, null); in testUpdatePhonebookRecord()
|
D | AdnRecordCacheTest.java | 207 AdnRecord oldAdn = new AdnRecord("oldAlphaTag", "123456789"); in updateAdnBySearch_AdnListError() local 208 mAdnRecordCache.updateAdnBySearch(efId, oldAdn, null, null, message); in updateAdnBySearch_AdnListError() 232 AdnRecord oldAdn = new AdnRecord("AlphaTag", "123456789"); in updateAdnBySearch_PendingUpdate() local 233 mAdnRecordCache.updateAdnBySearch(efId, oldAdn, null, null, message); in updateAdnBySearch_PendingUpdate() 254 AdnRecord oldAdn = new AdnRecord("AlphaTag", "123456789"); in updateAdnBySearch() local 255 mAdnRecordCache.updateAdnBySearch(efId, oldAdn, null, null, message); in updateAdnBySearch() 266 AdnRecord oldAdn = new AdnRecord("oldAlphaTag", "123456789"); in updateAdnBySearch_AdnException() local 267 mAdnRecordCache.updateAdnBySearch(EF_PBR, oldAdn, null, null, message); in updateAdnBySearch_AdnException()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordCache.java | 195 public void updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, in updateAdnBySearch() argument 220 if (oldAdn.isEqual(it.next())) { in updateAdnBySearch() 227 sendErrorResponse(response, "Adn record don't exist for " + oldAdn); in updateAdnBySearch()
|
D | SimPhonebookRecordCache.java | 281 public void updateSimPbAdnBySearch(AdnRecord oldAdn, AdnRecord newAdn, Message response) { in updateSimPbAdnBySearch() argument 289 if (oldAdn != null && !oldAdn.isEmpty()) { in updateSimPbAdnBySearch() 291 if (oldAdn.isEqual(adn)) { in updateSimPbAdnBySearch()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccPhoneBookInterfaceManager.java | 218 AdnRecord oldAdn = generateAdnRecordWithOldTagByContentValues(values); in updateAdnRecordsInEfBySearchForSubscriber() local 222 mSimPbRecordCache.updateSimPbAdnBySearch(oldAdn, newAdn, response); in updateAdnRecordsInEfBySearchForSubscriber() 228 mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); in updateAdnRecordsInEfBySearchForSubscriber()
|