Commit graph

4,287 commits

Message SHA1
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.

Robert Greenwalt   commited 2010-03-03 15:14:29 -08:00
4283ded6b4
Switch the services library to using the new Slog
Joe Onorato   commited 2010-03-01 13:06:50 -08:00
c2386bb60a
Add build options for tethering.
Dun-required bool and list of allowed upstream ifaces.

Robert Greenwalt   commited 2010-02-26 17:48:09 -08:00
f1b66e1be1
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

Robert Greenwalt   commited 2010-02-25 12:04:29 -08:00
72451bf6b6
Add mobile data on/off switch.
bug:2251458

Robert Greenwalt   commited 2010-02-24 18:14:07 -08:00
1b21f6c058
Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855

Robert Greenwalt   commited 2010-02-16 16:56:09 -08:00
8e87f12bed
am 9b2534cf: am acfd2380: reconcile main tree with open-source eclair
Merge commit '9b2534cf56'

* commit '9b2534cf56':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.

The Android Open Source Project   authored and   Android Git Automerger   commited 2010-02-05 14:23:32 -08:00
b097973491
am acfd2380: reconcile main tree with open-source eclair
Merge commit 'acfd23809f' into eclair-plus-aosp

* commit 'acfd23809f':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
  Fix regression.
  Fix broken build.
  Bluetooth A2DP suspend/resume functionality
  EventLog when a database file is deleted due to corruption.
  Don't forget to clear "backup in progress" state when finishing a pass
  Fix issue #2148939: Sholes slow to wake up in landscape mode
  Fix Cdma re-start of default connection.
  Merge change 26821 into eclair
  Not all WebView's host have permission to read the history.
  Merge change 26908 into eclair

The Android Open Source Project   authored and   Android Git Automerger   commited 2010-02-05 08:48:38 -08:00
9b2534cf56
reconcile main tree with open-source eclair
The Android Open Source Project   commited 2010-02-05 08:09:38 -08:00
acfd23809f
First pass at USB Tethering.
bug:2281900

Robert Greenwalt   commited 2010-02-04 09:15:06 -08:00
0c4828c25d
reconcile android-2.1_r1 snapshot
The Android Open Source Project   commited 2010-01-29 14:09:16 -08:00
5f9ac31c88
am 4777fd12: am 3cc68d33: Fix the reporting of NO_CONNECTIVITY.
Merge commit '4777fd12d8'

* commit '4777fd12d8':
  Fix the reporting of NO_CONNECTIVITY.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-28 14:46:55 -08:00
fe630655d2
am 0070ee42: am 5381e4ef: Merge "Refine fix I53e91db7 to apply only to wifi network" into eclair
Merge commit '0070ee4220'

* commit '0070ee4220':
  Refine fix I53e91db7 to apply only to wifi network

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-28 13:44:45 -08:00
2174048ea2
resolved conflicts for merge of 902a8dd6 to master
Robert Greenwalt   commited 2010-01-26 10:09:52 -08:00
793a52486f
am 3cc68d33: Fix the reporting of NO_CONNECTIVITY.
Merge commit '3cc68d3379' into eclair-plus-aosp

* commit '3cc68d3379':
  Fix the reporting of NO_CONNECTIVITY.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-25 18:56:32 -08:00
4777fd12d8
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

Robert Greenwalt   commited 2010-01-25 17:54:29 -08:00
3cc68d3379
am 5381e4ef: Merge "Refine fix I53e91db7 to apply only to wifi network" into eclair
Merge commit '5381e4ef4ef1a05b25fa39ff942f4a95e0ae4750' into eclair-plus-aosp

* commit '5381e4ef4ef1a05b25fa39ff942f4a95e0ae4750':
  Refine fix I53e91db7 to apply only to wifi network

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-25 16:54:28 -08:00
0070ee4220
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

Robert Greenwalt   commited 2010-01-25 16:23:56 -08:00
24e2d2b0e5
am 2b17d4bf: (-s ours) am 1a337547: Merge "Add bugreport info about network feature use. DO NOT MERGE" into eclair
Merge commit '2b17d4bf67'

* commit '2b17d4bf67':
  Add bugreport info about network feature use. DO NOT MERGE

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-25 06:03:49 -08:00
58a72c1740
am b7df5e29: am 8c166512: Merge "Cleanup of process-specific DNS." into eclair
Merge commit 'b7df5e2992'

* commit 'b7df5e2992':
  Cleanup of process-specific DNS.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-22 17:05:05 -08:00
32b5f2ea98
am 9fdf82e0: Merge "Try to switch to another default net on connection failure." into eclair
Merge commit '9fdf82e080ea20086378e751ace245a4a1b022dc' into eclair-plus-aosp

* commit '9fdf82e080ea20086378e751ace245a4a1b022dc':
  Try to switch to another default net on connection failure.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-21 10:05:13 -08:00
902a8dd611
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

Robert Greenwalt   commited 2010-01-20 19:29:41 -08:00
f55ced9ef3
am 1a337547: Merge "Add bugreport info about network feature use. DO NOT MERGE" into eclair
Merge commit '1a337547d5377c57dbb10a24d4d73ad6bda829ea' into eclair-plus-aosp

* commit '1a337547d5377c57dbb10a24d4d73ad6bda829ea':
  Add bugreport info about network feature use. DO NOT MERGE

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-20 13:30:11 -08:00
2b17d4bf67
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

Robert Greenwalt   commited 2010-01-20 12:36:09 -08:00
bfb89af944
am 8c166512: Merge "Cleanup of process-specific DNS." into eclair
Merge commit '8c166512a7e6ffaf87e41cd3a85d55993648fe9b' into eclair-plus-aosp

* commit '8c166512a7e6ffaf87e41cd3a85d55993648fe9b':
  Cleanup of process-specific DNS.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-20 11:12:40 -08:00
b7df5e2992
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

Robert Greenwalt   commited 2010-01-19 18:01:36 -08:00
52855a1a7d
resolved conflicts for merge of b954337d to master
Robert Greenwalt   commited 2010-01-15 10:45:11 -08:00
0aca4b8c8c
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

Robert Greenwalt   commited 2010-01-14 18:09:17 -08:00
d48f8ee465
am 2adbc7f7: Backport l53e91db7 from master.
Merge commit '2adbc7f7a4' into eclair-plus-aosp

* commit '2adbc7f7a4':
  Backport l53e91db7 from master.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-01-13 17:09:40 -08:00
b954337d20
Fix Javadoc errors so the sdk can build.
I unhid some API in a previous install, triggering javadoc processing on
their buggy comments.

Fixing build.

Robert Greenwalt   commited 2010-01-13 11:47:50 -08:00
993d19f923
Unhide some CM constants to support unbundling.
The MOBILE_MMS, MOBILE_SUPL, MOBILE_DUN and MOBILE_HIPRI net types used
by location, messaging, and vending needed to be exposed.

Bug: 2363272
Change-ID: I6d2361d3642064db619b283b9217512563eb3439

Robert Greenwalt   commited 2010-01-13 10:01:44 -08:00
c0ee47ffc5
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

Robert Greenwalt   commited 2010-01-13 09:36:31 -08:00
2adbc7f7a4
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

Robert Greenwalt   commited 2009-12-21 18:24:07 -08:00
3eeb603d10
am e6f856c9: am 0ca68a06: Cleanup of process-specific DNS.
Merge commit 'e6f856c916'

* commit 'e6f856c916':
  Cleanup of process-specific DNS.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-18 14:37:28 -08:00
5ff2dcfa4e
am 0ca68a06: Cleanup of process-specific DNS.
Merge commit '0ca68a0633' into eclair-mr2-plus-aosp

* commit '0ca68a0633':
  Cleanup of process-specific DNS.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-18 14:33:55 -08:00
e6f856c916
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

Robert Greenwalt   commited 2009-12-18 11:57:52 -08:00
0ca68a0633
Merge commit 'goog/eclair-plus-aosp'
Android Git Automerger   commited 2009-12-15 00:44:42 -08:00
e76e85a7f7
am 112c980a: am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2
Merge commit '112c980a3d'

* commit '112c980a3d':
  Implement API to have new broadcasts replace existing broadcasts.

Dianne Hackborn   authored and   Android Git Automerger   commited 2009-12-14 16:15:03 -08:00
ac474dbabd
am 3a3fd2ba: Merge change Iaf1f0918 into eclair-mr2
Merge commit '3a3fd2ba1ffc6171725375396cc59711a34bb39e' into eclair-mr2-plus-aosp

* commit '3a3fd2ba1ffc6171725375396cc59711a34bb39e':
  Implement API to have new broadcasts replace existing broadcasts.

Dianne Hackborn   authored and   Android Git Automerger   commited 2009-12-14 16:10:13 -08:00
112c980a3d
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.

Dianne Hackborn   commited 2009-12-14 15:03:35 -08:00
a417ff8201
am cc466154: (-s ours) am f59a2ae6: am 9ae9763b: (-s ours) Merge change Ib097fbbf into eclair
Merge commit 'cc46615416'

* commit 'cc46615416':
  DO NOT MERGE  Reverting change I53e91db7.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-08 14:50:31 -08:00
15b31036b1
resolved conflicts for merge of 2a9c1a3e to master
Robert Greenwalt   commited 2009-12-08 13:30:56 -08:00
d1b12bd772
am f59a2ae6: am 9ae9763b: (-s ours) Merge change Ib097fbbf into eclair
Merge commit 'f59a2ae61e' into eclair-mr2-plus-aosp

* commit 'f59a2ae61e':
  DO NOT MERGE  Reverting change I53e91db7.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:36:25 -08:00
cc46615416
am 9ae9763b: (-s ours) Merge change Ib097fbbf into eclair
Merge commit '9ae9763b7e5dd872619b13c889b72b0df176f956' into eclair-mr2

* commit '9ae9763b7e5dd872619b13c889b72b0df176f956':
  DO NOT MERGE  Reverting change I53e91db7.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:31:50 -08:00
f59a2ae61e
am 9ae9763b: Merge change Ib097fbbf into eclair
Merge commit '9ae9763b7e5dd872619b13c889b72b0df176f956' into eclair-plus-aosp

* commit '9ae9763b7e5dd872619b13c889b72b0df176f956':
  DO NOT MERGE  Reverting change I53e91db7.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:31:29 -08:00
37ca75d9db
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

Robert Greenwalt   commited 2009-12-07 15:20:50 -08:00
6d7aa196cf
am d6b70351: am 90d1b745: Merge change I53e91db7 into eclair
Merge commit 'd6b70351f8' into eclair-mr2-plus-aosp

* commit 'd6b70351f8':
  Filter out minor Connectivity Notifications.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:13:51 -08:00
2a9c1a3e42
am 90d1b745: Merge change I53e91db7 into eclair
Merge commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3' into eclair-mr2

* commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3':
  Filter out minor Connectivity Notifications.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:09:46 -08:00
d6b70351f8
am 90d1b745: Merge change I53e91db7 into eclair
Merge commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3' into eclair-plus-aosp

* commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3':
  Filter out minor Connectivity Notifications.

Robert Greenwalt   authored and   Android Git Automerger   commited 2009-12-07 15:09:30 -08:00
282c1ed5d3
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

Robert Greenwalt   commited 2009-12-07 14:20:08 -08:00
12c4455532