Home
last modified time | relevance | path

Searched refs:mmsConfig (Results 1 – 10 of 10) sorted by relevance

/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java120 String proxyHost, int proxyPort, Bundle mmsConfig, int subId, String requestId) in execute() argument
139 mmsConfig.getInt(SmsManager.MMS_CONFIG_HTTP_SOCKET_TIMEOUT)); in execute()
141 mmsConfig.getInt(SmsManager.MMS_CONFIG_HTTP_SOCKET_TIMEOUT)); in execute()
149 final String userAgent = mmsConfig.getString(SmsManager.MMS_CONFIG_USER_AGENT); in execute()
154 mmsConfig.getString(SmsManager.MMS_CONFIG_UA_PROF_TAG_NAME); in execute()
155 final String uaProfUrl = mmsConfig.getString(SmsManager.MMS_CONFIG_UA_PROF_URL); in execute()
171 if (mmsConfig.getBoolean(SmsManager.MMS_CONFIG_CLOSE_CONNECTION, false)) { in execute()
176 addExtraHeaders(connection, mmsConfig, subId); in execute()
185 if (mmsConfig.getBoolean(SmsManager.MMS_CONFIG_SUPPORT_HTTP_CHARSET_HEADER)) { in execute()
369 private void addExtraHeaders(HttpURLConnection connection, Bundle mmsConfig, int subId) { in addExtraHeaders() argument
[all …]
DMmsConfigManager.java130 Bundle mmsConfig; in getMmsConfigBySubId() local
132 mmsConfig = mSubIdConfigMap.get(subId); in getMmsConfigBySubId()
134 LogUtil.i("mms config for sub " + subId + ": " + mmsConfig); in getMmsConfigBySubId()
136 if (mmsConfig != null) { in getMmsConfigBySubId()
137 return new Bundle(mmsConfig); in getMmsConfigBySubId()
DMmsService.java259 final Bundle mmsConfig = MmsConfigManager.getInstance().getMmsConfigBySubId(subId);
260 if (mmsConfig == null) {
263 return mmsConfig;
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java113 String proxyHost, int proxyPort, Bundle mmsConfig, String userAgent, String uaProfUrl) in execute() argument
130 mmsConfig.getInt(CarrierConfigValuesLoader.CONFIG_HTTP_SOCKET_TIMEOUT, in execute()
142 final String uaProfUrlTagName = mmsConfig.getString( in execute()
150 addExtraHeaders(connection, mmsConfig); in execute()
159 if (mmsConfig.getBoolean( in execute()
310 private String resolveMacro(String value, Bundle mmsConfig) { in resolveMacro() argument
326 final String macroValue = getHttpParamMacro(macro, mmsConfig); in resolveMacro()
346 private void addExtraHeaders(HttpURLConnection connection, Bundle mmsConfig) { in addExtraHeaders() argument
347 final String extraHttpParams = mmsConfig.getString( in addExtraHeaders()
356 final String value = resolveMacro(splitPair[1].trim(), mmsConfig); in addExtraHeaders()
[all …]
DMmsRequest.java55 protected abstract boolean loadRequest(Context context, Bundle mmsConfig); in loadRequest() argument
80 ApnSettingsLoader.Apn apn, Bundle mmsConfig, String userAgent, String uaProfUrl) in doHttp() argument
136 final Bundle mmsConfig = carrierConfigValuesLoader.get(MmsManager.DEFAULT_SUB_ID); in execute() local
137 if (mmsConfig == null) { in execute()
140 } else if (!loadRequest(context, mmsConfig)) { in execute()
173 context, networkManager, apn, mmsConfig, userAgent, uaProfUrl); in execute()
175 if (isWrongApnResponse(response, mmsConfig)) { in execute()
223 static boolean isWrongApnResponse(final byte[] response, final Bundle mmsConfig) { in isWrongApnResponse() argument
228 mmsConfig.getBoolean( in isWrongApnResponse()
DSendRequest.java52 protected boolean loadRequest(final Context context, final Bundle mmsConfig) { in loadRequest() argument
56 mmsConfig.getInt( in loadRequest()
79 Bundle mmsConfig, String userAgent, String uaProfUrl) throws MmsHttpException { in doHttp() argument
83 mmsConfig, userAgent, uaProfUrl); in doHttp()
DDownloadRequest.java47 protected boolean loadRequest(final Context context, final Bundle mmsConfig) { in loadRequest() argument
59 Bundle mmsConfig, String userAgent, String uaProfUrl) throws MmsHttpException { in doHttp() argument
63 mmsConfig, userAgent, uaProfUrl); in doHttp()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java55 final MmsConfig mmsConfig = MmsConfig.get(selfSubId); in updateMessageTextStats() local
56 if (!mmsConfig.getMultipartSmsEnabled() && in updateMessageTextStats()
57 !mmsConfig.getSendMultipartSmsAsSeparateMessages()) { in updateMessageTextStats()
63 final int threshold = mmsConfig.getSmsToMmsTextThreshold(); in updateMessageTextStats()
68 int smsToMmsLengthThreshold = mmsConfig.getSmsToMmsTextLengthThreshold(); in updateMessageTextStats()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsConfig.java114 final MmsConfig mmsConfig = sSubIdToMmsConfigMap.get(realSubId); in get() local
115 if (mmsConfig == null) { in get()
122 return mmsConfig; in get()
169 private static void addMmsConfig(MmsConfig mmsConfig) { in addMmsConfig() argument
171 (mmsConfig.mSubId == ParticipantData.DEFAULT_SELF_SUB_ID)); in addMmsConfig()
172 sSubIdToMmsConfigMap.put(mmsConfig.mSubId, mmsConfig); in addMmsConfig()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java984 final MmsConfig mmsConfig = getMmsConfig(); in chooseBestPictureSize() local
985 final int maxWidth = mmsConfig.getMaxImageWidth(); in chooseBestPictureSize()
986 final int maxHeight = mmsConfig.getMaxImageHeight(); in chooseBestPictureSize()