Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSFirewallChainTest.kt100 verify(bpfNetMaps).replaceUidChain(FIREWALL_CHAIN_BACKGROUND, uids) in <lambda>()
113 verify(bpfNetMaps, never()).replaceUidChain(anyInt(), any(IntArray::class.java)) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java670 mBpfNetMaps.replaceUidChain(FIREWALL_CHAIN_DOZABLE, TEST_UIDS); in testReplaceUidChain()
686 mBpfNetMaps.replaceUidChain(FIREWALL_CHAIN_DOZABLE, new int[]{uid1}); in testReplaceUidChainWithOtherMatch()
702 mBpfNetMaps.replaceUidChain(FIREWALL_CHAIN_DOZABLE, TEST_UIDS); in testReplaceUidChainWithExistingIifMatch()
718 mBpfNetMaps.replaceUidChain(FIREWALL_CHAIN_DOZABLE, new int[]{uid1}); in testReplaceUidChainRemoveExistingMatch()
728 assertThrows(expected, () -> mBpfNetMaps.replaceUidChain(-1 /* chain */, TEST_UIDS)); in testReplaceUidChainInvalidChain()
729 assertThrows(expected, () -> mBpfNetMaps.replaceUidChain(1000 /* chain */, TEST_UIDS)); in testReplaceUidChainInvalidChain()
736 () -> mBpfNetMaps.replaceUidChain(FIREWALL_CHAIN_DOZABLE, TEST_UIDS)); in testReplaceUidChainBeforeT()
DConnectivityServiceTest.java10629 verify(mBpfNetMaps).replaceUidChain(chain, uids);
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java510 public void replaceUidChain(final int chain, final int[] uids) { in replaceUidChain() method in BpfNetMaps
DConnectivityService.java14110 mBpfNetMaps.replaceUidChain(chain, uids);