History log of /frameworks/base/core/tests/coretests/src/android/net/LinkPropertiesTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
69df743f7489ca67ef1c94270325d1056f1bc546 07-Sep-2013 Robert Greenwalt <rgreenwalt@google.com> Fix the build.

Change-Id: Ia5d29de9db7ea8fd467b3bde551a8cfb95877b41
/frameworks/base/core/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.java
3f1e1b2ce407684519f8bd070c931940fd33db4f 08-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Simplify LinkPropertiesTest.

Instead of converting IP addresses to strings throughout the
test, do so once at the beginning.

Change-Id: I7f0dae5d2e9e2cdc6ec808e2cf71197ba6ade0a4
/frameworks/base/core/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.java
b91e50c266a7eb9dd6f8171deb497931ef7aef76 15-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Fix build.

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

Bug: 8276725
Change-Id: I2f592d4c690e9af0459ae742ab16107a10d89353
/frameworks/base/core/tests/coretests/src/android/net/LinkPropertiesTest.java
1994bc14ab9fd3a3c5dca8851cfc0042bcb25d46 09-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Unit test routes with interfaces in LinkProperties

Change-Id: Ie41a56bc9863ee72f4d7a8f72e436fc57e57b1af
/frameworks/base/core/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.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/tests/coretests/src/android/net/LinkPropertiesTest.java