Commit graph android_packages_modules_Co.../services/java/com/android/server/ConnectivityService.java
Message SHA1
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

Robert Greenwalt   commited 2009-08-24 16:19:42 -07:00
f3f045b284
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

Robert Greenwalt   commited 2009-08-19 21:58:12 -07:00
a52c75ae24
ConnectivityService: Do not send broadcasts until the system is ready.
Signed-off-by: Mike Lockwood <lockwood@android.com>

Mike Lockwood   commited 2009-08-14 15:09:11 -04:00
fde2b76814
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.

Robert Greenwalt   commited 2009-08-12 16:08:25 -07:00
2034b91973
Whitespace cleanup prior to real work.
Robert Greenwalt   commited 2009-07-16 17:31:20 -07:00
0659da31df
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.

Dianne Hackborn   commited 2009-05-05 15:40:53 -07:00
b1d251acd2
auto import from //depot/cupcake/@135843
The Android Open Source Project   commited 2009-03-03 19:31:44 -08:00
28527d2c5f
auto import from //depot/cupcake/@135843
The Android Open Source Project   commited 2009-03-03 18:28:45 -08:00
ae5a5399b4
auto import from //branches/cupcake/...@130745
The Android Open Source Project   commited 2009-02-10 15:44:00 -08:00
cffb11385e
Code drop from //branches/cupcake/...@124589
The Android Open Source Project   commited 2008-12-17 18:05:43 -08:00
0caef3f9f1
Initial Contribution
The Android Open Source Project   commited 2008-10-21 07:00:00 -07:00
54a942fddf