/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
AdnRecordTest.java | 32 AdnRecord adn; local 37 adn = new AdnRecord( 40 assertEquals("Voice Mail", adn.getAlphaTag()); 41 assertEquals("+18056377243", adn.getNumber()); 42 assertFalse(adn.isEmpty()); 47 adn = new AdnRecord( 50 assertEquals("", adn.getAlphaTag()); 51 assertEquals("", adn.getNumber()); 52 assertTrue(adn.isEmpty()); 57 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF")) [all...] |
/external/qemu/telephony/ |
gsm.h | 157 /** ADN: Abbreviated Dialing Numbers 159 #define SIM_ADN_MAX_ALPHA 20 /* maximum number of characters in ADN alpha tag */ 160 #define SIM_ADN_MAX_NUMBER 20 /* maximum digits in ADN number */ 169 SimAdnRec adn; member in struct:__anon14017
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
AdnRecordCache.java | 42 // People waiting for ADN-like files to be loaded 46 // People waiting for adn record to be updated 105 * Returns extension ef associated with ADN-like EF or -1 if 131 * Update an ADN-like record in EF by record index 134 * @param adn is the new adn to be stored 135 * @param recordIndex is the 1-based adn record index 140 public void updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, 145 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); 157 new AdnRecordLoader(mFh).updateEF(adn, efid, extensionEF 346 AdnRecord adn = (AdnRecord) (ar.userObj); local [all...] |
AdnRecordLoader.java | 104 * Write adn to a EF SIM record 105 * It will get the record size of EF record and compose hex adn array 108 * @param adn is set with alphaTag and phone number 116 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, 125 obtainMessage(EVENT_EF_LINEAR_RECORD_SIZE_DONE, adn)); 135 AdnRecord adn; local 141 adn = (AdnRecord)(ar.userObj); 159 data = adn.buildAdnString(recordSize[0]); 162 throw new RuntimeException("wrong ADN format", 175 throw new RuntimeException("update EF adn record failed" [all...] |
IccRecords.java | 288 AdnRecord adn = new AdnRecord(mMsisdnTag, mMsisdn); local 290 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
|
SIMRecords.java | 295 AdnRecord adn = new AdnRecord(mMsisdnTag, mMsisdn); local 297 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, 348 AdnRecord adn = new AdnRecord(mNewVoiceMailTag, mNewVoiceMailNum); local 352 new AdnRecordLoader(mFh).updateEF(adn, EF_MBDN, EF_EXT6, 358 new AdnRecordLoader(mFh).updateEF(adn, EF_MAILBOX_CPHS, 546 AdnRecord adn; local 686 adn = (AdnRecord)ar.result; 688 log("VM: " + adn + 691 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { 703 mVoiceMailNum = adn.getNumber() [all...] |