History log of /packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8153aed48a84305533f26c06a07a51bd358cee41 16-Jun-2015 Ye Wen <ywen@google.com> Better logging for MmsService

- Annotate most logging with request id
- Added logging for IO exception when transferring downloaded PDU

b/21701652
b/21815174

Change-Id: I98554219ae0b2bcfb4450b9e783bd634908b34e7
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
428fa0b017e40c2cd210a4c974e57c5e85584441 13-May-2015 Ye Wen <ywen@google.com> Don't initiate duplicate mms network request

b/21111362

Change-Id: I1c02d64ca2f29f10937f7e91c6caadd5d16b6fd0
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
7a284e5b43a12ba9e4fa7786786f059bf924dd78 27-Jan-2015 Ye Wen <ywen@google.com> Use Network.openConnection instead of duplicating the code

Network.openConnection didn't support proxy but now it does. So removing
redundant code in MmsService and directly call the method. Also moved
confusing MmsConfig macro log to the right place.

b/18717580

Change-Id: I02ed49d738d3d8ad0e315dc8d3e59098f8849d82
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
6b2ef3b7a2a8e65ef81c031b92227a38cf5c400a 20-Jan-2015 Neil Fuller <nfuller@google.com> Fix for broken MMS build

Broken by AOSP commit e78f117bcbd6b57d783737107f445ef75ecb474a
that upgraded OkHttp.

MMS in LMP depends (very directly) on internal OkHttp APIs so
it broke in the first branch that merges AOSP and LMP code.

Change-Id: Ied2c9f565a078bb3fbc83a37f9baa6846811bae2
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
9094b943daea4dcaf25eb3009158eeae55cfe799 06-Jan-2015 Ye Wen <ywen@google.com> Check airplane mode and mobile data before sending

Return new error code either in airplane mode or when mobile data is
disabled. App may choose not to retry for this error

b/18872094

Change-Id: I0e1c7eff830fe44ae16049375b6c4a50a55901d8
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
068f2012ef6f6e58f06bfbe7c88604a176d69657 28-Nov-2014 Tony Hill <tonyhill@motorola.com> Look up MMS APN using the active MMS APN name

Get the active MMS APN name from ConnectivityManager and use
that when retrieving the APN details (e.g. MMSC address).
The query will then return the APN that matches both the SIM
MCC/MNC and the active APN name.
If no match is found then fallback to a query based on MCC/MNC
only.
This fixes an issue where host network MMS APN details could be
used for MVNOs, or vice versa, preventing MMS from being sent or
received.
Bug: 17884903/18519308

Change-Id: I09e32d327e22ad31612a90e09c4aedfaf63870cc
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
f3debb19850814e9a857cd45f55cf48cf30f51e0 26-Nov-2014 Ye Wen <ywen@google.com> MmsService fixes

- Fix MmsNetworkManager to always clear up mNetwork when connection is
lost or unavailable (b/18327075)
- Fix MmsHttpClient to always return HTTP status for 4xx and 5xx
failures (b/17520290)
- Fix MmsNetworkManager.getAllByName to not synchronize on the call of
Network.getAllByName (b/18543268)
- Also added logging for UA and UAProfUrl

b/18327075
b/17520290
b/18543268

Change-Id: Ic4b71898081b36f7cfda1e28863477a658a0e3aa
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
3cf9a9481b8e95d0fb654d083b06ee9a23a8e4e8 15-Oct-2014 Ye Wen <ywen@google.com> Support multi-sim in mms service

Also fixed bug related to LINE1 macro in mms config b/17945978

b/16681645
b/17945978

Change-Id: I79e33d6f1b72f18fb7a12afef903ef96e98ce052
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
bdb6fe1cfbc8ecb7ed56798f49de7ba62019fd72 30-Oct-2014 Ye Wen <ywen@google.com> Use okhttp lib for MMS service HTTP request

b/18103954
b/17965324

Change-Id: Iab09cbeb7c2475b55d476e24b175f3c0736b6703
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
db7f2fadc52aeaad26450d3a59c1dc9df539780c 04-Sep-2014 Ye Wen <ywen@google.com> Add synchronization to read access on MmsNetworkManager.mNetwork

b/17261658

Change-Id: Id1832fbe88cdb38d5ff4f4122b89220b4747fbb8
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
2eca933b79d40eb677e878eebb3433dcf2f9db72 04-Sep-2014 Ye Wen <ywen@google.com> Fast fail mms request in airplane mode

Also reduce the network request timeout and wait timeout so that we can
fail faster.

b/17377675

Change-Id: I4743871f97f624d5901dc1934fbd2179dbb674af
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
c984707ecf54d545a4a5809c6ce1d18bf7cee61e 01-Aug-2014 Ye Wen <ywen@google.com> Allow MmsConfig override per request (3/3)

Instead of providing ways to override MmsConfig globally, this allows
the override per request, which is safer. Also added subId to the getter
of MessagingConfigurationManager.

b/16681649

Change-Id: If93ddd534843f0d9679342f5c709df173b4e6650
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
70244918912de2ca0fdede14e20b535d13748f15 23-Jul-2014 Ye Wen <ywen@google.com> Add transport type when requesting mms network

b/16324360

Change-Id: I822f1649c4584347de21d8d6ef231e03bcd6ac38
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
b07ae2f78ac69a1e7bcfb1ce62e69d7283b46295 21-Jul-2014 Ye Wen <ywen@google.com> Move MmsService into phone process (1/2)

b/16324360

Change-Id: Ic7b1fe7fc76541a892fb9b235a10cb2ef52796fb
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
0e6456d1c034d76bafeee5877327d32753eab13f 17-Jun-2014 Ye Wen <ywen@google.com> Re-enable MmsService to use latest ConnectivityManager API

Change-Id: I95773df52fa8f64b5e36b6ef90b19a7ebbb7dee8
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
7ea28ff2fc458d05bdfa9238a6b6f9bccd0d0ffd 13-Jun-2014 Amith Yamasani <yamasani@google.com> Fix build

Change-Id: I443dd05c31116fa421e6627a8440e4b011f68dc1
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
18eeec3c34ddd51883a7c1543727154eef064d79 12-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Comment out Mms until changes settle.

A slew of changes are making their way through the automerger that will break
this code. I don't have time to cherry pick them all (~10-15) so until they settle
or I get more time, just make this code a no-op.

I'll fix tomorrow one way or the other.

Change-Id: I3ed26f789bbfc892747a44e705f4bf8691eb1d11
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
7d5c4f476f6a158a967936fd1141da4ffc291bf9 07-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Update to new ConnectivityManager API

bug:15142362
Change-Id: Ia55c59d52e1ec8bf10dd0d9d037bd04c0998bc71
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java
c91cc9d4a5aa12a570a3b35a12b3e34a6a9eeb51 19-May-2014 Ye Wen <ywen@google.com> MMS API: impl. of sending and downloading

b/14095333

Change-Id: Ia30e0e01ab1ab570f2f566e35f7446d8f1270c6d
/packages/services/Mms/src/com/android/mms/service/MmsNetworkManager.java