/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...] |
SimPhoneBookTest.java | 49 // Since this test doesn't mock the SIM we try to get a valid ADN record, 54 assertNotNull("Original Adn is Null.", originalAdn); 55 assertNotNull("Original Adn alpha tag is null.", originalAdn.getAlphaTag()); 56 assertNotNull("Original Adn number is null.", originalAdn.getNumber()); 97 // restore the orginial adn
|
SimUtilsTest.java | 71 // (this is an EF[ADN] record) 75 // (this is from an EF[ADN] record)
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
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 phoneNubmer 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("worong ADN format", 175 throw new RuntimeException("update EF adn record failed" [all...] |
IIccPhoneBook.aidl | 43 * @param efid the EF id of a ADN-like SIM 49 * Replace oldAdn with newAdn in ADN-like record in EF 55 * @param oldTag adn tag to be replaced 56 * @param oldPhoneNumber adn number to be replaced 59 * @param newTag adn tag to be stored 60 * @param newPhoneNumber adn number ot be stored 72 * Update an ADN-like EF record by record index 74 * This is useful for iteration the whole ADN file, such as write the whole 78 * @param newTag adn tag to be stored 79 * @param newPhoneNumber adn number to be store [all...] |
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 330 AdnRecord adn = (AdnRecord) (ar.userObj); local [all...] |
IccPhoneBookInterfaceManager.java | 30 * access ADN-like SIM records. 82 if(DBG) logd("Cannot load ADN records"); 111 * Replace oldAdn with newAdn in ADN-like record in EF 115 * if set in the ADN record is ignored. 119 * @param oldTag adn tag to be replaced 120 * @param oldPhoneNumber adn number to be replaced 123 * @param newTag adn tag to be stored 124 * @param newPhoneNumber adn number ot be stored 164 * Update an ADN-like EF record by record index 166 * This is useful for iteration the whole ADN file, such as write the whol [all...] |
AdnRecord.java | 51 // In an ADN record, everything but the alpha identifier 63 // ADN offset 151 return "ADN Record '" + alphaTag + "' '" + number + " " + emails + "'"; 162 public boolean isEqual(AdnRecord adn) { 163 return ( alphaTag.equals(adn.getAlphaTag()) && 164 number.equals(adn.getNumber()) && 165 Arrays.equals(emails, adn.getEmails())); 182 * Build adn hex byte array based on record size
|
IccProvider.java | 197 private static final int ADN = 1; 210 URL_MATCHER.addURI("icc", "adn", ADN); 238 case ADN: 285 case ADN: 305 case ADN: 330 case ADN: 331 buf.append("adn/"); 372 case ADN: 445 case ADN [all...] |
IccPhoneBookInterfaceManagerProxy.java | 34 * access ADN-like SIM records.
|
IccRecords.java | 130 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local 132 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
|
IccUtils.java | 115 * Decodes a string field that's formatted like the EF[ADN] alpha
|
/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:__anon4899
|
gsm.c | 1060 /** ADN: Abbreviated Dialing Number 1160 rec->adn.alpha[0] = 0; 1161 rec->adn.number[0] = 0; 1172 if (count > sizeof(rec->adn.alpha)-1) /* too long */ 1175 sim_adn_alpha_to_utf8(data, dataend, rec->adn.alpha); 1176 rec->adn.alpha[count] = 0; 1186 bytes_t number = (bytes_t) rec->adn.number; 1187 int len = sizeof(rec->adn.number)-1; 1211 cbytes_t number = (cbytes_t) rec->adn.number;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
RuimPhoneBookInterfaceManager.java | 26 * access ADN-like SIM records.
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SimPhoneBookInterfaceManager.java | 26 * access ADN-like SIM records.
|
UsimPhoneBookManager.java | 177 // The number of records in the IAP file is same as the number of records in ADN file. 187 Log.e(LOG_TAG, "Error: Improper ICC card: No IAP record for ADN, continuing"); 214 // records in the ADN file. 243 Log.e(LOG_TAG, "Error: Improper ICC card: No email record for ADN, continuing"); 320 log("Loading USIM ADN records done");
|
SIMRecords.java | 244 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local 246 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null, 294 AdnRecord adn = new AdnRecord(newVoiceMailTag, newVoiceMailNum); local 298 new AdnRecordLoader(phone).updateEF(adn, EF_MBDN, EF_EXT6, 304 new AdnRecordLoader(phone).updateEF(adn, EF_MAILBOX_CPHS, 464 AdnRecord adn; local 586 adn = (AdnRecord)ar.result; 588 Log.d(LOG_TAG, "VM: " + adn + 591 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) { 603 voiceMailNum = adn.getNumber() [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
SpecialCharSequenceMgr.java | 104 * Handle ADN requests by filling in the SIM contact number into the requested 111 /* ADN entries are of the form "N(N)(N)#" */ 161 handler.startQuery(ADN_QUERY_TOKEN, sc, Uri.parse("content://icc/adn"), 274 * Cancel the ADN query by stopping the operation and signaling 305 * we're handed the ADN cursor.
|
/packages/apps/Phone/src/com/android/phone/ |
ADNList.java | 36 * ADN List activity for the Phone app. 97 intent.setData(Uri.parse("content://icc/adn"));
|
SpecialCharSequenceMgr.java | 148 /* ADN entries are of the form "N(N)(N)#" */
|
SimContacts.java | 261 intent.setData(Uri.parse("content://icc/adn"));
|
/external/opencore/fileformats/mp4/composer/include/ |
trackheaderatom.h | 41 // Media type gets adn sets
|
/frameworks/base/core/res/res/xml-en/ |
autotext.xml | 29 <word src="adn">and</word>
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
ModelInterpreter.java | 731 /* EF[ADN] */
|