7b00978dc739ed2213ed8e511c69cfb412798109 |
|
12-Mar-2010 |
Irfan Sheriff <isheriff@google.com> |
Run WifiWatchdogServiceThread only on wifi enable Bug: 2508997 Change-Id: Ib79ee25fcc8e39e9a1d6c5b9ef9681bc00b6d006
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
dfadaeac088cabce854d8f476405cd412f82593a |
|
12-Mar-2010 |
Robert Greenwalt <robdroid@android.com> |
Stop creating threads for tethering. Use the passed in looper and save threads. Change-Id: I6db04ef64e339a5fb2b71e9fb1da32e2d600447c
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
78a640af951377d9749d0dbfd027687cbb92dc72 |
|
11-Mar-2010 |
Robert Greenwalt <robdroid@android.com> |
Make HiPri work when already connected. A recent change made the HiPri MobileDataStateTracker listen for notifications about the default connection (which HiPri shadows). Local code was sending itself a notification using the old HiPri badging instead of the new Default badging and those notifications where therefore ignored. Manifested itself on HiPri connections when we were already on 3g. See change 42422 on master platform/frameworks/base for the change this is completing. Change-Id: I375026048724d0035297287c61c6c2f58d4e0294
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
f0fa39ed7496ae43369fac306d765d7d86fa23d7 |
|
09-Mar-2010 |
Robert Greenwalt <robdroid@android.com> |
Fix NO_CONNECTIVITY flag in some cases. Airplane mode seemed to hit this bug. bug:2498268 Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
5a73506cdd466f2b96686ced3ff0f7ca224d1143 |
|
03-Mar-2010 |
Robert Greenwalt <robdroid@android.com> |
Add error reporting for Tethering. Also make the usb interface configuration more robust so retries are possible. Makes all Tethering errors recoverable - no harm letting them try again anyway. Worst case is they need to reboot.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
8a9b22056b13477f59df934928c00c58b5871c95 |
|
27-Feb-2010 |
Joe Onorato <joeo@android.com> |
Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
c9d5fb7c95f158d9a31d534895373afcfad77806 |
|
25-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Add build options for tethering. Dun-required bool and list of allowed upstream ifaces.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
35429599728793a6830a8ce32a62e98cabefc90e |
|
25-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Fix no-mobile-data after wifi. Missed a case - if you disabled mobile data and then cycled wifi, 3g would be turned back on. bug:2251458
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
c03fa5014912684367174ff3cce664deb29f5e0e |
|
24-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Add mobile data on/off switch. bug:2251458
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
2a091d7aa0c174986387e5d56bf97a87fe075bdb |
|
12-Feb-2010 |
Robert Greenwalt <robdroid@android.com> |
Update Tethering. Adds telephony support, async model, multiple tethered iface suport, better notifications, device config. bug:2413855
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
d0e18ffb82b59d38aeaf0e552f48e734202719ab |
|
26-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
First pass at USB Tethering. bug:2281900
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
fbf56dc719a2ee13129fd7049565054370c6ed1d |
|
28-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
am 3e229076: am cc4b4016: Fix the reporting of NO_CONNECTIVITY. Merge commit '3e229076203cd8cfee0adac44cd3c930dfa0e59c' * commit '3e229076203cd8cfee0adac44cd3c930dfa0e59c': Fix the reporting of NO_CONNECTIVITY.
|
64fe5646c5b2eb5ff58cea4ca4d384b4a5f733dc |
|
28-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
am 6d626d41: am 5381e4ef: Merge "Refine fix I53e91db7 to apply only to wifi network" into eclair Merge commit '6d626d41e9db62a0eadb61ccb2aa4081a8b9f6d0' * commit '6d626d41e9db62a0eadb61ccb2aa4081a8b9f6d0': Refine fix I53e91db7 to apply only to wifi network
|
09ac3c3cbc6278af127cffedb9d534449e63b683 |
|
26-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
resolved conflicts for merge of 1f2f23bd to master
|
cc4b4016e4b86db012f94bb889e5ca61ff362171 |
|
26-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
Fix the reporting of NO_CONNECTIVITY. A refactoring of handleDisconnect instroduced a bug - we were reporting NO_CONNECTIVITY after any non-primary network (supl, mms, hipri) was lost. bug:2395006 Change-Id: Ifa9e008872ec646981a35f2c316120cb9685a6a4
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
6e6dec284369238f16ac23497292de5a1a39aca8 |
|
26-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
Refine fix I53e91db7 to apply only to wifi network The original fix eliminated duplicate wifi connectivity changes stemming from location provder scan's for APs. These would generate two DISCONNECTED broadcasts every two minutes and many apps mis-interpreted them. The fix was to ignore notifications where the major state was the same as the previous one for each network. Unfortunately the state of per-apn notifications on cellular is hacky and so the wifi fix was breaking mms (mms when you're on cellular with a common default+mms apn does not generate a disconnect notification (apn still connected) so subsequent connect notifications get dropped as duplicates). This change refines the previous change so that it only applies to wifi networks. bug:2392061 Change-Id: I05d8a46a4b55f8d28df8af12e05284e5e68bfc02 drno: ryanpc
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
da03c4e4b3d47e6917fdcddecf68f2f52564e3a0 |
|
21-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
Try to switch to another default net on connection failure. This shouldn't be required, but there seems to be something odd going on in wifi and it doesn't hurt to try other available options. Makes a connection failure case work like a disconnected case. bug: 2378462
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
73912ce083a35e0b4cbccd9a364791c3725d9e34 |
|
22-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
Add bugreport info about network feature use. DO NOT MERGE Backported from master change Ib9285359. We've had a couple bug reports showing the effects of a left-live feature request. We need a bit more bugreport-time logging. bug: 2323226 bug: 2377507 change-id: I296b2887101c260aea678bf6db91144535cbad7e
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
15abc90147333fccf7c9576cbf90d40d73e5a20f |
|
17-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
Cleanup of process-specific DNS. Backport of MR2 change 421c72b6. Removes entries sooner. A bug. Doesn't add one for phone process at all. This was intended to be removed long ago. bug: 2329900 bug: 2377507
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
40bbaaac5f0b93de8d8b8164ac8b59583bc0113a |
|
15-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
resolved conflicts for merge of 90528645 to master
|
de8383ca312c03fa8e935ac1549ae31ce668652c |
|
15-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
Set net.hostname sys property to our unique ID. Give us a default name networking wise so that wifi (at least) can use it. Bug:2327089
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
1193ae4e824c66b75083c444ce0f250594e138ee |
|
13-Jan-2010 |
Robert Greenwalt <robdroid@android.com> |
Backport l53e91db7 from master. Prevents sending out ConnectivityManager broadcasts when the connection is repeating the same major state. This means continued wifi scanning does not generate CM broadcasts (though wifi state broadcasts continue). bug: 2265222 Dr No approval: jsh
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
b928535902b204ac3ec25f161352786842248767 |
|
22-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
Add bugreport info about network feature use. We've had a couple bug reports showing the effects of a left-live feature request. We need a bit more bugreport-time logging. bug: 2323226
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
41c561781323c697e42eef5c08310dbd8c1bf63a |
|
18-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
am 24317443: am 421c72b6: Cleanup of process-specific DNS. Merge commit '24317443fde973c762afbea1a3f6f2c830dfe3dd' * commit '24317443fde973c762afbea1a3f6f2c830dfe3dd': Cleanup of process-specific DNS.
|
421c72b6773582dd1473ace44c42d4e0ee1287e3 |
|
17-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
Cleanup of process-specific DNS. Removes entries sooner. A bug. Doesn't add one for phone process at all. This was intended to be removed long ago. bug: 2329900
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
74a76d5e071ba11eb92c92933fa5de338010374d |
|
15-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
am 83652ebf: am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2 Merge commit '83652ebfe1963bcecdcf24383165904223baca6e' * commit '83652ebfe1963bcecdcf24383165904223baca6e': Implement API to have new broadcasts replace existing broadcasts.
|
1c633fc89bae9bf0af6fe643ac7ad2e744f27bed |
|
09-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement API to have new broadcasts replace existing broadcasts. Use this in various places where it should serve no purpose to deliver both broadcasts. This is intended to reduce somewhat the flurry of broadcasts that we churn through during boot.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
a1b04c01ca130201060cd78b47efcc2c1aa6f5c6 |
|
08-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
resolved conflicts for merge of 47a2573e to master
|
b097fbbff339adc2d38fe670c689f3dad69c2549 |
|
08-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
DO NOT MERGE Reverting change I53e91db7. Accidentally submitted into eclair instead of eclair-mr2. I apparently rebased my mr2 working dir to eclair by mistake. Do not merge this so the desired change will survive on mr2 as intended. bug: 2265222
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
096871e7e1a1f8cdfbaa1acc4bc485b69ddf22a4 |
|
08-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
am 90d1b745: Merge change I53e91db7 into eclair Merge commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3' into eclair-mr2 * commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3': Filter out minor Connectivity Notifications.
|
511288a04639859a6d9bbfedfa2f2b4d7d2c3e88 |
|
07-Dec-2009 |
Robert Greenwalt <robdroid@android.com> |
Filter out minor Connectivity Notifications. Don't send a connectivity change notification if the change is in detailed state only. IE, Disconnect/Idle -> Disconnect/Scanning should not trigger a connection change notification. bug: 2265222
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
18803d37e2ce47407b7ac52513e3254207e8b287 |
|
07-Dec-2009 |
Doug Zongker <dougz@android.com> |
resolved conflicts for merge of 5a2fdbba to master
|
ab5c49c7e7f5f61040650109a76f38a443fb852d |
|
04-Dec-2009 |
Doug Zongker <dougz@android.com> |
move event log tags used by system server into this package We can now locate event log tag definitions in individual packages (and java constants for the tag numbers get auto-generated), so move all the tags used by the system server into the package.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
5154ae7665743b114c71f90dcc577dc50c63b398 |
|
30-Oct-2009 |
Robert Greenwalt <robdroid@android.com> |
Cleanup ConnectivityServices network configuration Don't instantiate objects not needed for the device. bug: 2226064
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
b8f16340b531809aa08cb73c55ddadd5f94de080 |
|
07-Oct-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix ConnectivityManager permissions check. bug: 2160462
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
d8df149cfb82cf02cef7e04c05f229d7caf7fe90 |
|
06-Oct-2009 |
Robert Greenwalt <robdroid@android.com> |
Turn some logging back on in ConnectionManager Trimmed a bunch of logging out, but turned it on so we get the critical stuff. bug: 2168291
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
bd0a81ff1c0e92e80e05e2f12bb1805c7d081e94 |
|
04-Oct-2009 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #2163789: Way too much logging Dr.No from mcleron. Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
1ef95f9eed610897b46a00f51a7cd7944ef26e62 |
|
01-Oct-2009 |
Robert Greenwalt <robdroid@android.com> |
Reduce the ConnectivityManager logging. Same great info, just fewer chars.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
9c75d4af63f92806943a9fa9d942644bd601310e |
|
28-Sep-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix network-feature timeout code. Track requests independently with seperate timers. Clean up on expiration by just stopping that particular request, not immediately restoring the default. bug: 2127590
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
c7d2530d52e9c188392b118caea64673dbbad45c |
|
17-Sep-2009 |
Robert Greenwalt <robdroid@android.com> |
Report NO_CONNECTIVITY when failover net unavail Fix ConnectivityService so that it reports connection status correctly. bug: 2128595
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
8206ff30c23c76851bebc8d72a65e65b0f7f9a29 |
|
11-Sep-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix for multi-apn MMS access. 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
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
b06324a5c1af11b0fef76bdafa569a60498a93d2 |
|
25-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix the removal of dns entries. When switching default networks we should erase any excess dns server entries. The old code used the wrong index and didn't erase all of them properly. Found in conjunction with bug: 2077628
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
ec9fe4672a46eb928ab710d8e3caf2ce046100d4 |
|
21-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix a race condition for data change notification We could sometimes not be told about network state changes breaking subsequent mms access. Turning on more logging too. bug: 2069106
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
a64bf834ffa677405af1c87c9f53eed0cd3853ce |
|
20-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix various issues found when testing Mms. 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
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
0f79b54c3a0b4141b1da38fa301571a89e165632 |
|
14-Aug-2009 |
Mike Lockwood <lockwood@android.com> |
ConnectivityService: Do not send broadcasts until the system is ready. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
42acef37339afe6ac608c842f1637870ee9c4f6c |
|
13-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Add net type to mobile for mobile-required traffic 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.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
86e9e55c54a3e07f6c9476d107db99131cefc5d7 |
|
17-Jul-2009 |
Robert Greenwalt <robdroid@android.com> |
Whitespace cleanup prior to real work.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
231cc608d06ffc31c24bf8aa8c8275bdd2636581 |
|
28-Apr-2009 |
Dianne Hackborn <hackbod@google.com> |
Rewrite SyncStorageEngine to use flat files and in-memory data structures. The previous implementation used a database for storing all of its state, which could cause a significant amount of IO activity as its tables were updated through the stages of a sync. This new implementation replaces that in-memory data structures, with hand-written code for writing them to persistent storage. There are now 4 files associated with this class, holding various pieces of its state that should be consistent. These are everything from a main XML file of account information that must always be retained, to a binary file of per-day statistics that can be thrown away at any time. Writes of these files as scheduled at various times based on their importance of the frequency at which they change. Because the database no longer exists, there needs to be a new explicit interface for interacting with the sync manager database. This is provided by new APIs on IContentService, with a hidden method on ContentResolver to retrieve the IContentService so that various system entities can use it. Other changes in other projects are required to update to the new API. The goal here is to have as little an impact on the code and functionality outside of SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/services/java/com/android/server/ConnectivityService.java
|