HomeSort by relevance Sort by last modified time
    Searched full:adn (Results 1 - 25 of 40) sorted by null

1 2

  /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 75 // (this is an EF[ADN] record)
79 // (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 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...]
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
346 AdnRecord adn = (AdnRecord) (ar.userObj); local
    [all...]
IccPhoneBookInterfaceManager.java 31 * access ADN-like SIM records.
83 if(DBG) logd("Cannot load ADN records");
121 * Replace oldAdn with newAdn in ADN-like record in EF
125 * if set in the ADN record is ignored.
129 * @param oldTag adn tag to be replaced
130 * @param oldPhoneNumber adn number to be replaced
133 * @param newTag adn tag to be stored
134 * @param newPhoneNumber adn number ot be stored
174 * Update an ADN-like EF record by record index
176 * This is useful for iteration the whole ADN file, such as write the whol
    [all...]
IccProvider.java 52 private static final int ADN = 1;
65 URL_MATCHER.addURI("icc", "adn", ADN);
80 case ADN:
97 case ADN:
117 case ADN:
142 case ADN:
143 buf.append("adn/");
184 case ADN:
257 case ADN
    [all...]
AdnRecord.java 50 // In an ADN record, everything but the alpha identifier
62 // ADN offset
150 return "ADN Record '" + alphaTag + "' '" + number + " " + emails + "'";
175 public boolean isEqual(AdnRecord adn) {
176 return ( stringCompareNullEqualsEmpty(alphaTag, adn.alphaTag) &&
177 stringCompareNullEqualsEmpty(number, adn.number) &&
178 Arrays.equals(emails, adn.emails));
195 * Build adn hex byte array based on record size
IccPhoneBookInterfaceManagerProxy.java 34 * access ADN-like SIM records.
IccRecords.java 163 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local
165 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
IccUtils.java 143 * Decodes a string field that's formatted like the EF[ADN] alpha
  /packages/wallpapers/Basic/res/values-sk/
strings.xml 23 <string name="wallpaper_walkaround" msgid="5548084303782181478">"Prieh?adné"</string>
25 <string name="wallpaper_walkaround_desc" msgid="1714824320382778730">"Zme?te svoj telefón na prieh?adný a prechádzajte sa bez rizika nehody."</string>
  /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:__anon10272
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 28 * access ADN-like SIM records.
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SimPhoneBookInterfaceManager.java 28 * access ADN-like SIM records.
SIMRecords.java 280 AdnRecord adn = new AdnRecord(msisdnTag, msisdn); local
282 new AdnRecordLoader(phone).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
330 AdnRecord adn = new AdnRecord(newVoiceMailTag, newVoiceMailNum); local
334 new AdnRecordLoader(phone).updateEF(adn, EF_MBDN, EF_EXT6,
340 new AdnRecordLoader(phone).updateEF(adn, EF_MAILBOX_CPHS,
514 AdnRecord adn; local
654 adn = (AdnRecord)ar.result;
656 Log.d(LOG_TAG, "VM: " + adn +
659 if (adn.isEmpty() && msg.what == EVENT_GET_MBDN_DONE) {
671 voiceMailNum = adn.getNumber()
    [all...]
UsimPhoneBookManager.java 198 // The number of records in the IAP file is same as the number of records in ADN file.
208 Log.e(LOG_TAG, "Error: Improper ICC card: No IAP record for ADN, continuing");
235 // records in the ADN file.
264 Log.e(LOG_TAG, "Error: Improper ICC card: No email record for ADN, continuing");
348 log("Loading USIM ADN records done");
  /packages/apps/Contacts/src/com/android/contacts/
SpecialCharSequenceMgr.java 108 * Handle ADN requests by filling in the SIM contact number into the requested
115 /* ADN entries are of the form "N(N)(N)#" */
165 handler.startQuery(ADN_QUERY_TOKEN, sc, Uri.parse("content://icc/adn"),
282 * Cancel the ADN query by stopping the operation and signaling
313 * we're handed the ADN cursor.
  /packages/apps/Phone/src/com/android/phone/
ADNList.java 38 * ADN List activity for the Phone app.
99 intent.setData(Uri.parse("content://icc/adn"));
SpecialCharSequenceMgr.java 159 /* ADN entries are of the form "N(N)(N)#" */
SimContacts.java 249 intent.setData(Uri.parse("content://icc/adn"));
  /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] */

Completed in 391 milliseconds

1 2