Commit graph

4,287 commits

Message SHA1
resolved conflicts for merge of dd3eff7d to master
Doug Zongker   commited 2009-12-07 14:12:02 -08:00
6e78d3fdc3
am 48476b0a: Merge change Iab5c49c7 into eclair-mr2
Merge commit '48476b0ade7594a64612db2b867792737193b2ec' into eclair-mr2-plus-aosp

* commit '48476b0ade7594a64612db2b867792737193b2ec':
  move event log tags used by system server into this package

Doug Zongker   authored and   Android Git Automerger   commited 2009-12-04 12:02:09 -08:00
dd3eff7df7
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.

Doug Zongker   commited 2009-12-04 10:31:43 -08:00
2fc962347d
Cleanup ConnectivityServices network configuration
Don't instantiate objects not needed for the device.

bug: 2226064

Robert Greenwalt   commited 2009-11-30 12:56:02 -08:00
ec05b3cd06
merge from open-source master
Jean-Baptiste Queru   commited 2009-11-15 14:55:20 -08:00
312b4e2421
merge from open-source master
Merge commit 'goog/stage-korg-master^' into HEAD

Jean-Baptiste Queru   commited 2009-11-15 14:03:15 -08:00
c680052751
eclair snapshot
Jean-Baptiste Queru   commited 2009-11-13 13:53:39 -08:00
2eb29a4ef6
Fix ConnectivityManager permissions check.
bug: 2160462

Robert Greenwalt   commited 2009-10-06 17:52:40 -07:00
28f430176a
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

Robert Greenwalt   commited 2009-10-06 14:12:53 -07:00
a25fd71875
Work on issue #2163789: Way too much logging
Dr.No from mcleron.

Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311

Dianne Hackborn   commited 2009-10-04 14:48:47 -07:00
2fdd851867
Reduce the ConnectivityManager logging.
Same great info, just fewer chars.

Robert Greenwalt   commited 2009-09-30 22:10:41 -07:00
423dbbc68a
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

Robert Greenwalt   commited 2009-09-29 13:18:17 -07:00
affc3a1c31
Report NO_CONNECTIVITY when failover net unavail
Fix ConnectivityService so that it reports connection status correctly.

bug: 2128595

Robert Greenwalt   commited 2009-09-17 16:34:39 -07:00
149d5ac149
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

Robert Greenwalt   commited 2009-09-10 18:01:01 -07:00
4666ed0e7e
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

Robert Greenwalt   commited 2009-08-25 14:00:10 -07:00
8e5b853511
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
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>

Mike Lockwood   commited 2009-07-10 17:24:07 -04:00
1791998080
am 6126eafd: reconcile donut snapshot
Merge commit '6126eafdca'

* commit '6126eafdca':
  donut snapshot

Jean-Baptiste Queru   authored and   The Android Open Source Project   commited 2009-05-20 11:49:58 -07:00
b562ab9015
reconcile donut snapshot
Merge branch 'donut-snapshot' into HEAD

Jean-Baptiste Queru   commited 2009-05-20 11:28:11 -07:00
6126eafdca
donut snapshot
Jean-Baptiste Queru   commited 2009-05-20 11:28:04 -07:00
a3fdaf3cc2
merged b1d251acd2
Dianne Hackborn   commited 2009-05-06 00:28:37 -07:00
b771a49a30
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
Merge donut into master
Jean-Baptiste Queru   commited 2009-04-22 18:33:17 -07:00
bc565c0a52
merge cupcake into donut
Jean-Baptiste Queru   commited 2009-04-22 17:56:58 -07:00
5c1ac9dc2b
Merge donut into master
Jean-Baptiste Queru   commited 2009-04-22 17:12:34 -07:00
66b7286230
AI 146222: Manual merge of 145980 from donutburger => master.
Automated import of CL 146222

Eric Shienbrood   authored and   The Android Open Source Project   commited 2009-04-14 15:40:20 -07:00
418d2d13d3
AI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional 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

Eric Shienbrood   authored and   The Android Open Source Project   commited 2009-04-13 18:12:47 -07:00
77467ef35d
AI 145881: Adding on to CL 145383, unhiding some additional 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.
  BUG=1779439

Automated import of CL 145881

Eric Shienbrood   authored and   The Android Open Source Project   commited 2009-04-13 10:41:56 -07:00
a445d544ce
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