Home
last modified time | relevance | path

Searched refs:apnName (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java244 public List<Apn> get(final String apnName) { in get() argument
253 loadLocked(subId, apnName, apns); in get()
263 private void loadLocked(final int subId, final String apnName, final List<Apn> apns) { in loadLocked() argument
265 loadFromSystem(subId, apnName, apns); in loadLocked()
270 loadFromResources(subId, apnName, apns); in loadLocked()
286 private void loadFromSystem(final int subId, final String apnName, final List<Apn> apns) { in loadFromSystem() argument
298 cursor = querySystem(uri, true/*checkCurrent*/, apnName); in loadFromSystem()
302 cursor = querySystem(uri, false/*checkCurrent*/, apnName); in loadFromSystem()
345 private Cursor querySystem(final Uri uri, final boolean checkCurrent, String apnName) { in querySystem() argument
347 + "checkCurrent=" + checkCurrent + " apnName=" + apnName); in querySystem()
[all …]
DMmsNetworkManager.java196 String apnName = null; in getApnName() local
200 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
202 return apnName; in getApnName()
DMmsRequest.java152 final String apnName = networkManager.getApnName(); in execute() local
153 final List<ApnSettingsLoader.Apn> apns = apnSettingsLoader.get(apnName); in execute()
DApnSettingsLoader.java62 List<Apn> get(String apnName); in get() argument
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java318 public List<ApnSettingsLoader.Apn> get(final String apnName) { in get() argument
328 loadLocked(subId, apnName, apns); in get()
338 private void loadLocked(final int subId, final String apnName, final List<Apn> apns) { in loadLocked() argument
345 loadFromSystem(subId, apnName, apns); in loadLocked()
350 loadFromLocalDatabase(apnName, apns); in loadLocked()
384 private void loadFromSystem(final int subId, final String apnName, final List<Apn> apns) { in loadFromSystem() argument
396 cursor = querySystem(uri, true/*checkCurrent*/, apnName); in loadFromSystem()
400 cursor = querySystem(uri, false/*checkCurrent*/, apnName); in loadFromSystem()
443 private Cursor querySystem(final Uri uri, final boolean checkCurrent, String apnName) { in querySystem() argument
445 + "checkCurrent=" + checkCurrent + " apnName=" + apnName); in querySystem()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java90 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load() argument
92 LogUtil.i(requestId, "Loading APN using name " + apnName); in load()
97 apnName = apnName != null ? apnName.trim() : null; in load()
98 if (!TextUtils.isEmpty(apnName)) { in load()
101 selectionArgs = new String[]{ apnName }; in load()
DMmsRequest.java155 final String apnName = networkManager.getApnName(); in execute() local
156 LogUtil.d(requestId, "APN name is " + apnName); in execute()
160 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
163 if (apnName == null) { in execute()
168 + apnName + ", try with no name"); in execute()
DMmsNetworkManager.java290 String apnName = null; in getApnName() local
294 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
296 return apnName; in getApnName()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java1232 final String apnName = "name"; in testApnSetId() local
1234 values1.put(Carriers.NAME, apnName); in testApnSetId()
1257 assertEquals(apnName, cursor.getString(0)); in testApnSetId()
1276 final String apnName = "name"; in testPreferApnSetUrl() local
1278 values1.put(Carriers.NAME, apnName); in testPreferApnSetUrl()
1484 final String apnName = "apnName"; in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO() local
1492 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO()
1511 assertEquals(apnName, cursor.getString(0)); in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO()
1521 final String apnName = "apnName"; in testSIMAPNLIST_APNMatchTheParentMCCMNC() local
1527 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_APNMatchTheParentMCCMNC()
[all …]