Commit graph android_packages_modules_Co.../services/java/com/android/server
Message SHA1
am 568845a7: Merge "Fix some alt-network issues." into gingerbread
* commit '568845a766cddc4e4c222b4d9de064f8a48da990':
  Fix some alt-network issues.

Robert Greenwalt   authored and   Android Git Automerger   commited 2011-03-30 09:30:15 -07:00
b2f5deca7d
Fix some alt-network issues.
Two issues.
1) remove default routes for non-default networks.
2) don't report mobile is the active default network just because
   it is active.

bug:4157610
Change-Id: I9e7c94718a5b1f08840b219b304ba3904259a65f

Robert Greenwalt   commited 2011-03-25 08:59:08 -07:00
a71471ba9a
am b5c51d5f: Merge "DO NOT MERGE Backport of I1f55df8a from master." into gingerbread
* commit 'b5c51d5fa88c56ebbfb56af89beb077aa4f1f2f8':
  DO NOT MERGE Backport of I1f55df8a from master.

Robert Greenwalt   authored and   Android Git Automerger   commited 2011-03-11 11:52:31 -08:00
102b5464b7
DO NOT MERGE Backport of I1f55df8a from master.
Fixes false reporting of NO_CONNECTION.
bug:4057115

Change-Id: Ie11e81180276ac3aa486607ec3a8eb1088b2ece6

Robert Greenwalt   commited 2011-03-10 17:04:21 -08:00
9e081592aa
am 141623d4: DO NOT MERGE WiMAX support
* commit '141623d480':
  DO NOT MERGE WiMAX support

TK MUN   authored and   Android Git Automerger   commited 2011-03-09 22:54:44 -08:00
8cca8f4c4f
DO NOT MERGE WiMAX support
- In Connectivity service, start WiMAX service
- 4G icon display in StatusBarPolicy
- Add DHCP renew
- Add radio for WiMAX

Change-Id: Iffff012b270d80e84ec8fbd4486921a8adb847dd
Signed-off-by: TK MUN <tk.mun@samsung.com>

TK MUN   authored and   Simon Wilson   commited 2011-03-09 22:37:08 -08:00
141623d480
am 3259d885: Merge "DO NOT MERGE - backport of l92a02b31 from master" into gingerbread
* commit '3259d8853760a72b811757e1711119d041962a1c':
  DO NOT MERGE - backport of l92a02b31 from master

Robert Greenwalt   authored and   Android Git Automerger   commited 2011-02-16 10:51:04 -08:00
730126bf5a
DO NOT MERGE - backport of l92a02b31 from master
Fix handling of multiple possible default networks.

bug:3328196
Change-Id: I994f1621ff82de454192945a9cae961e1710d537

Robert Greenwalt   commited 2011-02-11 17:32:58 -08:00
084e4774f2
am 5d0fafe8: Merge "Be sure and report NO_CONNECTIVITY when needed." into gingerbread
* commit '5d0fafe80752ad4e40fe0ec2bc06c43e669a0612':
  Be sure and report NO_CONNECTIVITY when needed.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-12-21 16:06:19 -08:00
08df90cf80
Be sure and report NO_CONNECTIVITY when needed.
Reports that we sometimes didn't report NO_CONNECTIVITY led to this suggested change.
Could not repro the problem, but the change looks ok anyway.  Better safe than sorry.

bug:3276408
Change-Id: I0cdb48a05a5c9dfcf3a0b468a6eae43d461023b1

Robert Greenwalt   commited 2010-12-21 11:43:28 -08:00
ea8bca0251
am 96619f9f: Merge "Add some error-case logging." into gingerbread
Merge commit '96619f9f0653a5c7f407c52ab565b5ddf23ad696' into gingerbread-plus-aosp

* commit '96619f9f0653a5c7f407c52ab565b5ddf23ad696':
  Add some error-case logging.

Wink Saville   authored and   Android Git Automerger   commited 2010-10-10 12:47:18 -07:00
7f8f1e13d3
Add some error-case logging.
Turning off all debug logging is a good thing, but it leaves us blind when errors come in.
bug:3075537

Change-Id: I8a4e7f2ce094574ec45cec268bdbc46449540c9f

Robert Greenwalt   authored and   Wink Saville   commited 2010-10-10 11:26:41 -07:00
e981bc5138
am 0a69f597: Merge "Rub in a little \'ol log-b-gone." into gingerbread
Merge commit '0a69f597604254bc37721b135ab612eaacdd0cbd' into gingerbread-plus-aosp

* commit '0a69f597604254bc37721b135ab612eaacdd0cbd':
  Rub in a little 'ol log-b-gone.

Dianne Hackborn   authored and   Android Git Automerger   commited 2010-09-30 19:12:11 -07:00
93aca85e11
Rub in a little 'ol log-b-gone.
Mmmmmm...  great fresh scent!

Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d

Dianne Hackborn   commited 2010-09-30 18:27:22 -07:00
8919f5a331
am 8f97fe55: Merge "Move long Connectivity tasks to handler thread." into gingerbread
Merge commit '8f97fe551e7bd95abf395eed303b975eaa8f0158' into gingerbread-plus-aosp

* commit '8f97fe551e7bd95abf395eed303b975eaa8f0158':
  Move long Connectivity tasks to handler thread.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-24 11:09:29 -07:00
b40ecd6c73
Move long Connectivity tasks to handler thread.
Reduce ANR potential.
bug:2942829

Change-Id: I21610b462d5ab91821015cd16eecd86d2c0580d1

Robert Greenwalt   commited 2010-09-23 16:43:21 -07:00
6a2db8adc1
am 6548f395: Merge "Inet status bug fix" into gingerbread
Merge commit '6548f395a974d2a8dcefe29b3a498d1ca87d8aef' into gingerbread-plus-aosp

* commit '6548f395a974d2a8dcefe29b3a498d1ca87d8aef':
  Inet status bug fix

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-21 08:22:59 -07:00
325eed464f
Inet status bug fix
Don't wipe out the connected status every time we get a cellular status change.
Don't filter out disconnect event for wifi - we need them.

bug:3009923
Change-Id: I68cadac5f44d6eb4e0fe711fda7c5d218abb45bd

Robert Greenwalt   commited 2010-09-21 05:38:36 -07:00
b2a9e4957a
am 313af5a3: Merge "Add Inet Condition log to bugreports" into gingerbread
Merge commit '313af5a3b5ba51eb75dea35eb568c841aa4beb6a' into gingerbread-plus-aosp

* commit '313af5a3b5ba51eb75dea35eb568c841aa4beb6a':
  Add Inet Condition log to bugreports

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-20 21:31:29 -07:00
2097907748
Add Inet Condition log to bugreports
Reports who reports what condition on which network at what time.  Where is implied.

Change-Id: I89fbc7323dec438041859fcc934169fa325f0133

Robert Greenwalt   commited 2010-09-20 16:00:44 -07:00
0e80be1a8d
am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
Merge commit '134b28a7f049719cb74fd5baadbbcc5915bc861b' into gingerbread-plus-aosp

* commit '134b28a7f049719cb74fd5baadbbcc5915bc861b':
  Update Inet Connection Status display

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-15 18:02:59 -07:00
7d6070c3fd
Update Inet Connection Status display
Cellular signal strength should also be green - these assets aren't, but
the art guys are working on that.

Also using a new intent so we don't overload the CONNECTIVITY_ACTION and
confuse the apps.
bug:2994024

Change-Id: I6fe8f65dd6e9869d9724064c4fae45340491a4d8

Robert Greenwalt   commited 2010-09-15 17:54:17 -07:00
d3401f9b40
am 0727a865: Merge "Add network condition reporting." into gingerbread
Merge commit '0727a865d83b944c2fecc0bf1228a36976fe5300' into gingerbread-plus-aosp

* commit '0727a865d83b944c2fecc0bf1228a36976fe5300':
  Add network condition reporting.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-09 09:49:15 -07:00
ee6dfc507a
Add network condition reporting.
Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons.  Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654

Robert Greenwalt   commited 2010-09-09 09:33:02 -07:00
986c741ac1
resolved conflicts for merge of b998f311 to gingerbread-plus-aosp
Change-Id: I7ceb0b624e78d85542d1c36bfabeb5dc31961505

Robert Greenwalt   commited 2010-08-25 17:48:47 -07:00
7ac5d3748d
Send all Connectivity broadcasts.
We were using a flag so new broadcasts replaced old.  If people are expecting
to see all the broadcasts they sometimes would fail.

bug:2892383
Change-Id: I63df17fe8f8c68f59e1ad6297fe93e169b4463b4

Robert Greenwalt   commited 2010-08-24 11:47:10 -07:00
ab5c8b15df
Add an API to request route to an IPv6 host.
Add API to create a route to an IPv6 host through a particular
interface.

Change-Id: I7649051e94832576e02b5f5ad17abe093d21d48e

Banavathu, Srinivas Naik   authored and   Banavathu Srinivas Naik   commited 2010-08-19 12:50:35 -07:00
7601f575aa
DO NOT MERGE Always set/remove default routes.
Must clean up default route if a default 3g connection is replaced
by a non-default (ie, mms) connection on teh same interface.

Also stop mucking with all connections dns and routes - do it only
for the connection that has changed.

bug:2865974
Change-Id: Ifdf49080fa0413a4d826813706c809975a562dfa

Robert Greenwalt   commited 2010-08-13 15:53:13 -07:00
0ef6875b30
Run WifiWatchdogServiceThread only on wifi enable
Bug: 2508997
Change-Id: Ib79ee25fcc8e39e9a1d6c5b9ef9681bc00b6d006

Irfan Sheriff   commited 2010-03-12 13:16:47 -08:00
324ec572ab
Stop creating threads for tethering.
Use the passed in looper and save threads.

Change-Id: I6db04ef64e339a5fb2b71e9fb1da32e2d600447c

Robert Greenwalt   commited 2010-03-11 15:39:30 -08:00
c0b6c60d14
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

Robert Greenwalt   commited 2010-03-10 16:19:18 -08:00
46ceefadaa
Fix NO_CONNECTIVITY flag in some cases.
Airplane mode seemed to hit this bug.

bug:2498268
Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544

Robert Greenwalt   commited 2010-03-09 14:55:08 -08:00
129843273d
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
First pass at USB Tethering.
bug:2281900

Robert Greenwalt   commited 2010-02-04 09:15:06 -08:00
0c4828c25d
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
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
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
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
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
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
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