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.java89 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load() argument
91 LogUtil.i(requestId, "Loading APN using name " + apnName); in load()
96 apnName = apnName != null ? apnName.trim() : null; in load()
97 if (!TextUtils.isEmpty(apnName)) { in load()
100 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.java313 String apnName = null; in getApnName() local
317 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
319 return apnName; in getApnName()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java1274 final String apnName = "name"; in testApnSetId() local
1276 values1.put(Carriers.NAME, apnName); in testApnSetId()
1299 assertEquals(apnName, cursor.getString(0)); in testApnSetId()
1320 final String apnName = "name"; in testPreferApnSetUrl() local
1322 values1.put(Carriers.NAME, apnName); in testPreferApnSetUrl()
1547 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMVNOAPN() local
1555 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
1564 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
1591 assertEquals(apnName, cursor.getString(0)); in testSIMAPNLIST_MatchTheMVNOAPN()
1603 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMNOAPN() local
[all …]