Home
last modified time | relevance | path

Searched refs:apn (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java80 ApnSettingsLoader.Apn apn, Bundle mmsConfig, String userAgent, String uaProfUrl) in doHttp() argument
89 protected abstract String getHttpRequestUrl(ApnSettingsLoader.Apn apn); in getHttpRequestUrl() argument
162 for (ApnSettingsLoader.Apn apn : apns) { in execute()
164 + "MMSC=" + apn.getMmsc() + ", " in execute()
165 + "PROXY=" + apn.getMmsProxy() + ", " in execute()
166 + "PORT=" + apn.getMmsProxyPort() + "]"); in execute()
168 final String url = getHttpRequestUrl(apn); in execute()
170 requestRoute(networkManager.getConnectivityManager(), apn, url); in execute() local
173 context, networkManager, apn, mmsConfig, userAgent, uaProfUrl); in execute()
179 apn.setSuccess(); in execute()
[all …]
DSendRequest.java78 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettingsLoader.Apn apn, in doHttp() argument
81 return httpClient.execute(getHttpRequestUrl(apn), mPduData, MmsHttpClient.METHOD_POST, in doHttp()
82 !TextUtils.isEmpty(apn.getMmsProxy()), apn.getMmsProxy(), apn.getMmsProxyPort(), in doHttp()
87 protected String getHttpRequestUrl(final ApnSettingsLoader.Apn apn) { in getHttpRequestUrl() argument
88 return !TextUtils.isEmpty(mLocationUrl) ? mLocationUrl : apn.getMmsc(); in getHttpRequestUrl()
DDownloadRequest.java58 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettingsLoader.Apn apn, in doHttp() argument
61 return httpClient.execute(getHttpRequestUrl(apn), null/*pdu*/, MmsHttpClient.METHOD_GET, in doHttp()
62 !TextUtils.isEmpty(apn.getMmsProxy()), apn.getMmsProxy(), apn.getMmsProxyPort(), in doHttp()
68 protected String getHttpRequestUrl(final ApnSettingsLoader.Apn apn) { in getHttpRequestUrl() argument
DDefaultApnSettingsLoader.java147 for (final Apn apn : apns) { in from()
148 if (apn instanceof MemoryApn && ((MemoryApn) apn).equals(base)) { in from()
322 final Apn apn = BaseApn.from( in loadFromSystem() local
327 if (apn != null) { in loadFromSystem()
328 apns.add(apn); in loadFromSystem()
410 final String apn = trimWithNullCheck(apnValues.getAsString(APN_APN)); in loadFromResources()
414 (TextUtils.isEmpty(apnName) || apnName.equalsIgnoreCase(apn))) { in loadFromResources()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java172 for (final ApnSettingsLoader.Apn apn : apns) { in from()
173 if (apn instanceof DatabaseApn && ((DatabaseApn) apn).equals(base)) { in from()
370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); in loadFromGservices() local
371 if (apn != null) { in loadFromGservices()
372 apns.add(apn); in loadFromGservices()
420 final ApnSettingsLoader.Apn apn = BaseApn.from( in loadFromSystem() local
425 if (apn != null) { in loadFromSystem()
426 apns.add(apn); in loadFromSystem()
509 final Apn apn = DatabaseApn.from(apns, in loadFromLocalDatabase() local
516 if (apn != null) { in loadFromLocalDatabase()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java158 ApnSettings apn = null; in execute() local
160 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
169 apn = ApnSettings.load(context, null, mSubId, requestId); in execute()
171 LogUtil.i(requestId, "Using " + apn.toString()); in execute()
172 response = doHttp(context, networkManager, apn); in execute()
295 protected abstract byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp() argument
DSendRequest.java69 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp() argument
81 mLocationUrl != null ? mLocationUrl : apn.getMmscUrl(), in doHttp()
84 apn.isProxySet(), in doHttp()
85 apn.getProxyAddress(), in doHttp()
86 apn.getProxyPort(), in doHttp()
DDownloadRequest.java70 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp() argument
82 apn.isProxySet(), in doHttp()
83 apn.getProxyAddress(), in doHttp()
84 apn.getProxyPort(), in doHttp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java352 for (String apn : PhoneConstants.APN_TYPES) { in hasAllApns()
353 if (!apnList.contains(apn)) { in hasAllApns()
381 for (String apn : apnTypesArray2) { in apnTypesMatch()
382 if (apnTypesList1.contains(apn.trim())) { in apnTypesMatch()
383 Log.d(TAG, "apnTypesMatch: true because match found for " + apn.trim()); in apnTypesMatch()
870 String apn = checkNotSet(mApn.getText()); in validateAndSaveApnData() local
892 apn, in validateAndSaveApnData()
1080 String apn = checkNotSet(mApn.getText()); in validateApnData() local
1086 } else if (TextUtils.isEmpty(apn)) { in validateApnData()
DApnSettings.java305 String apn = cursor.getString(APN_INDEX); in fillList() local
322 pref.setSummary(apn); in fillList()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java416 for (String apn : APN_TYPES) { in hasAllApns()
417 if (!apnList.contains(apn)) { in hasAllApns()
445 for (String apn : apnTypesArray2) { in apnTypesMatch()
446 if (apnTypesList1.contains(apn.trim())) { in apnTypesMatch()
447 Log.d(TAG, "apnTypesMatch: true because match found for " + apn.trim()); in apnTypesMatch()
956 final String apn = checkNotSet(mApn.getText()); in validateAndSaveApnData() local
978 apn, in validateAndSaveApnData()
1166 final String apn = checkNotSet(mApn.getText()); in validateApnData() local
1172 } else if (TextUtils.isEmpty(apn)) { in validateApnData()
DApnSettings.java325 final String apn = cursor.getString(APN_INDEX); in fillList() local
342 pref.setSummary(apn); in fillList()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java242 String apn = cursor.getString(APN_INDEX); in fillList() local
251 pref.setSummary(apn); in fillList()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java630 private int insertApnRecord(Uri uri, String apn, String name, int current, String numeric) { in insertApnRecord() argument
632 contentValues.put(Carriers.APN, apn); in insertApnRecord()
1273 final String apn = "apnName"; in testApnSetId() local
1275 values1.put(Carriers.APN, apn); in testApnSetId()
1319 final String apn = "apnName"; in testPreferApnSetUrl() local
1321 values1.put(Carriers.APN, apn); in testPreferApnSetUrl()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java7694 gid1, String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn) { in setCarrierTestOverride() argument
7705 carrierPrivilegeRules, apn); in setCarrierTestOverride()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...