/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
AdnRecordTest.java | 29 AdnRecord adn; local 34 adn = new AdnRecord( 37 assertEquals("Voice Mail", adn.getAlphaTag()); 38 assertEquals("+18056377243", adn.getNumber()); 39 assertFalse(adn.isEmpty()); 44 adn = new AdnRecord( 47 assertEquals("", adn.getAlphaTag()); 48 assertEquals("", adn.getNumber()); 49 assertTrue(adn.isEmpty()); 54 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:__anon10077
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
AdnRecordCache.java | 43 // People waiting for ADN-like files to be loaded 47 // People waiting for adn record to be updated 106 * Returns extension ef associated with ADN-like EF or -1 if 132 * Update an ADN-like record in EF by record index 135 * @param adn is the new adn to be stored 136 * @param recordIndex is the 1-based adn record index 141 public void updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, 146 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); 158 new AdnRecordLoader(phone).updateEF(adn, efid, extensionEF 346 AdnRecord adn = (AdnRecord) (ar.userObj); local [all...] |
AdnRecordLoader.java | 105 * Write adn to a EF SIM record 106 * It will get the record size of EF record and compose hex adn array 109 * @param adn is set with alphaTag and phone number 117 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, 126 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 | 163 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local 165 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SIMRecords.java | 273 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local 275 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, 323 AdnRecord adn = new AdnRecord(newVoiceMailTag, newVoiceMailNum); local 327 new AdnRecordLoader(phone).updateEF(adn, EF_MBDN, EF_EXT6, 333 new AdnRecordLoader(phone).updateEF(adn, EF_MAILBOX_CPHS, 507 AdnRecord adn; local 647 adn = (AdnRecord)ar.result; 649 Log.d(LOG_TAG, "VM: " + adn + 652 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { 664 voiceMailNum = adn.getNumber() [all...] |