/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DefaultApnSettingsLoader.java | 244 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 …]
|
D | MmsNetworkManager.java | 196 String apnName = null; in getApnName() local 200 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName() 202 return apnName; in getApnName()
|
D | MmsRequest.java | 152 final String apnName = networkManager.getApnName(); in execute() local 153 final List<ApnSettingsLoader.Apn> apns = apnSettingsLoader.get(apnName); in execute()
|
D | ApnSettingsLoader.java | 62 List<Apn> get(String apnName); in get() argument
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleApnSettingsLoader.java | 318 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/ |
D | ApnSettings.java | 89 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()
|
D | MmsRequest.java | 155 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()
|
D | MmsNetworkManager.java | 313 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/ |
D | TelephonyProviderTest.java | 1274 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 …]
|