History log of /frameworks/base/core/java/android/net/LinkProperties.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ad4e22534b3607ecca849b06efa4547dd58be63 13-Aug-2015 Erik Kline <ek@google.com> Also treat loss of IPv6 as a loss of provisioning.

Bug: 23226635
Change-Id: Icebb7d83ed5b3b796901b9f023909a02eb461941
/frameworks/base/core/java/android/net/LinkProperties.java
89b6392046865e5ceaead5238b6f366cd5e9d3c5 30-Jul-2015 Lorenzo Colitti <lorenzo@google.com> Add a null check to hasIPv4AddressOnInterface.

Change-Id: Ie38505ec0a93f4060348d92db341c536b7d60ed0
/frameworks/base/core/java/android/net/LinkProperties.java
87cfc70b732422d6927ad9fe97f1ad7ab65fd508 27-Jul-2015 Lorenzo Colitti <lorenzo@google.com> Always check off-link connectivity in NetworkDiagnostics.

Currently, NetworkDiagnostics only checks off-link connectivity if
one of the DNS servers is off-link. Make it check off-link
connectivity in all cases by sending probes to Google Public DNS
if off-link DNS servers are not specified.

Bug: 22569331
Bug: 22641669
Bug: 22748900
Change-Id: I6cb0dd8491bc0c1a488631deca56722b9c1d2b3f
/frameworks/base/core/java/android/net/LinkProperties.java
b36a3131d1b05efa176f79d318197499b2c45380 26-Jun-2015 Erik Kline <ek@google.com> Fix use of reachable DNS server logic

Move reachable DNS server computation out of ConnectivityService
and split it into LinkProperties#isReachable() and a companion
change in WifiStateMachine's makeLinkProperties().

Restore previous ConnectivityService#updateDnses() behaviour, as
the pruning is done in WifiStateMachine now.

Bug: 19470192
Bug: 20733156
Bug: 22098233
Change-Id: I810ef74d504e5dc1ca2017d435cdadd6b82171e6
/frameworks/base/core/java/android/net/LinkProperties.java
cd7ed16f00d243568e3b73b7fc7f0f94cfebe8ce 21-May-2015 Erik Kline <ek@google.com> LinkProperties function to compare provisioning and remove DNS servers

Adds:
- enum ProvisioningChange
- LinkProperties#compareProvisioning()
return a ProvisioningChange value describing the delta in
provisioning between two LinkProperties objects
- LinkProperties#removeDnsServer()
- make "@hide public" isIPv4Provisioned() and isIPv6Provisioned()

Bug: 18581716
Change-Id: I3df90b2b89617f693346f2dbe72e77c88ce91ffd
/frameworks/base/core/java/android/net/LinkProperties.java
dd91fb44743f15ee308a4cfedeca6338b6912fdc 28-Oct-2014 Erik Kline <ek@google.com> Merge "(re)define the definition of "provisioned"" into lmp-mr1-dev
f3cab63ef2248aebf2c931cd1e84d5739791fa50 20-Oct-2014 Lorenzo Colitti <lorenzo@google.com> Change removeStackedLink to take an interface name.

This simplifies callers.

Also remove all "implementations" of addStackedLink and
removeStackedLink except the one in LinkProperties, because they
are unused.

Bug: 12111730
Change-Id: Ie294b855facba4b1436299dcb3211b72d9ba448e
/frameworks/base/core/java/android/net/LinkProperties.java
d3b9fd33c69fa4fb844238c90b1fd343052946d9 24-Oct-2014 Erik Kline <ek@google.com> (re)define the definition of "provisioned"

Specifically:

[1] provide a hasIPv4(), and
[2] a hasIPv6()

each of which requires an IP address, a default route, and
address-family-specific DNS servers to evaluate to true.

Additionally:

[3] redefine isProvisioned() to return the logical OR
of [1] and [2] above.

Any external caller can still use any of the has*() methods to
construct its own, different definition of "provisioned".

Bug: 17769720
Change-Id: Ia692fb8508484ff403d3920c94d0e1db4563f807
/frameworks/base/core/java/android/net/LinkProperties.java
4b0f8e6fb707e19799011c1f4a5e4f54603e34b1 18-Sep-2014 Lorenzo Colitti <lorenzo@google.com> Support non-unicast route types: unreachable and throw.

Bug: 17462989
Change-Id: I8635472ca3e96ec2866af2de48e6260ab2da13fb
/frameworks/base/core/java/android/net/LinkProperties.java
3f05bf4d7838cb719e78f9d93b22d7ce777392c5 06-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Add tcp buffer size conduit to NetworkAgent.

bug: 16549611
Change-Id: I7d97dedea2c7c1aed2eccb185645889424508591
/frameworks/base/core/java/android/net/LinkProperties.java
bd431ee5d302f46ac3cc846797fa7a5551f7b42e 16-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Merge "Configure MTU based on network MTU parameter" into lmp-dev
15afd8115869bf22534a1f26fe6e389c9e5ef413 06-Aug-2014 w19976 <w19976@motorola.com> Configure MTU based on network MTU parameter

Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
/frameworks/base/core/java/android/net/LinkProperties.java
9da2f1e007268a42248a1778aa9b560e3ce3b704 14-Aug-2014 Jeff Sharkey <jsharkey@android.com> Some networks may have null ifaces, I guess?

Seems like a bug further upstream, but guard ourselves against it
for now.

Bug: 17033841
Change-Id: Id0e5895c3389b63d4e34b1fb064efef8b72cd609
/frameworks/base/core/java/android/net/LinkProperties.java
eb2c2c790c4b86c9c09245e0b87a38972713434a 12-Aug-2014 Jeff Sharkey <jsharkey@android.com> Hack and ship: NetworkStats edition.

Some devices use clatd for catching raw IPv4 traffic when running on
a pure-IPv6 carrier network. In those situations, the per-UID
stats are accounted against the clat iface, so framework users need
to combine both the "base" and "stacked" iface usage together.

This also means that policy rules (like restricting background data
or battery saver) need to apply to the stacked ifaces.

Finally, we need to massage stats data slightly:

-- Currently xt_qtaguid double-counts the clatd traffic *leaving*
the device; both against the original UID on the clat iface, and
against UID 0 on the final egress interface.

-- All clatd traffic *arriving* at the device is missing the extra
IPv6 packet header overhead when accounted against the final UID.

Bug: 12249687, 15459248, 16296564
Change-Id: I0ee59d96831f52782de7a980e4cce9b061902fff
/frameworks/base/core/java/android/net/LinkProperties.java
309a75dbc3a96471f66967379b0e6b043244ae42 23-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Modify DNS server update methods.

1. Make addDnsServer not add duplicate servers and return a
boolean value incating whether it changed anything. This is
consistent with what we do for LinkAddresses and routes.
2. Add a setDnsServers method that sets all the DNS servers to
the specified collection. This is consistent with what we do
for LinkAddress.

Bug: 9180552
Change-Id: I5baed09253261b66ea42ae2ea82398118e3ab0ac
/frameworks/base/core/java/android/net/LinkProperties.java
76ea6c68d3222441970ef98079ba30710ac8c595 23-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Teach LinkProperties whether it's provisioned or not.

In IPv4, a link is provisioned when DHCP succeeds. In IPv6, a
there is no such signal, because addresses and DNS servers can
be notified by the kernel at different times.

Add an isProvisioned method that returns true if we believe that
enough information has configured to use a network. For IPv6,
this requires an IP address, default route, and DNS server. For
IPv4, this requires only an IPv4 address, because we support
static configuration that doesn't have a default route or DNS
server.

To do this we use the existing hasIPv4Address method, rename the
all-but unused hasIPv6Address method to hasGlobalIPv6Address
(which is what we want anyway) and add new hasIPv[46]DefaultRoute
and hasIPv[46]DnsServer methods.

Bug: 9180552
Change-Id: Ib2f5ff8af920f7b6f1edf0e2afaaa0edce9bc72d
/frameworks/base/core/java/android/net/LinkProperties.java
c17a1b9ee4e2e72d640b97ef174d9a78a8ef9a8a 12-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Modify LinkProperties add/remove route functions.

This will allow us to dynamically track routes being added and
removed, similar to what we do for IP addresses.

1. Support removing routes. Since this is a new function, we
don't need to jump through hoops to support callers passing
in routes that have no interface, we just fail to match them.
2. Make the addRoute method return a boolean value indicating
whether anything changed. This is consistent with what we do
for addresses and is used to decide whether to update the
rest of the system when an update comes in.

Bug: 9180552
Change-Id: I50648b5f81ec55c88501a7640e119cda2bb540f2
/frameworks/base/core/java/android/net/LinkProperties.java
e595b97ff470a5e92151350e4d7b4173032fde23 13-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Fix build

Re-finalizing some classes. The api/current.txt was updated separately but the change
that made them final got skipped. Also had same issue for some @hide's that were removed.

Change-Id: I423bb7b3029ee03425a3c446bda51ab8191887c1
/frameworks/base/core/java/android/net/LinkProperties.java
cc91c7b804a079f7b20404827277c61dd403805f 04-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Add a new IpPrefix class and use it in RouteInfo.

This change uses IpPrefix only in the public API and continues
to use LinkAddress for everything else. It does not change the
callers to use the new APIs, with the exception of changing
all current uses of getDestination to getDestinationLinkAddress
to make room for the new getDestination method that returns an
IpPrefix.

Based on Sreeram's earlier change:
https://googleplex-android-review.git.corp.google.com/#/c/477874/
but a bit simplified and with a bit more documentation.

Bug: 15142362
Bug: 13885501
Change-Id: Ib4cd96b22cbff4ea31bb26a7853989f50da8de4e
/frameworks/base/core/java/android/net/LinkProperties.java
df2b878ff4e7b4a258588d3a93574c399db78a07 06-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Fix public API of LinkProperties.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
/frameworks/base/core/java/android/net/LinkProperties.java
4f05d5529625fd2f0ad13ff9974c338d2f847934 19-May-2014 Robert Greenwalt <rgreenwalt@google.com> Add docs for Linkproperties and unhide it.

Preperation for ConnectivityManager API reveal.

Change-Id: Id2addf424213e796c6077def0b7f30cac9a0f75f
/frameworks/base/core/java/android/net/LinkProperties.java
b07d81ac5fe9b21f08f29fcc49d0392cd22277da 15-May-2014 Robert Greenwalt <rgreenwalt@google.com> Remove unneed clear in constructor.

Keeps all constructors on equal footing.

Change-Id: I316d2b058cc2230ff6aa25a6c8785b42b460438d
/frameworks/base/core/java/android/net/LinkProperties.java
992f25257938ecc0378514f21c6e6e6375272976 28-Apr-2014 Paul Jensen <pauljensen@google.com> Separate network and interface addition/removal netd APIs.
This should facilitate stacked interfaces (i.e. clatd).

Change-Id: Ib3e7a4d3847ef6ec4449451f6da42e75959baa4f
/frameworks/base/core/java/android/net/LinkProperties.java
207900c23b26d0df9ab28c709db4a1007d7d7904 25-Apr-2014 Jason Monk <jmonk@google.com> Make proxy API public

Also exposed proxy-related functions that were on the
ConnectivityManager.

Change-Id: I9fb5f1bcc257a6198679ea1d56e18da2ec5a3b33
/frameworks/base/core/java/android/net/LinkProperties.java
64483947fdb03bf838e317ac0a4af5e0f53a5bbf 15-Nov-2013 Lorenzo Colitti <lorenzo@google.com> Add address flags and scope to LinkAddress.

This is necessary so that the framework can know whether an IPv6
address is likely to be usable (i.e., if it's global scope and
preferred). Also, it will simplify the address notification
methods in INetworkManagementEventObserver, which currently take
the address, the flags, and the scope as separate arguments.

1. Add flags and scope to the class and update the unit test.
Use the IFA_F_* and RT_SCOPE_* constants defined by libcore.
Since most callers don't know about flags and scope, provide
constructors that default the flags to zero and determine the
scope from the address. Addresses notified by the kernel will
have these properly set. Make multicast addresses invalid.
Update the class documentation.
2. Provide an isSameAddressAs() method that compares only the
address and prefix information between two LinkAddress
objects. This is necessary because an interface can't have
two addresses with the same address/prefix but different
flags.
3. Update LinkProperties's addLinkAddress and removeLinkAddress
to identify existing addresses to add/remove using
isSameAddressAs instead of implicit equals(). Specifically:
- If addLinkAddress is called with an address that is already
present, the existing address's flags and scope are updated.
This allows, for example, an address on an interface to go
from preferred to deprecated when it expires, without it
having to be removed and re-added.
- If removeLinkAddress is called with an address that is
present but with different flags, it deletes that address
instead of failing to find a match.
4. Update the INetworkManagementEventObserver address
notification methods to take just a LinkAddress instead of
LinkAddress, flags, and scope. While I'm at it, change the
order of the arguments for consistency with the other
functions in the interface.

Change-Id: Id8fe0f09a7e8f6bee1ea3b52102178b689a9336e
/frameworks/base/core/java/android/net/LinkProperties.java
d57de6afb8981dc1663d41a842ab7cdae93427a1 07-Sep-2013 Ying Wang <wangying@google.com> Fix docs build.

Change-Id: I6fd0d711b2cc7726fdaa9119ee467ed6fab82de1
/frameworks/base/core/java/android/net/LinkProperties.java
9d9b74a900696191048aa97cc3c854072640428b 01-Sep-2013 sy.yun <sy.yun@lge.com> Setting MTU size for specific network.

Able to config network specific MTU size. Normally, the default size of MTU is 1500.
US - ATT 1410, TMUS 1440, SPRINT 1422
KR - SKT 1440, KT 1450, LGU+ 1428
JP - KDDI 1420, SoftBank 1340
CA - RGS 1430, FIDO 1430, MTS 1430, BELL 1358, SaskTel 1358
AU - TEL 1400

Bug: 10195070
Change-Id: Ie18650b37a3d44af944f2dae4aa97c04fb12cd5e
/frameworks/base/core/java/android/net/LinkProperties.java
22f407b11e11cfdb336e06e8c0d4a7ef1eafc783 23-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Add a function to replace all the link addresses.

Bug: 10232006
Change-Id: I689ce4735999dac2ab5e1fae09d80b1f734292a1
/frameworks/base/core/java/android/net/LinkProperties.java
4faa027df03c241c92a12a437f20767ab4d6ee64 08-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Modify LinkProperties address update methods.

1. Make addLinkAddress a no-op if the address already exists.
2. Make addLinkAddress, addStackedLink and removeStackedLink
return a boolean indicating whether something changed.
3. Add a removeLinkAddress method (currently there is no way of
removing an address).
3. Move hasIPv6Address from ConnectivityService to
LinkProperties, where it belongs.

Bug: 9625448
Bug: 10232006
Change-Id: If641d0198432a7a505e358c059171f25bc9f13d5
/frameworks/base/core/java/android/net/LinkProperties.java
d1e0fae2bc5c98b1f00b185d7be7219dc7e1d0f7 31-Jul-2013 Lorenzo Colitti <lorenzo@google.com> Add accessors for all addresses and clarify compare* methods

1. Add a method to return all addresses and all LinkAddresses on
all links (both base links and stacked links). We already had
one for routes, but did not yet have any for addresses.
2. Rename compareRoutes to compareAllRoutes, because unlike the
other compare* methods, it looks at all interfaces. Update
what appears to be its only caller.
3. Update the documentation of the compare* methods to match
reality (they don't return lists) and clarify whether they
look at all links or only the base link.

Change-Id: Ie22e6c7f163d5de8e407248b45171dc28382d2d3
/frameworks/base/core/java/android/net/LinkProperties.java
213f98b6fe81c73f0d182fb5af312d4ce4a08041 01-Apr-2013 Lorenzo Colitti <lorenzo@google.com> Fix LinkProperties's equals() method.

LinkProperties's equals() method was broken by the addition of
stacked interfaces. The reason was that equals() was checking
the equality of mStackedInterfaces.keys(), which is just an
enumeration, instead of mStackedInterfaces.keySet(), which
actually contains the keys. The test was failing, but I didn't
notice.

Fix the bug and make the test check the objects more in depth
so it can give more detailed error messages when equals() fails.

Bug: 8276725
Change-Id: Ie990bd75f641c28e63e54d953dcd0f4de13f7c9f
/frameworks/base/core/java/android/net/LinkProperties.java
15bc62fe205b755582845829821373985efc60af 28-Mar-2013 Wink Saville <wink@google.com> Cleanup some debug in LinkCapabilities and Properties.

Change-Id: I5fe0124d0943f5e538e451645f32533a74c75a47
/frameworks/base/core/java/android/net/LinkProperties.java
55187f18505aad67f824094061af1b6d0a0ebb38 22-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Prevent NPE in new API.

bug:8455284
Change-Id: I26ecbd024d1fe001f3af792c4e66409b2968c7ec
/frameworks/base/core/java/android/net/LinkProperties.java
4aa9bcf414282e4bdd10900832baaeaa349bda50 20-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Reset connections on all stacked interfaces.

Bug: 8276725
Change-Id: I7fe99c6ea123037cef3e89e3c2c17ed43cc0b1ea
/frameworks/base/core/java/android/net/LinkProperties.java
1afb71377ce0743b5f36c348ddf4ee68fb7eb604 15-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Revert of Ifd0c4081a. Turning off logging.

Found our bug, so switching the logging back off.
bug:8377625

Change-Id: I254bd83c48f1dd8dd62db1fcb162d460328169c5
/frameworks/base/core/java/android/net/LinkProperties.java
6629bcd6608cccbd5997ac99bf4474c00def0431 15-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Don't return an unmod collection.

It's not needed as people can mess with this, and people do, so this fixes the build.
bug:8398355

Change-Id: Iddd00af41009c88b67fb7f9a8789bb416c377922
/frameworks/base/core/java/android/net/LinkProperties.java
419a4ce9e461177d75eca5fd71fc8c275969e479 07-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Add stacked interfaces to LinkProperties.

Bug: 8276725
Change-Id: I2f592d4c690e9af0459ae742ab16107a10d89353
/frameworks/base/core/java/android/net/LinkProperties.java
5ddeb9ed70fdec87d2ee7d404d7a968064255478 14-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Add logging to track down bug

bug:8377625
Change-Id: Ifd0c4081a2f1238dbbc39c6904b993e2fb95455a
/frameworks/base/core/java/android/net/LinkProperties.java
1994bc14ab9fd3a3c5dca8851cfc0042bcb25d46 09-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Unit test routes with interfaces in LinkProperties

Change-Id: Ie41a56bc9863ee72f4d7a8f72e436fc57e57b1af
/frameworks/base/core/java/android/net/LinkProperties.java
45b9a5bb93569ca49bbd44f7a518091371687f96 08-Mar-2013 Lorenzo Colitti <lorenzo@google.com> RouteInfo changes.

- Add the interface name.
- Fix a bug where a default route would match an address of
another protocol (e.g., 0.0.0.0/0 would match 2001::).
- Tweak the hashCode method.
- Write a unit test.

Change-Id: Ida8266de440a9b1d9eaa132f182b9f1ce8978c44
/frameworks/base/core/java/android/net/LinkProperties.java
8058f621891b41c6864b6004c1c47647436a0ac1 09-Nov-2012 Robert Greenwalt <rgreenwalt@google.com> Support for dns domain.

bug:6799630
Change-Id: I10070eddb65b7b60f0bc2b3e1e320e1aa4ec6e98
/frameworks/base/core/java/android/net/LinkProperties.java
4717c261b2c670d5c0925e3527a864aa52db6ac0 31-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Remove DhcpInfoInternal

First step in accepting a set of patches.
bug:6799630

Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
/frameworks/base/core/java/android/net/LinkProperties.java
0d8acea9bb452d1fdbb3d811041f7bdb1b0ef8a3 29-Jul-2011 Robert Greenwalt <rgreenwalt@google.com> Make copy-constructor make deep copy.

Used to grab immutables but now will copy the data so the result
is mutable and we don't get crashes.

bug:5051667
Change-Id: I0878bf8c58069055f528121541d1911f404cbe49
/frameworks/base/core/java/android/net/LinkProperties.java
ad55d35114237071133eb28ded93a014185d4e35 22-Jul-2011 Robert Greenwalt <rgreenwalt@google.com> Add better routes for secondary DNS

We'd been doing no-gateway hostroutes for dns servers on secondary nets, but on
some devices (multi-homed stingray) this is a problem. Add gateway-ed hostroutes
instead so the BP can do it's nonstandard "magical" demultiplexing.

bug:5011392
Change-Id: Ia48f69c8ddf2a37cfb8f014f078f96bf601d2ddb
/frameworks/base/core/java/android/net/LinkProperties.java
0a46db5d88461d9a6c85bb2e95982ac4c511d57e 14-Jul-2011 Robert Greenwalt <rgreenwalt@google.com> Apply the dns and route diff which we get a change

bug:5008973
Change-Id: Ib99e43d9d852452cc1f2aea6bef07bbd194f28cc
/frameworks/base/core/java/android/net/LinkProperties.java
e822225f7a01ef088ff01f7613f953d5d89945ed 13-Jul-2011 Wink Saville <wink@google.com> Remove STOPSHIP but allow seamless Handoff when possible.

If an address is removed we must reset the connection but
only for the connections associated with that address. For
now we're doing the "all" addresses for a type (IPv6 or IPv4)
in the future we only need to reset a particular addresses
connections.


Bug: 4981919
Change-Id: I97f8071a3ed6f827ed22f32216ca5011bfe6c1d9
/frameworks/base/core/java/android/net/LinkProperties.java
be2b058ec1e11e1d33b6d03230c21e5d2d7ac40c 19-May-2011 Wink Saville <wink@google.com> Reset connection while data state changed.

Check data call states and reset connection if any link properties changed.


Change-Id: I008aea969378648192852161959fdf4aad6211a1
/frameworks/base/core/java/android/net/LinkProperties.java
aa70f101e08098ed9cb190abe2d7f952561026b8 28-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> 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
/frameworks/base/core/java/android/net/LinkProperties.java
4e900091c4da26eb1c9f0d232ee0e50f4522cc69 04-Apr-2011 John Wang <johnwang@google.com> Make LinkProperties comparable.

Add equals() and hashcode() to LinkProperties and related fields.

Bug:3501569
Change-Id: Ifa737a67c16867ac43cf76bf618a483e612a189e
/frameworks/base/core/java/android/net/LinkProperties.java
04cac40ff86e175444991c07869cb85219db1019 03-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> 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
/frameworks/base/core/java/android/net/LinkProperties.java
992564e481af13cbcb058ee801f9254a520c54a1 09-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Update LinkProperties treatment of gateways

A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.

bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
/frameworks/base/core/java/android/net/LinkProperties.java
ed5d7d17c9e9837ce7a6a10698cce9f6e4101acd 02-Oct-2010 Irfan Sheriff <isheriff@google.com> Add LinkAddress

LinkAddress stores IP address + prefix for a network link

Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
/frameworks/base/core/java/android/net/LinkProperties.java
6e80997a9a7b6a15370544edde322cd8833e9524 21-Sep-2010 Wink Saville <wink@google.com> Cleanup copyright dates add missing method.

Change-Id: I2d8fe0b705e7c90efabb8b3427a539a4a1056874
/frameworks/base/core/java/android/net/LinkProperties.java
ef6c1431fa2039a4b8c604d651bb8f4dc0806581 31-Aug-2010 Irfan Sheriff <isheriff@google.com> Fix reboot loop due to NPE

Bug: 2962059
Change-Id: I73d5fa5ef0f29dc139c843b34f58f189c94dfe4b
/frameworks/base/core/java/android/net/LinkProperties.java
37e65ebb7eb932e1a144b1cab262e11ca5fd109b 30-Aug-2010 Robert Greenwalt <robdroid@android.com> Rename NetworkProperties to LinkProperties

Also add copy constructors and use them when giving out data.

Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
/frameworks/base/core/java/android/net/LinkProperties.java