Home | History | Annotate | Download | only in mms

Lines Matching refs:nai

77     // NAI (Network Access Identifier)
78 private static final String MACRO_NAI = "NAI";
80 // The possible NAI system property name
81 private static final String NAI_PROPERTY = "persist.radio.cdma.nai";
341 * macros like "##LINE1##" or "##NAI##" which is resolved with methods in this class
433 * Get encoded NAI string to use as the HTTP header for some carriers.
437 * @param naiSuffix the suffix to append to NAI before encoding
438 * @return the Base64 encoded NAI string to use as HTTP header
441 String nai;
443 nai = getNaiBySystemApi(
446 nai = getNaiBySystemProperty();
448 if (!TextUtils.isEmpty(nai)) {
449 Log.i(MmsService.TAG, "NAI is not empty");
451 nai = nai + naiSuffix;
455 encoded = Base64.encode(nai.getBytes("UTF-8"), Base64.NO_WRAP);
457 encoded = Base64.encode(nai.getBytes(), Base64.NO_WRAP);
487 * Get NAI using hidden TelephonyManager.getNai(int)
490 * @return the NAI string
505 * Get NAI using hidden SystemProperties.get(String)
507 * @return the NAI string as system property