- Oct 29, 2020
-
-
Baligh Uddin authored
BUG: 167962976 Test: TH Change-Id: Id28881b35cf24fc9517fa11af6d8e539ab244fa6
-
- Oct 26, 2020
-
-
Treehugger Robot authored
-
markchien authored
Also jarjar com.android.net.module.util* to com.android.networkstack.tethering.util*. Bug: 171670016 Test: atest TetheringCoverageTests Change-Id: I3bde9ad3c41adf36da99bd944303d88ce992201c
-
- Oct 23, 2020
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I34e8bcf3c3f0a5db3522b6ff499ba1583577b250
-
- Oct 19, 2020
-
-
Mark Chien authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461742 Change-Id: I6055ea6ac737bb94bd9bc8c8642e86222f1e1d1a
-
markchien authored
Also add MtsTetheringTest which only run if tethering mainline module is installed. Bug: 166057846 Bug: 170265597 Test: atest TetheringTests Change-Id: I434dda81eb5fab700d873a8ff3429b4222f0c7e6
-
- Oct 15, 2020
-
-
Mark Chien authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459887 Change-Id: I2874508c560cc31f99e88c02fd63995f62f86a2f
-
Mark Chien authored
-
Anton Hansson authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1460522 Change-Id: I3dcf776384d6c53876acaeb344820a88c19027da
-
markchien authored
The downstream do not be tracked if PrivateAddressCoordinator just return cached address. Then, PrivateAddressCoordinator would not notify that downstream if conflict happen. Also remove the null check in getDownstreamPrefix because: - An IpServer is only added to mDownstreams by requestDownstreamAddress. - That method will only add the IpServer to mDownstreams if it has an IPv4 address. - As soon as that method returns, the IpServer sets mIpv4Address to the address that was returned. - When an IpServer is torn down, mIpv4Address is set to null after releaseDownstream is called. So it should never be possible for this to return null. Bug: 168169687 Test: atest CtsTetheringTest atest TetheringTests Change-Id: Ide5206b013acdc499344e1c839a830c5b245af41
-
- Oct 14, 2020
-
-
Anton Hansson authored
Modules shouldn't have TestApis, as documented in go/android-api-types. Additionally, nothing depends on these TestApis existing. Bug: 170395679 Test: m checkapi Change-Id: I6e2c8298e90b4b54f0264be974d036fa08cd5632 Merged-In: I6e2c8298e90b4b54f0264be974d036fa08cd5632
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459889 Change-Id: Ib9be992d5728346f063cea6ebc67b11a209e04c4
-
Treehugger Robot authored
-
markchien authored
This test catch the regression introduced in r.android.com/1432958. Bug: 1432958 Test: atest TetheringTest Change-Id: Id0c1afb5563954ffee1f598a3a5de6a245d77a0e
-
- Oct 13, 2020
-
-
Mark Chien authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: Ief2520cd30059542ae3786a36b92198af6739a2a
-
Mark Chien authored
-
markchien authored
Currently tethering only pick prefix from 192.168.0.0/16. There is no aviable tethering address if the upstream address is 192.168.x.y/16. This change allow tethering to pick prefix from any private address rnages. Now it still pick from 192.168.0.0/16 only to avoid behavior change. Will have follow up commit to change the configuration. Bug: 166057846 Bug: 170265597 Test: atest TetheringTests atest CtsTetheringTest Change-Id: Ib6304eb8b4788e9196d0af48e72f00a6bda73a5f
-
Remi NGUYEN VAN authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440214 Change-Id: I2e8d55b7984bccbd5959b7b00fa8c8b24acdb67c
-
Remi NGUYEN VAN authored
The test had TODOs to address to use IpUtils and NetworkStackConstants classes once they were moved to frameworks/libs/net. This is now done, so using the new classes. Bug: 158042941 Test: atest TetheringPrivilegedTests Change-Id: I536b4506dbc3b42547ba9cb4e7c3c7a3e9459dd1
-
- Oct 11, 2020
-
-
Xin Li authored
Bug: 167233921 Merged-In: Iecef31f7bf10ad97b7e0075cf302ae94e248474a Change-Id: I9e9c873bc2e05a0cfe3af0bf74725500f3f108db
-
- Oct 09, 2020
-
-
Remi NGUYEN VAN authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440234 Change-Id: Ibd41a02a9a185667a7fe332213ef692c4d8bf515
-
Remi NGUYEN VAN authored
-
- Oct 07, 2020
-
-
Mark Chien authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432958 Change-Id: I0aaa978e8edd7e8666413fb18352fa83e9fb5469
-
Mark Chien authored
-
- Oct 06, 2020
-
-
markchien authored
Make the IP subnet persistent if it do not conflict with upstream. It allow client to reuse its IP that usually reduce DHCP procedure. Bug: 168169687 Test: atest TetheringTests Change-Id: Iddc5304730dce7b11c5d124b7eddce057d752bbd
-
- Oct 05, 2020
-
-
Anton Hansson authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1448635 Change-Id: I6ef1bfbf4dcd39983e94207ff7f760e152da2a97
-
Anton Hansson authored
This works around a build-system limitation where it does not know which jars to feed r8 to resolve all classes during proguarding. Bug: 160453030 Bug: 169931783 Test: build_mainline_modules.sh (with prebuilt sdk) Change-Id: I3d9f2049cf898b5e551a5c5764df423abaa5e92d Merged-In: I3d9f2049cf898b5e551a5c5764df423abaa5e92d
-
Remi NGUYEN VAN authored
The utility classes are useful for mainline modules and their tests, for example IpClientIntegrationTest. Bug: 168868607 Test: m && atest NetworkStaticLibTests Change-Id: If2b1613aa18a7990391e2d31cc2951ca93f1cf3c
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1413610 Change-Id: I0a5398513c4572db839e3713109bb326f0261954
-
Treehugger Robot authored
-
- Sep 30, 2020
-
-
Lorenzo Colitti authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767 Change-Id: If1d0eb5a1818dd7a9346f8d0d64d5f37ea1b53c2
-
Lorenzo Colitti authored
r.android.com/1424920 changed the code but forgot to update the unit test. Also fix some lint errors. Bug: 149109043 Test: atest TetheringTests TetheringPrivilegedTests Change-Id: I53ca4b9877dcb4a759dee6ec63133653315d826f
-
Tyler Wear authored
Add the netfilter generic message header to the netlink req. This is needed so the kernel won't ignore the request for invalid params. Bug: 149109043 Test: ConntrackSocketTest Change-Id: I1757fdeb11a0cac5821021a22323cbd74fe22bdc
-
- Sep 28, 2020
-
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1435273 Change-Id: Ibb30260e9bc558ab0aa6dd8277dfd50efd14258f
-
markchien authored
If vpn app make its netmask as 0, PrivateAddressCoordinator would not able to find suitable address for tethering downstream. Since tethering do not support vpn as upstream, just ignore vpn in PrivateAddressCoordinator. Bug: 166365863 Test: atest TetheringTests atest CtsTetheringTest Change-Id: Iabe265467044fea9fa437674ca29ffc7bcdefe3b
-
Treehugger Robot authored
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440032 Change-Id: Id8904075001709f2c62a55293f835c5a73ad9d79
-
Treehugger Robot authored
-
- Sep 27, 2020
-
-
markchien authored
NetworkInterface#getByName can not get the interface without IP addresses. When setIncludeTestInterfaces(true) is called, the interface will be placed in client mode, which will delete the link-local address. So calling NetworkInterface#getByName to get test interface may not work before switching to server mode. Bug: 168215721 Test: atest CtsTethering Change-Id: Ice8adcce1c4b2c86bd219c701b2afa9ba2339f24
-
- Sep 24, 2020
-
-
Remi NGUYEN VAN authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433924 Change-Id: I30a1542c1fe2056d074402f2b5f7be2a37f15373
-