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

1 2

  /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...]
SimPhoneBookTest.java 52 // Since this test doesn't mock the SIM we try to get a valid ADN record,
57 assertNotNull("Original Adn is Null.", originalAdn);
58 assertNotNull("Original Adn alpha tag is null.", originalAdn.getAlphaTag());
59 assertNotNull("Original Adn number is null.", originalAdn.getNumber());
100 // restore the orginial adn
SimUtilsTest.java 76 // (this is an EF[ADN] record)
80 // (this is from an EF[ADN] record)
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
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...]
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...]
AdnRecord.java 52 // In an ADN record, everything but the alpha identifier
64 // ADN offset
155 return "ADN Record '" + mAlphaTag + "' '" + mNumber + " " + mEmails + "'";
180 public boolean isEqual(AdnRecord adn) {
181 return ( stringCompareNullEqualsEmpty(mAlphaTag, adn.mAlphaTag) &&
182 stringCompareNullEqualsEmpty(mNumber, adn.mNumber) &&
183 Arrays.equals(mEmails, adn.mEmails));
202 * Build adn hex byte array based on record size
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...]
IccRecords.java 288 AdnRecord adn = new AdnRecord(mMsisdnTag, mMsisdn); local
290 new AdnRecordLoader(mFh).updateEF(adn, EF_MSISDN, EF_EXT1, 1, null,
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
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...]
IccPhoneBookInterfaceManager.java 37 * access ADN-like SIM records.
89 if(DBG) logd("Cannot load ADN records");
139 * Replace oldAdn with newAdn in ADN-like record in EF
143 * if set in the ADN record is ignored.
147 * @param oldTag adn tag to be replaced
148 * @param oldPhoneNumber adn number to be replaced
151 * @param newTag adn tag to be stored
152 * @param newPhoneNumber adn number ot be stored
197 * Update an ADN-like EF record by record index
199 * 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:
252 case ADN
    [all...]
IccPhoneBookInterfaceManagerProxy.java 28 * access ADN-like SIM records.
TelephonyCapabilities.java 162 * Return true if phones with the given phone type support ADN
172 * TODO: Theoretically phones other than GSM may have the ADN capability.
  /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:__anon14019
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/opt/telephony/src/java/com/android/internal/telephony/cdma/
RuimPhoneBookInterfaceManager.java 29 * access ADN-like SIM records.
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
SimPhoneBookInterfaceManager.java 29 * access ADN-like SIM records.
UsimPhoneBookManager.java 198 // The number of records in the IAP file is same as the number of records in ADN file.
208 Rlog.e(LOG_TAG, "Error: Improper ICC card: No IAP record for ADN, continuing");
235 // records in the ADN file.
264 Rlog.e(LOG_TAG, "Error: Improper ICC card: No email record for ADN, continuing");
348 log("Loading USIM ADN records done");
  /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"));
SimContacts.java 249 intent.setData(Uri.parse("content://icc/adn"));
SpecialCharSequenceMgr.java 165 /* ADN entries are of the form "N(N)(N)#" */
  /packages/apps/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java 149 * Handle ADN requests by filling in the SIM contact number into the requested
156 /* ADN entries are of the form "N(N)(N)#" */
213 handler.startQuery(ADN_QUERY_TOKEN, sc, Uri.parse("content://icc/adn"),
353 * Cancel the ADN query by stopping the operation and signaling
386 * we're handed the ADN cursor.
  /external/mockito/src/org/mockito/internal/util/reflection/
InstanceField.java 15 * Contains the instance reference on which the field can be read adn write.
  /frameworks/base/core/res/res/xml-en/
autotext.xml 29 <word src="adn">and</word>

Completed in 1051 milliseconds

1 2