Home
last modified time | relevance | path

Searched refs:setChildChain (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSFirewallChainTest.kt64 verify(bpfNetMaps).setChildChain(FIREWALL_CHAIN_BACKGROUND, true) in <lambda>()
69 verify(bpfNetMaps).setChildChain(FIREWALL_CHAIN_BACKGROUND, false) in <lambda>()
81 verify(bpfNetMaps, never()).setChildChain(anyInt(), anyBoolean()) in <lambda>()
84 verify(bpfNetMaps, never()).setChildChain(anyInt(), anyBoolean()) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java281 mBpfNetMaps.setChildChain(chain, true /* enable */); in doTestSetChildChain()
286 mBpfNetMaps.setChildChain(chain, false /* enable */); in doTestSetChildChain()
329 () -> mBpfNetMaps.setChildChain(-1 /* childChain */, true /* enable */)); in testSetChildChainInvalidChain()
331 () -> mBpfNetMaps.setChildChain(1000 /* childChain */, true /* enable */)); in testSetChildChainInvalidChain()
338 () -> mBpfNetMaps.setChildChain(FIREWALL_CHAIN_DOZABLE, true /* enable */)); in testSetChildChainBeforeT()
DConnectivityServiceTest.java10571 verify(mBpfNetMaps).setChildChain(chain, true /* enable */);
10575 verify(mBpfNetMaps).setChildChain(chain, false /* enable */);
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java461 public void setChildChain(final int childChain, final boolean enable) { in setChildChain() method in BpfNetMaps
DConnectivityService.java14005 mBpfNetMaps.setChildChain(chain, enable);