Fix the adding of host routes.
...
We used to just add
Change-Id: I991e4cc976cc2932887dd3242fd50e013d521b0a
Robert Greenwalt
commited 2011-05-10 11:27:46 -07:00
bd49221570
Merge "Add auto-restore timeout for secondary networks." into honeycomb-LTE
Robert Greenwalt
authored and
Android (Google) Code Review
commited 2011-05-04 09:59:30 -07:00
aae781f32b
Add auto-restore timeout for secondary networks.
...
Settable per network so you can have not timeout for some and some for others.
If you set the old NETWORK_RESTORE_DELAY_PROP_NAME system property
(android.telephony.apn-restore) it will override this value.
Change-Id: Icca706fdc74245dce679209116660e5dc4b05d23
Robert Greenwalt
commited 2011-05-03 19:10:26 -07:00
20f819c64b
Merge "Add RouteInfo objects for tracking routes." into honeycomb-LTE
Robert Greenwalt
authored and
Android (Google) Code Review
commited 2011-05-02 13:26:52 -07:00
5afb46660c
Add RouteInfo objects for tracking routes.
...
Used to have list of gateways for default routes, but general static routes
should be supported.
Change-Id: I01730142c6139f2b833b9d48f5381d2d320b69f6
Robert Greenwalt
commited 2011-05-02 11:17:30 -07:00
5a901298ed
Add DhcpStateMachine for interation with dhcpcd
...
- Supports wakeup and renewal on dhcp
- Supports multiple controllers to use the state machine
simultaneously
- Optionally, a controller can request a notification prior
to DHCP request/renewal being sent
Change-Id: I3a9d7e6a02ff26be3a86ddca6964683ad3c28f93
Irfan Sheriff
commited 2011-04-30 12:58:51 -07:00
204cec7dd5
Make new networkAttribute parameter non-optional.
...
Dependencymet sets the default dep-met value for the network. Should
be set to true unless you know what you're doing.
Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
Robert Greenwalt
commited 2011-04-25 16:04:45 -07:00
2240524be9
Merge "Add external dependency API." into honeycomb-LTE
Robert Greenwalt
authored and
Android (Google) Code Review
commited 2011-04-07 13:02:28 -07:00
2879f7352b
Make LinkProperties comparable.
...
Add equals() and hashcode() to LinkProperties and related fields.
Bug:3501569
Change-Id: Ifa737a67c16867ac43cf76bf618a483e612a189e
John Wang
commited 2011-04-07 12:36:56 -07:00
3e567d5c3a
Add external dependency API.
...
An APN will not be connected to if some external dependency is not met.
bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
Robert Greenwalt
commited 2011-04-07 12:28:37 -07:00
34848c0192
Do not merge: Add some input checking to prevent problems
...
Adding nulls can cause unhappiness. It's suspected as a cause of 3495045.
bug:3495045
Change-Id: I925c965ef64032fc57849bf15fe9b11f4bc99351
Robert Greenwalt
authored and
Wink Saville
commited 2011-03-14 12:25:09 -07:00
dab2c6223e
Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit bbba216fe3
and is the first of the LTE commits in master being back ported
to the LTE branch.
Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
Wink Saville
commited 2011-03-14 12:25:04 -07:00
b7c92c720f
DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit f6b7669493 .
Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
Wink Saville
commited 2011-03-03 09:53:52 -08:00
bbba216fe3
LTE Changes for Telephony including Multiple PDN support and IPV6 support
...
Added init for CDMAPhone.java
Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
Wink Saville
commited 2011-02-24 18:23:36 -08:00
f6b7669493
Use InetAddress.parseNumericAddress.
...
Bug: 3300307
Change-Id: I4ebfe533056e67931db1117e934596ba7b5c8b75
Elliott Hughes
commited 2011-02-15 17:11:29 -08:00
3064b9e18e
Remove more use of netmask
...
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
Robert Greenwalt
commited 2011-02-14 14:32:33 -08:00
7fae12cc19
Update LinkProperties treatment of gateways
...
A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.
bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
Robert Greenwalt
commited 2011-02-11 11:06:23 -08:00
5c733977a4
am 996d60e3: resolved conflicts for merge of 36165a67 to honeycomb-plus-aosp
...
* commit '996d60e3a5 ':
Add some network types that OEM's are asking for.
Robert Greenwalt
authored and
Android Git Automerger
commited 2011-01-29 09:35:28 -08:00
f2b39b4773
resolved conflicts for merge of 36165a67 to honeycomb-plus-aosp
...
Change-Id: I7a3445f7df2a66c70f630fa63ceb4ae150d70963
Robert Greenwalt
commited 2011-01-29 09:32:04 -08:00
996d60e3a5
am 6b739dc7: Merge "Add some network types that OEM\'s are asking for." into gingerbread
...
* commit '6b739dc7292452227cdd8abd90658f4db8f0ce70':
Add some network types that OEM's are asking for.
Robert Greenwalt
authored and
Android Git Automerger
commited 2011-01-29 06:55:38 -08:00
36165a676a
Add some network types that OEM's are asking for.
...
Adding them hidden so that if OEM's are rolling their own at least they can
use the same values. Will mark them unhidden in a future sdk release.
bug:3395729
Change-Id: I90eabe036a96e1aa7c8cac49ca51efd9b1776a0c
Robert Greenwalt
commited 2011-01-28 14:48:37 -08:00
9d07781cb6
Fix the build
...
Check for null before trying to make InetAddresses.
Change-Id: I3228eea32eb455437dd76be2de56a913884f3f6e
Robert Greenwalt
commited 2011-01-27 10:49:27 -08:00
52ef39aff1
Get rid of manual int->ipv4 string generation
...
bug:2542681
Change-Id: I67919d7b5dc8d72eeb2dfb9e3906210b1951d4fb
Robert Greenwalt
commited 2011-01-26 13:57:24 -08:00
3ec1eeea3a
Make the interface with DHCP IPv6 capable.
...
It doesn't work (yet) for IPv6, but we can remove v4-centric notions from the framework.
bug:2542681
Change-Id: I21c058f5c88d07706c9265bf0ea902fc90357e56
Robert Greenwalt
commited 2011-01-26 09:10:01 -08:00
7baf8a8f08
Switch from NetworkUtils to netd for iface config.
...
Moving more stuff to netd and getting rid of unused NetworkUtils.
Change-Id: Ibb5a11dca58d07291fe33e6d33027553f6158ea7
Robert Greenwalt
commited 2011-01-21 10:44:12 -08:00
2e1763cb15
Deprecate a method that formats only IPv4 addresses.
...
Anyone calling this method is probably storing IP addresses
in an int, which doesn't make sense anymore.
Change-Id: Iba535b66f6cff47ce07b5ecc6427e3b2fd846998
Jesse Wilson
commited 2011-01-06 19:33:00 -08:00
3741bedee7
Add TYPE_BLUETOOTH network interface for reverse tethering.
...
Change-Id: I2aa61ce15f57aea9e8fd3a4cb56799c8bc51e998
Jaikumar Ganesh
commited 2010-12-22 15:24:18 -08:00
0db51a0631
Add a Dummy data connection for testing purposes.
...
Enable with:
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1"</item>
<item>"dummy,7,7,0"</item>
</string-array>
in your config.xml
Change-Id: I3965edaeb4873e95131f4083b8d23d682ce17841
Robert Greenwalt
commited 2010-12-07 07:48:33 -08:00
eb123acefc
Notify all VMs when proxy changes.
...
bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
Robert Greenwalt
commited 2010-11-19 10:24:30 -08:00
c3c5f865a3
Remove NetworkUtils.isIpAddress.
...
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5
Elliott Hughes
commited 2010-11-04 15:27:33 -07:00
29666e46f4
Use LinkProperties for IP and proxy configuration
...
Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
Irfan Sheriff
commited 2010-10-08 12:41:11 -07:00
e0b2c0fdc4
Add LinkAddress
...
LinkAddress stores IP address + prefix for a network link
Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
Irfan Sheriff
commited 2010-10-06 11:04:05 -07:00
fb7c96415b
use hostname when address null ProxyProperties parcelling
...
In ProxyProperties parcel, use toString so that hostname
is used when address is null
Change-Id: I4813dbdaf3c4a7bb404edf960d0f990c732ec0b8
Irfan Sheriff
commited 2010-09-27 12:16:11 -07:00
30bdeb33fe
Cleanup copyright dates add missing method.
...
Change-Id: I2d8fe0b705e7c90efabb8b3427a539a4a1056874
Wink Saville
commited 2010-09-21 09:16:38 -07:00
1746543a54
Enhance http proxy support
...
Make it read proxys the correct way from CS so it works for all network types.
Add utility class for apache http client support.
bug:2700664
Change-Id: If81917b19b5f0636247a6519a1ec78bd8dbf3596
Robert Greenwalt
commited 2010-09-17 16:14:10 -07:00
9f0ee4fcde
am 7d6070c3: am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
...
Merge commit '7d6070c3fd '
* commit '7d6070c3fd ':
Update Inet Connection Status display
Robert Greenwalt
authored and
Android Git Automerger
commited 2010-09-15 19:49:53 -07:00
978f509cea
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
Add per network static IP settings
...
Remove the existing global static IP settings and add support
for per network configuration
Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
Irfan Sheriff
commited 2010-09-14 16:15:22 -07:00
a416052905
Fix the build
...
add '*' so javadoc recognizes a comment block and finds the required @hide..
Change-Id: If665ba6549f9e017c063ea2800b7970917c33bdf
Robert Greenwalt
commited 2010-09-09 14:22:59 -07:00
b3102acc81
resolved conflicts for merge of ee6dfc50 to master
...
Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
Robert Greenwalt
commited 2010-09-09 13:15:32 -07:00
24118e8a28
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
Some cleanup of Proxy class.
...
Switch to using InetSocketAddress.
Change-Id: Ibdb97fcd2d06eecaa1e847b78267180156089f27
Robert Greenwalt
commited 2010-09-03 16:18:41 -07:00
98f45836b6
Fix NPE in toString
...
bug:2965739
Change-Id: Ic3f274cba8ac668d86a8f69f1b2b738d348b3977
Robert Greenwalt
commited 2010-09-01 10:09:40 -07:00
e422ad9819
Fix crash when proxy exclusion list is null.
...
Also cleaned up source a little bit and eliminated a warning.
Bug: 2964821
Change-Id: I35825bb345742ea1a1854e8998aa67e353deaa17
Andrew Stadler
commited 2010-08-31 14:28:58 -07:00
e55ada7892
Fix reboot loop due to NPE
...
Bug: 2962059
Change-Id: I73d5fa5ef0f29dc139c843b34f58f189c94dfe4b
Irfan Sheriff
commited 2010-08-30 20:40:19 -07:00
fd151ec69b
Rename NetworkProperties to LinkProperties
...
Also add copy constructors and use them when giving out data.
Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
Robert Greenwalt
commited 2010-08-30 15:54:37 -07:00
1f1bcfe6a2
Merge "resolved conflicts for merge of 4ea54f44 to master"
Robert Greenwalt
authored and
Android (Google) Code Review
commited 2010-08-27 17:27:02 -07:00
906eda5bac
Add NetworkProperties to DataConnection.
...
Since we have NetworkProperties we can remove the individual accessors
from Phone and its subclasses.
Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8
Wink Saville
commited 2010-08-27 11:15:18 -07:00
7d85790ad8