HomeSort by relevance Sort by last modified time
    Searched refs:Apn (Results 1 - 6 of 6) sorted by null

  /packages/apps/Messaging/src/android/support/v7/mms/
ApnSettingsLoader.java 26 * Interface to represent the minimal information MMS lib needs from an APN
28 interface Apn {
51 * Flag the APN as a successful APN to use
57 * Get a list possible APN matching the subId and APN name
59 * @param apnName the APN name
62 List<Apn> get(String apnName);
DefaultApnSettingsLoader.java 39 * Default implementation of APN settings loader
43 * The base implementation of an APN
45 private static class BaseApn implements Apn {
47 * Create a base APN from parameters
49 * @param typesIn the APN type field
50 * @param mmscIn the APN mmsc field
51 * @param proxyIn the APN mmsproxy field
52 * @param portIn the APN mmsport field
53 * @return an instance of base APN, or null if any of the parameter is invalid
124 * An in-memory implementation of an APN. These APNs are organized into an in-memory list
322 final Apn apn = BaseApn.from( local
    [all...]
DownloadRequest.java 58 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettingsLoader.Apn apn,
61 return httpClient.execute(getHttpRequestUrl(apn), null/*pdu*/, MmsHttpClient.METHOD_GET,
62 !TextUtils.isEmpty(apn.getMmsProxy()), apn.getMmsProxy(), apn.getMmsProxyPort(),
68 protected String getHttpRequestUrl(final ApnSettingsLoader.Apn apn) {
MmsRequest.java 72 * @param apn The APN
80 ApnSettingsLoader.Apn apn, Bundle mmsConfig, String userAgent, String uaProfUrl)
86 * @param apn The APN to use
89 protected abstract String getHttpRequestUrl(ApnSettingsLoader.Apn apn);
124 * @param apnSettingsLoader the APN loader
148 // Load the potential APNs. In most cases there should be only one APN available
170 requestRoute(networkManager.getConnectivityManager(), apn, url); local
    [all...]
SendRequest.java 78 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettingsLoader.Apn apn,
81 return httpClient.execute(getHttpRequestUrl(apn), mPduData, MmsHttpClient.METHOD_POST,
82 !TextUtils.isEmpty(apn.getMmsProxy()), apn.getMmsProxy(), apn.getMmsProxyPort(),
87 protected String getHttpRequestUrl(final ApnSettingsLoader.Apn apn) {
88 return !TextUtils.isEmpty(mLocationUrl) ? mLocationUrl : apn.getMmsc();
  /packages/apps/Messaging/src/com/android/messaging/sms/
BugleApnSettingsLoader.java 45 * APN loader for default SMS SIM
49 * 2. System APN table
50 * 3. Local APN table
54 * The base implementation of an APN
56 private static class BaseApn implements Apn {
58 * Create a base APN from parameters
60 * @param typesIn the APN type field
61 * @param mmscIn the APN mmsc field
62 * @param proxyIn the APN mmsproxy field
63 * @param portIn the APN mmsport fiel
370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); local
420 final ApnSettingsLoader.Apn apn = BaseApn.from( local
509 final Apn apn = DatabaseApn.from(apns, local
    [all...]

Completed in 197 milliseconds