Searched refs:replaceUidChain (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSFirewallChainTest.kt | 100 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/ |
D | BpfNetMapsTest.java | 670 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()
|
D | ConnectivityServiceTest.java | 10629 verify(mBpfNetMaps).replaceUidChain(chain, uids);
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 510 public void replaceUidChain(final int chain, final int[] uids) { in replaceUidChain() method in BpfNetMaps
|
D | ConnectivityService.java | 14110 mBpfNetMaps.replaceUidChain(chain, uids);
|