summaryrefslogtreecommitdiff
path: root/packages/Tethering
AgeCommit message (Collapse)Author
2021-01-22Merge SP1A.210105.001Scott Lobdell
Change-Id: Iebfaf27bb339a99d9303a53e6c2c397b0001c814
2020-12-08Improve OWNERS coverage across frameworks/base/.Jeff Sharkey
As general background, OWNERS files expedite code reviews by helping code authors quickly find relevant reviewers, and they also ensure that stakeholders are involved in code changes in their areas. Some teams under frameworks/base/ have been using OWNERS files successfully for many years, and we're ready to expand them to cover more areas. Here's the historical coverage statistics for the last two years of changes before these new OWNERS changes land: -- 56% of changes are fully covered by OWNERS -- 17% of changes are partially covered by OWNERS -- 25% of changes have no OWNERS coverage Working closely with team leads, we've now identified clear OWNERS on a per-package basis, and we're using "include" directives whenever possible to to simplify future maintenance. With this extensive effort, we've now improved our coverage as follows: -- 98% of changes are fully covered by OWNERS -- 1% of changes are partially covered by OWNERS -- 1% of changes have no OWNERS coverage This specific change is automatically generated by a script that identifies relevant "include" directives. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813 Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-11-13Merge SP1A.201105.002Scott Lobdell
Change-Id: Iec83a0c1f6f286a1e51abfc4356633ca9d8aea5f
2020-10-30Restructure Module code [ com.android.tethering ]Baligh Uddin
Code Migration from frameworks/base/packages/Tethering -> packages/modules/Connectivity/Tethering BUG: 167962976 Test: m com.android.tethering + TH Merged-In: Ib4a3a7a14d7d0e544aadf1bfb21ad390f1ba76a7 Change-Id: Ifae56d991b43c02f1e3496abbafc87d1869add8a
2020-10-29Restructure Module code [ com.android.tethering ]Baligh Uddin
Code Migration from frameworks/base/packages/Tethering -> packages/modules/Connectivity/Tethering BUG: 167962976 Test: TH Change-Id: I2accb96abbdfa665ef34aa79e87af040226bcf32
2020-10-29Merge changes from topic "bug_167962976_visibility" am: 39c6068cbc am: ↵Treehugger Robot
5942721506 am: 29bed11140 am: a678e6b183 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1478840 Change-Id: I476629002e075d01c83f77be8343157dbd66ce9b
2020-10-29Merge changes from topic "bug_167962976_visibility" am: 39c6068cbc am: ↵Treehugger Robot
5942721506 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1478840 Change-Id: I39d4edd4511d1677af0415d57123f88e5705c3dc
2020-10-29Merge changes from topic "bug_167962976_visibility" am: 39c6068cbcTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1478840 Change-Id: Iba29a96f2058373cc5d0454551ec2bd64b6e7b1b
2020-10-29Add OWNERS block to prevent the tree from mooving during migration.Baligh Uddin
BUG: 167962976 TEST: None. Change-Id: I49db5a11ee89645dac158ec3757180b2387e2d70
2020-10-29Add visibility rules for packages/modules/Connectivity/TetheringBaligh Uddin
BUG: 167962976 Test: TH Change-Id: Id28881b35cf24fc9517fa11af6d8e539ab244fa6
2020-10-28Get rid of telephony-stubs.Amit Mahajan
It was added for telephony mainline and is currently not needed. Test: basic telephony validity, TH Bug: 170906882 Change-Id: Idbd05aeef055291fc50008129c30c4ae272c1ac0
2020-10-27Merge SP1A.201015.001Scott Lobdell
Change-Id: Ie33f12a2f4c73443640c28ad128be96b3533fd8c
2020-10-26Merge "Add shared jarjar rule for tethering tests" am: 29dc671218 am: ↵Treehugger Robot
2dc283eeca am: dc937ecdbd am: 9e5cd9415b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1473223 Change-Id: I24795bc612d7956ea8f2776c90810ea5c5eca39e
2020-10-26Merge "Add shared jarjar rule for tethering tests" am: 29dc671218 am: 2dc283eecaTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1473223 Change-Id: I34c41fbbe5f034a2ed332c784ab0decb2c6b2add
2020-10-26Merge "Add shared jarjar rule for tethering tests" am: 29dc671218Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1473223 Change-Id: I8475c680298af4b6239b37c0e43f6917491b783f
2020-10-26Add shared jarjar rule for tethering testsmarkchien
Also jarjar com.android.net.module.util* to com.android.networkstack.tethering.util*. Bug: 171670016 Test: atest TetheringCoverageTests Change-Id: I3bde9ad3c41adf36da99bd944303d88ce992201c
2020-10-23Merge "Bump Tethering apex version code" into rvc-d1-dev-plus-aosp am: ↵Mark Chien
491463a35f am: 2e5154b9e9 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12890938 Change-Id: I9bf34252d723acb513935596e93ab8d748187041
2020-10-22Bump Tethering apex version codemarkchien
The version code in the manifest is only used for development builds, as release builds dynamically replace it. Bug: 170183552 Test: m Change-Id: I51916756f41672d372e3a4adce3a8edf5d472c0d
2020-10-19Merge "Add the flag and default enable selectAllPrefixRange" am: 02fe8ac161 ↵Mark Chien
am: e9d354e7c7 am: a0f21001ea am: cb0b703b3c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461742 Change-Id: I232a3a52daeed69230215f3be135881415dbdb5c
2020-10-19Merge "Add the flag and default enable selectAllPrefixRange" am: 02fe8ac161 ↵Mark Chien
am: e9d354e7c7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461742 Change-Id: Ic540b8b0c562a730d4da307aa6890226099e9b46
2020-10-19Merge "Add the flag and default enable selectAllPrefixRange" am: 02fe8ac161Mark Chien
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461742 Change-Id: I6055ea6ac737bb94bd9bc8c8642e86222f1e1d1a
2020-10-19Add the flag and default enable selectAllPrefixRangemarkchien
Also add MtsTetheringTest which only run if tethering mainline module is installed. Bug: 166057846 Bug: 170265597 Test: atest TetheringTests Change-Id: I434dda81eb5fab700d873a8ff3429b4222f0c7e6
2020-10-15Merge "Fix miss tracking downstream problem in PrivateAddressCoordinator" ↵Mark Chien
am: 613e6e3e9a am: 84b074eef8 am: 6574c6c8f9 am: 335c9c52d0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459887 Change-Id: I9262e13e3f3919c2b36bb8765a09c4abf2e31aa4
2020-10-15Merge "Fix miss tracking downstream problem in PrivateAddressCoordinator" ↵Mark Chien
am: 613e6e3e9a am: 84b074eef8 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459887 Change-Id: I33842982a1a94a37d2e8b7aa78f5bc9b6e86326e
2020-10-15Merge "Fix miss tracking downstream problem in PrivateAddressCoordinator" ↵Mark Chien
am: 613e6e3e9a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459887 Change-Id: I2874508c560cc31f99e88c02fd63995f62f86a2f
2020-10-15Merge "Fix miss tracking downstream problem in PrivateAddressCoordinator"Mark Chien
2020-10-15Merge "Remove Tethering @TestApi" am: bd175573a5 am: b2442b9036Anton Hansson
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1460522 Change-Id: I6d44cc10ae75426e715c95540f64e788b506f83b
2020-10-15Merge "Remove Tethering @TestApi" am: bd175573a5Anton Hansson
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1460522 Change-Id: I3dcf776384d6c53876acaeb344820a88c19027da
2020-10-15Fix miss tracking downstream problem in PrivateAddressCoordinatormarkchien
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
2020-10-15Merge "Remove Tethering @TestApi"Anton Hansson
2020-10-15Remove Tethering @TestApiAnton Hansson
Modules shouldn't have TestApis, as documented in go/android-api-types. Additionally, nothing depends on these TestApis existing. Bug: 170395679 Test: m checkapi Exempt-From-Owner-Approval: cherry-pick Change-Id: I6e2c8298e90b4b54f0264be974d036fa08cd5632
2020-10-14Merge "Test conflict notification work when using cached address" am: ↵Treehugger Robot
b7aee190a5 am: 3420af35ce am: f2c0479945 am: 37738b53d7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459889 Change-Id: I237e8e8c4b83d12be2dfce30919dc71b3c16656c
2020-10-14Remove Tethering @TestApiAnton Hansson
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
2020-10-14Merge "Test conflict notification work when using cached address" am: ↵Treehugger Robot
b7aee190a5 am: 3420af35ce Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459889 Change-Id: I3f7f1fe42ed92147e5809d48ae5f38745fd71689
2020-10-14Merge "Test conflict notification work when using cached address" am: b7aee190a5Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459889 Change-Id: Ib9be992d5728346f063cea6ebc67b11a209e04c4
2020-10-14Merge "Test conflict notification work when using cached address"Treehugger Robot
2020-10-14Test conflict notification work when using cached addressmarkchien
This test catch the regression introduced in r.android.com/1432958. Bug: 1432958 Test: atest TetheringTest Change-Id: Id0c1afb5563954ffee1f598a3a5de6a245d77a0e
2020-10-13Merge "Allow tethering pick prefix from all of private address range" am: ↵Mark Chien
5b976f3516 am: a303fc56ed am: 2408daf285 am: 52d3a00138 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: I849f7d336fd4bc7d39d8b268620bcb25dbd26667
2020-10-13Merge "Allow tethering pick prefix from all of private address range" am: ↵Mark Chien
5b976f3516 am: a303fc56ed Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: Ie44f3b2ebfa51d2c915bd794b6ea0fade0098ecf
2020-10-13Merge "Allow tethering pick prefix from all of private address range" am: ↵Mark Chien
5b976f3516 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: Ief2520cd30059542ae3786a36b92198af6739a2a
2020-10-13Merge "Allow tethering pick prefix from all of private address range"Mark Chien
2020-10-13Allow tethering pick prefix from all of private address rangemarkchien
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
2020-10-13Merge "Use IpUtils, NetworkStackConstants in DadProxyTest" am: 80794b2476 ↵Remi NGUYEN VAN
am: 303cd3e30b am: 32950484f5 am: b96443ba66 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440214 Change-Id: I4a078231e0145973c413f8dcb127275987eec8de
2020-10-13Merge "Use IpUtils, NetworkStackConstants in DadProxyTest" am: 80794b2476 ↵Remi NGUYEN VAN
am: 303cd3e30b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440214 Change-Id: I2eb8131309f397a832b16002f7eff702e78dba80
2020-10-13Merge "Use IpUtils, NetworkStackConstants in DadProxyTest" am: 80794b2476Remi NGUYEN VAN
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440214 Change-Id: I2e8d55b7984bccbd5959b7b00fa8c8b24acdb67c
2020-10-13Use IpUtils, NetworkStackConstants in DadProxyTestRemi NGUYEN VAN
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
2020-10-10Merge ab/6749736 in stage.Xin Li
Bug: 167233921 Merged-In: Iecef31f7bf10ad97b7e0075cf302ae94e248474a Change-Id: I9e9c873bc2e05a0cfe3af0bf74725500f3f108db
2020-10-09Merge SP1A.200921.001Scott Lobdell
Change-Id: I6a8d7215f874fed05e9fec71b17c8a3d1e2c94e0
2020-10-09Merge "Move IpUtils to frameworks/libs/net" am: e842db3548 am: 62e99304d6 ↵Remi NGUYEN VAN
am: e55c9f1335 am: 364672242c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440234 Change-Id: I27072c126ee7eedc2de3d1cdccd0fd503f1577a1
2020-10-09Merge "Move IpUtils to frameworks/libs/net" am: e842db3548 am: 62e99304d6Remi NGUYEN VAN
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440234 Change-Id: I03872655d1ef3a7bb436666196ed67bd61601f65