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.java116 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, in updateEF() argument
125 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); in updateEF()
135 AdnRecord adn; in handleMessage() local
141 adn = (AdnRecord)(ar.userObj); in handleMessage()
159 data = adn.buildAdnString(recordSize[0]); in handleMessage()
196 adn = new AdnRecord(mEf, mRecordNumber, data); in handleMessage()
197 mResult = adn; in handleMessage()
199 if (adn.hasExtendedRecord()) { in handleMessage()
207 mExtensionEF, adn.mExtRecord, in handleMessage()
208 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.java313 AdnRecord adn = new AdnRecord(mNewMsisdnTag, mNewMsisdn); in setMsisdnNumber() local
315 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, in setMsisdnNumber()
366 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); in setVoiceMailNumber() local
370 new AdnRecordLoader(mFh).updateEF(adn, EF_MBDN, EF_EXT6, in setVoiceMailNumber()
376 new AdnRecordLoader(mFh).updateEF(adn, EF_MAILBOX_CPHS, in setVoiceMailNumber()
591 AdnRecord adn; in handleMessage() local
740 adn = (AdnRecord)ar.result; in handleMessage()
742 log("VM: " + adn + in handleMessage()
745 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { in handleMessage()
757 mVoiceMailNum = adn.getNumber(); in handleMessage()
[all …]
DIccRecords.java310 AdnRecord adn = new AdnRecord(mMsisdnTag, mMsisdn); in setMsisdnNumber() local
312 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, in setMsisdnNumber()