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.java133 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, in updateEF() argument
142 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); in updateEF()
152 AdnRecord adn; in handleMessage() local
158 adn = (AdnRecord)(ar.userObj); in handleMessage()
176 data = adn.buildAdnString(recordSize[0]); in handleMessage()
214 adn = new AdnRecord(mEf, mRecordNumber, data); in handleMessage()
215 mResult = adn; in handleMessage()
217 if (adn.hasExtendedRecord()) { in handleMessage()
225 mExtensionEF, adn.mExtRecord, in handleMessage()
226 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.java215 public boolean isEqual(AdnRecord adn) { in isEqual() argument
216 return ( stringCompareNullEqualsEmpty(mAlphaTag, adn.mAlphaTag) && in isEqual()
217 stringCompareNullEqualsEmpty(mNumber, adn.mNumber) && in isEqual()
218 Arrays.equals(mEmails, adn.mEmails)); in isEqual()
DSIMRecords.java319 AdnRecord adn = new AdnRecord(mNewMsisdnTag, mNewMsisdn); in setMsisdnNumber() local
321 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, getExtFromEf(EF_MSISDN), 1, null, in setMsisdnNumber()
373 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); in setVoiceMailNumber() local
377 new AdnRecordLoader(mFh).updateEF(adn, EF_MBDN, EF_EXT6, in setVoiceMailNumber()
383 new AdnRecordLoader(mFh).updateEF(adn, EF_MAILBOX_CPHS, in setVoiceMailNumber()
619 AdnRecord adn; in handleMessage() local
718 adn = (AdnRecord) ar.result; in handleMessage()
720 log("VM: " + adn in handleMessage()
724 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { in handleMessage()
736 mVoiceMailNum = adn.getNumber(); in handleMessage()
[all …]