summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMark Chien <markchien@google.com>2020-05-29 22:07:37 +0000
committerMark Chien <markchien@google.com>2020-05-30 03:42:57 +0000
commitdb6befbd17ab133e47c95c870160e0f317516d89 (patch)
tree428897f4afbd806d6d5b7428750f8b3db0ee7994 /tools/aapt2/java/JavaClassGenerator.cpp
parent7d4bad92af39bee1afcc0bb13d3c62f671ce2cc9 (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 Merged-In: Ib45b87bcd9eeb5da03fb7ec90b1af9ca53998cf5 Change-Id: Ib45b87bcd9eeb5da03fb7ec90b1af9ca53998cf5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions