Home
last modified time | relevance | path

Searched refs:adn (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java32 AdnRecord adn; in testBasic() local
37 adn = new AdnRecord( in testBasic()
40 assertEquals("Voice Mail", adn.getAlphaTag()); in testBasic()
41 assertEquals("+18056377243", adn.getNumber()); in testBasic()
42 assertFalse(adn.isEmpty()); in testBasic()
47 adn = new AdnRecord( in testBasic()
50 assertEquals("", adn.getAlphaTag()); in testBasic()
51 assertEquals("", adn.getNumber()); in testBasic()
52 assertTrue(adn.isEmpty()); in testBasic()
57 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF")); in testBasic()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordLoader.java134 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, in updateEF() argument
143 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); in updateEF()
153 AdnRecord adn; in handleMessage() local
159 adn = (AdnRecord)(ar.userObj); in handleMessage()
177 data = adn.buildAdnString(recordSize[0]); in handleMessage()
215 adn = new AdnRecord(mEf, mRecordNumber, data); in handleMessage()
216 mResult = adn; in handleMessage()
218 if (adn.hasExtendedRecord()) { in handleMessage()
226 mExtensionEF, adn.mExtRecord, in handleMessage()
227 obtainMessage(EVENT_EXT_RECORD_LOAD_DONE, adn)); in handleMessage()
[all …]
DAdnRecordCache.java150 public void updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, in updateAdnByIndex() argument
169 new AdnRecordLoader(mFh).updateEF(adn, efid, extensionEF, in updateAdnByIndex()
171 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, recordIndex, adn)); in updateAdnByIndex()
362 AdnRecord adn = (AdnRecord) (ar.userObj); in handleMessage() local
365 mAdnLikeFiles.get(efid).set(index - 1, adn); in handleMessage()
DAdnRecord.java211 public boolean isEqual(AdnRecord adn) { in isEqual() argument
212 return ( stringCompareNullEqualsEmpty(mAlphaTag, adn.mAlphaTag) && in isEqual()
213 stringCompareNullEqualsEmpty(mNumber, adn.mNumber) && in isEqual()
214 Arrays.equals(mEmails, adn.mEmails)); in isEqual()
DSIMRecords.java316 AdnRecord adn = new AdnRecord(mNewMsisdnTag, mNewMsisdn); in setMsisdnNumber() local
318 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, getExtFromEf(EF_MSISDN), 1, null, in setMsisdnNumber()
370 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); in setVoiceMailNumber() local
374 new AdnRecordLoader(mFh).updateEF(adn, EF_MBDN, EF_EXT6, in setVoiceMailNumber()
380 new AdnRecordLoader(mFh).updateEF(adn, EF_MAILBOX_CPHS, in setVoiceMailNumber()
616 AdnRecord adn; in handleMessage() local
724 adn = (AdnRecord) ar.result; in handleMessage()
726 log("VM: " + adn in handleMessage()
730 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { in handleMessage()
742 mVoiceMailNum = adn.getNumber(); in handleMessage()
[all …]