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.java128 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, in updateEF() argument
137 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); in updateEF()
147 AdnRecord adn; in handleMessage() local
153 adn = (AdnRecord)(ar.userObj); in handleMessage()
171 data = adn.buildAdnString(recordSize[0]); in handleMessage()
209 adn = new AdnRecord(mEf, mRecordNumber, data); in handleMessage()
210 mResult = adn; in handleMessage()
212 if (adn.hasExtendedRecord()) { in handleMessage()
220 mExtensionEF, adn.mExtRecord, in handleMessage()
221 obtainMessage(EVENT_EXT_RECORD_LOAD_DONE, adn)); in handleMessage()
[all …]
DAdnRecordCache.java140 public void updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, in updateAdnByIndex() argument
159 new AdnRecordLoader(mFh).updateEF(adn, efid, extensionEF, in updateAdnByIndex()
161 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, recordIndex, adn)); in updateAdnByIndex()
352 AdnRecord adn = (AdnRecord) (ar.userObj); in handleMessage() local
355 mAdnLikeFiles.get(efid).set(index - 1, adn); in handleMessage()
DAdnRecord.java193 public boolean isEqual(AdnRecord adn) { in isEqual() argument
194 return ( stringCompareNullEqualsEmpty(mAlphaTag, adn.mAlphaTag) && in isEqual()
195 stringCompareNullEqualsEmpty(mNumber, adn.mNumber) && in isEqual()
196 Arrays.equals(mEmails, adn.mEmails)); in isEqual()
DSIMRecords.java336 AdnRecord adn = new AdnRecord(mNewMsisdnTag, mNewMsisdn); in setMsisdnNumber() local
338 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, getExtFromEf(EF_MSISDN), 1, null, in setMsisdnNumber()
389 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); in setVoiceMailNumber() local
393 new AdnRecordLoader(mFh).updateEF(adn, EF_MBDN, EF_EXT6, in setVoiceMailNumber()
399 new AdnRecordLoader(mFh).updateEF(adn, EF_MAILBOX_CPHS, in setVoiceMailNumber()
633 AdnRecord adn; in handleMessage() local
793 adn = (AdnRecord) ar.result; in handleMessage()
795 log("VM: " + adn in handleMessage()
799 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { in handleMessage()
811 mVoiceMailNum = adn.getNumber(); in handleMessage()
[all …]