Home
last modified time | relevance | path

Searched refs:adn (Results 1 – 6 of 6) 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
157 new AdnRecordLoader(mFh).updateEF(adn, efid, extensionEF, in updateAdnByIndex()
159 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, recordIndex, adn)); in updateAdnByIndex()
346 AdnRecord adn = (AdnRecord) (ar.userObj); in handleMessage() local
349 mAdnLikeFiles.get(efid).set(index - 1, adn); in handleMessage()
DAdnRecord.java180 public boolean isEqual(AdnRecord adn) { in isEqual() argument
181 return ( stringCompareNullEqualsEmpty(mAlphaTag, adn.mAlphaTag) && in isEqual()
182 stringCompareNullEqualsEmpty(mNumber, adn.mNumber) && in isEqual()
183 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()
614 AdnRecord adn; in handleMessage() local
763 adn = (AdnRecord)ar.result; in handleMessage()
765 log("VM: " + adn + in handleMessage()
768 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { in handleMessage()
780 mVoiceMailNum = adn.getNumber(); in handleMessage()
[all …]
DIccRecords.java326 AdnRecord adn = new AdnRecord(mMsisdnTag, mMsisdn); in setMsisdnNumber() local
328 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, in setMsisdnNumber()