Use java BpfMap in BpfNetMaps#setChildChain
Bug: 217624062 Test: atest BpfNetMapsTest android.net.cts.ConnectivityManagerTest#testFirewallBlocking Change-Id: I13e96911eccd7d1d0545a156ddc2859bcaac09eb
This commit is contained in:
parent
be3ff1e923
commit
18b287d285
1 changed files with 113 additions and 10 deletions
|
|
@ -5903,6 +5903,7 @@ public class ConnectivityManager {
|
|||
*
|
||||
* @param chain target chain.
|
||||
* @param enable whether the chain should be enabled.
|
||||
* @throws UnsupportedOperationException if called on pre-T devices.
|
||||
* @throws IllegalStateException if enabling or disabling the firewall chain failed.
|
||||
* @hide
|
||||
*/
|
||||
|
|
@ -5926,7 +5927,6 @@ public class ConnectivityManager {
|
|||
* @param chain target chain.
|
||||
* @return {@code true} if chain is enabled, {@code false} if chain is disabled.
|
||||
* @throws UnsupportedOperationException if called on pre-T devices.
|
||||
* @throws IllegalArgumentException if {@code chain} is a invalid value.
|
||||
* @throws ServiceSpecificException in case of failure, with an error code indicating the
|
||||
* cause of the failure.
|
||||
* @hide
|
||||
|
|
|
|||
Loading…
Reference in a new issue