Use java BpfMap in BpfNetMaps#replaceUidChain

Bug: 217624062
Test: atest BpfNetMapsTest
Change-Id: Ib2a2c2646834110a3eeeb786a4ea7a3f85718be8
This commit is contained in:
Motomu Utsumi
2022-07-05 06:14:59 +00:00
parent ad3eab1c8b
commit 9be2ea0080
5 changed files with 128 additions and 63 deletions

View File

@@ -5949,7 +5949,7 @@ public class ConnectivityManager {
*
* @param chain target chain to replace.
* @param uids The list of UIDs to be placed into chain.
* @throws IllegalStateException if replacing the firewall chain failed.
* @throws UnsupportedOperationException if called on pre-T devices.
* @throws IllegalArgumentException if {@code chain} is not a valid chain.
* @hide
*/