diff options
| author | Hungming Chen <nuccachen@google.com> | 2021-08-20 17:53:31 +0800 |
|---|---|---|
| committer | Hungming Chen <nuccachen@google.com> | 2021-08-26 21:21:05 +0800 |
| commit | b344870ea0a9defbf911421c50cad9f8a82ecec1 (patch) | |
| tree | 316a236f35282c495b90db22ea36040a4be611fc /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 0084591e941cf68a55abff3ce859b0892341dd0d (diff) | |
Refactor the offload permission check and add tests
- Rename the conntrack destination port check function
- Use CollectionUtils.contains to check the denied ports
- Add tests for the streams with ftp and pptp tcp port are
not able to be offloaded
Bug: 195914327
Test: atest TetheringCoverageTests
Change-Id: I7e2591bea1f6db46271efb0c30970fb8d4efe1e4
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
