| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Dr.No from mcleron.
Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
|
|
|
|
| |
Same great info, just fewer chars.
|
|
|
|
|
|
|
|
|
| |
It was clearing the interfacename when it was needed later in the process - the prevented us
from clearing the route to private dns servers and clearing the flag that this was set.
Consequently future uses would not set the private dns servers (since it thought they were already
set) and our lookups would fail.
bug: 2146929
|
|
|
|
|
|
| |
section 3.2.2.
Change-Id: I6166753fac2c141440fc3c860ab644b29b188d76
|
|
|
|
|
| |
This doesn't always work right and is causing some problems if the network comes
back up without sending the broadcast.
|
|
|
|
|
|
|
|
|
|
| |
Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.
Fix the requestRouteToHost logic to support apn switches without WIFI.
bug:2093841
|
|
|
|
|
|
|
|
| |
Fixes a problem where mms apn was on when we lost the network (airplane mode) but mms was
off when airplane mode was turned off so it kept thinking we didn't have access and
future mms always failed.
bug: 2075145
|
|
|
|
|
|
|
| |
We could sometimes not be told about network state changes breaking subsequent mms access.
Turning on more logging too.
bug: 2069106
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access
Add support for HSDPA/HSUPA/HSPA:
1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
3) set radioTechnology into ServiceState in GsmServiceStateTracker
4) change the implementation of TelephonyManager.getNetworkType to
solve the competition timing issue between the time of setting
system property and the time of receiving notification through
PhoneStateListener
4.1) add a getNetworkType interface in ITelephony.aidl
5) add icons resources for HSDPA/HSUPA/HSPA
6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
instead of initializing their own copies.
Merge commit 'e97c2006bf7c391c933307e520a392e532aa5d6a' into eclair
* commit 'e97c2006bf7c391c933307e520a392e532aa5d6a':
Updated Browser and MCS to use shared default trust manager instead of initializing their own copies.
|
| |
| |
| |
| | |
initializing their own copies.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix some race conditions (check isTeardownRequested).
Fix the passing of mInterfaceName to subtypes (mms, etc).
Fix the generation of CONNECTED message to already active subtypes.
Fix the enabling of Data in DataConnectionTracker.
bug: 2065037
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The gist of it is: Ignore reconnect fail of default APN during boot.
A long path:
1 If wifi is started at boot it starts fast - before the PhoneService is available.
2 Wifi starts by failing - you get DISCONNECTED/Scanning events so CM starts the other default network (mobile).
3 Trying to restart mobile fails because the phone service isn't up yet.
4 The failure is noted and the net is marked as not-enabled.
5 The phone trys to auto-start the mobile network and succeeds, sending state-changed events
6 The CM ignores the state-changed events because the net isn't enabled (see 4).
The long term fix is to remove two-way state tracking from the MobileDataStateTracker and instead just consume the state fed to us in state-change events.
Near term fix is to not mark the default net disabled when we have failure (step 4) if the phone service isn't available.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Need to change MOBILE_MMS network into connnected state if the current
apn can already support the traffic.
Bug:2058212
Bug:2055065
Bug:2046882
|
| |
| |
| |
| |
| | |
Fixes MMS during wifi.
Also fixes CDMA for ConnectivityManager change.
|
| |
| |
| |
| |
| | |
This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
and a ssl error happened, the http thread can be blocked for up to 10 min.
Added code to detect this case and unlock the thread.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recover the old logic before removing network management. Remove the empty
list for the host after consuming the last entry. As we should never have
an empty list, it is safe to call removeFirst without checking whether it is
empty.
Currently, in getRequest() or removeFrist(), if we found an empty list, we
remove it. Then we return null for the request even there are requests in
another list. So the page stops loading until the next getRequest() or
removeFirst() is called. If they are not called, those requests will never
be accessed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
205 is interpreted by Safari to be like 200 and show the given content. Change
canHaveResponseBody to allow 205 to have a body.
305 is a very rare server response indicating to the client to use the given
Location header as a proxy and reissue the original request. Curl doesn't do
anything with this header and neither does internal networking code. For now,
we will just allow the response body to propagate to webcore.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This does not change the actual thread priority but if the default priority
changes, this will have the desired result of being slightly less favorable.
I tried messing with the priorities to see if a higher or lower priority helped
but it seemed to do more harm than good. It might be worth more investigation to
find out where all the thread time is being spent so we can determine the
correct priority.
|
| |
| |
| |
| | |
Also removed an unused variable in RequestQueue.java.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '2d7910555ab6b376e8cd1646db6c329c1cd1adb7'
* commit '2d7910555ab6b376e8cd1646db6c329c1cd1adb7':
Fixed NPE bugs in Uri. Fixes internal issue #1724719.
|
| |
| |
| |
| | |
Modified getQueryParameter() to use the encoded query string. Fixes internal issue #1749094.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
wifi: Keep the WLAN network interface up whenever wifi is enabled.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now only bring it down briefly and bring it back up again when
we want to reset the interface.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| | |
Fixes internal issue #1957015.
|
| | |
|
| |
| |
| |
| | |
reused. Change the thread time collection based on per request.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60'
* commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60':
Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
|
| |
| |
| |
| | |
case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit a84b6faffbe7ef5981f3202be0f68a8b44d61a76.
I will work on a better mechanism for bringing up the default APN
when Wifi is enabled.
|
| |
| |
| |
| |
| |
| |
| | |
The default APN can now be requested by calling
ConnectivityManager.startUsingNetworkFeature(Phone.FEATURE_ENABLE_DEFAULT).
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
| |
| |
| | |
EOFException, we need to commit them.
|
| |
| |
| |
| |
| |
| |
| | |
Use a class to hold the high priority requests and low priority requests. Each
request is appended to the correct list in the order received. If a request
needs to be requeued after an error, it is placed at the head of the
corresponding list.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1c9a92fd9fbe192f24e53c26cddeab401cefb108'
* commit '1c9a92fd9fbe192f24e53c26cddeab401cefb108':
Rework some code so that it works the way it was supposed to work.
|
| | |
|
| |
| |
| |
| | |
even bodyProvider is null. This ensures the content-type, content-encoding and content-length are set correctly.
|
|/
|
|
|
| |
This does not fix the underscore problem in host names but it moves it from a
Browser issue to a libc issue.
|
|
|
|
| |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
methods and constants
that ought to be exposed. Hid and deprecated the single-arg public
constructor for NetworkInfo, and modified a CTS test that was testing it.
Ran the android.net test package to make sure it still works.
Original author: ers
Merged from: //branches/cupcake/...
Automated import of CL 145980
|
|/
|
|
|
|
|
| |
The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.
BUG=1780938
|
|
|
|
| |
Automated import of CL 144185
|
| |
|
| |
|
| |
|
| |
|
| |
|