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.java72 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp() argument
84 mLocationUrl != null ? mLocationUrl : apn.getMmscUrl(), in doHttp()
87 apn.isProxySet(), in doHttp()
88 apn.getProxyAddress(), in doHttp()
89 apn.getProxyPort(), in doHttp()
DDownloadRequest.java71 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp() argument
83 apn.isProxySet(), in doHttp()
84 apn.getProxyAddress(), in doHttp()
85 apn.getProxyPort(), in doHttp()
/packages/apps/Settings/src/com/android/settings/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()
866 String apn = checkNotSet(mApn.getText()); in validateAndSaveApnData() local
888 apn, in validateAndSaveApnData()
1076 String apn = checkNotSet(mApn.getText()); in validateApnData() local
1082 } 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/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()
866 String apn = checkNotSet(mApn.getText()); in validateAndSaveApnData() local
888 apn, in validateAndSaveApnData()
1076 String apn = checkNotSet(mApn.getText()); in validateApnData() local
1082 } 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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java606 private int insertApnRecord(Uri uri, String apn, String name, int current, String numeric) { in insertApnRecord() argument
608 contentValues.put(Carriers.APN, apn); in insertApnRecord()
1231 final String apn = "apnName"; in testApnSetId() local
1233 values1.put(Carriers.APN, apn); in testApnSetId()
1275 final String apn = "apnName"; in testPreferApnSetUrl() local
1277 values1.put(Carriers.APN, apn); in testPreferApnSetUrl()
/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/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java6559 gid1, String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn) { in setCarrierTestOverride() argument
6570 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 ...