/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 120 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 …]
|
D | MmsConfigManager.java | 130 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()
|
D | MmsService.java | 259 final Bundle mmsConfig = MmsConfigManager.getInstance().getMmsConfigBySubId(subId); 260 if (mmsConfig == null) { 263 return mmsConfig;
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 113 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 …]
|
D | MmsRequest.java | 55 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()
|
D | SendRequest.java | 52 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()
|
D | DownloadRequest.java | 47 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/ |
D | MessageTextStats.java | 55 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/ |
D | MmsConfig.java | 114 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/ |
D | CameraManager.java | 984 final MmsConfig mmsConfig = getMmsConfig(); in chooseBestPictureSize() local 985 final int maxWidth = mmsConfig.getMaxImageWidth(); in chooseBestPictureSize() 986 final int maxHeight = mmsConfig.getMaxImageHeight(); in chooseBestPictureSize()
|