summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2020-02-12 00:19:21 +0800
committermarkchien <markchien@google.com>2020-05-27 21:36:01 +0800
commitf53ec879f0f9f8d781a3340dcff5c8f843f8926e (patch)
tree6e9b21930ec8e15718278addfe7b99a121a6ac26 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentff2641428fbe9f7766f8ab901680c9bb7524f005 (diff)
Tethering: ensure downstream prefix do not conflict with upstream
- Add New class PrivateAddressCoordinator to coordinate the private address conflict problem. - Downstream prefix would be random in 192.168.0.0/24 ~ 192.168.255.0/24. - If new upstream prefix is conflict with existing downstream prefix, downstream would be kicked out and it would request a new one. - The last conflict upstream prefixes would be blacklist. Avoid to select downstream prefix which is conflict with prefixes in blacklist. Bug: 130879722 Test: -build, flash, boot -atest TetheringTests Change-Id: Ib45b87bcd9eeb5da03fb7ec90b1af9ca53998cf5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions