OSDN Git Service

Make interface IP serving code set LinkProperties
authorErik Kline <ek@google.com>
Mon, 12 Jun 2017 09:20:08 +0000 (18:20 +0900)
committerErik Kline <ek@google.com>
Mon, 19 Jun 2017 06:51:50 +0000 (15:51 +0900)
commitdd4d5820344205085c19dc142aec252ea9ac220b
tree7ecf1a7ecb5b6d93c2d5b92f26d219e25fcbed62
parentb5c4e80ecd47dda8c73b0e93eb2ee1a8da58c981
Make interface IP serving code set LinkProperties

Additionally, clean up awkward IPv6TetheringInterfaceServices
instantiation mechanics.  In future, this class will be absorbed
by TetherInterfaceStateMachine (prior to its renaming to IpServer).

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131

Change-Id: Ib620e3df182f9f8e2c019aae1cd8981eb0b29376
services/core/java/com/android/server/connectivity/Tethering.java
services/core/java/com/android/server/connectivity/tethering/IControlsTethering.java
services/core/java/com/android/server/connectivity/tethering/OffloadController.java
services/core/java/com/android/server/connectivity/tethering/TetherInterfaceStateMachine.java
tests/net/java/com/android/server/connectivity/tethering/OffloadControllerTest.java
tests/net/java/com/android/server/connectivity/tethering/TetherInterfaceStateMachineTest.java