Searched refs:updateUidLockdownRule (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 925 verify(mBpfNetMaps, times(2)).updateUidLockdownRule(anyInt(), eq(true) /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 926 verify(mBpfNetMaps).updateUidLockdownRule(MOCK_UID11, true /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 927 verify(mBpfNetMaps).updateUidLockdownRule(VPN_UID, true /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 933 verify(mBpfNetMaps, times(2)).updateUidLockdownRule(anyInt(), eq(false) /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 934 verify(mBpfNetMaps).updateUidLockdownRule(MOCK_UID11, false /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 935 verify(mBpfNetMaps).updateUidLockdownRule(VPN_UID, false /* add */); in testLockdownUidFilteringWithLockdownEnableDisable() 953 verify(mBpfNetMaps).updateUidLockdownRule(anyInt(), eq(true) /* add */); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 954 verify(mBpfNetMaps).updateUidLockdownRule(MOCK_UID11, true /* add */); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 961 verify(mBpfNetMaps, never()).updateUidLockdownRule(anyInt(), anyBoolean()); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 968 verify(mBpfNetMaps, never()).updateUidLockdownRule(anyInt(), anyBoolean()); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 358 mBpfNetMaps.updateUidLockdownRule(TEST_UID, add); in doTestUpdateUidLockdownRule() 403 () -> mBpfNetMaps.updateUidLockdownRule(TEST_UID, true /* add */)); in testUpdateUidLockdownRuleBeforeT()
|
D | ConnectivityServiceTest.java | 10498 verify(mBpfNetMaps, times(3)).updateUidLockdownRule(anyInt(), eq(true) /* add */); 10499 verify(mBpfNetMaps).updateUidLockdownRule(APP1_UID, true /* add */); 10500 verify(mBpfNetMaps).updateUidLockdownRule(APP2_UID, true /* add */); 10501 verify(mBpfNetMaps).updateUidLockdownRule(VPN_UID, true /* add */); 10510 verify(mBpfNetMaps, times(3)).updateUidLockdownRule(anyInt(), eq(false) /* add */); 10511 verify(mBpfNetMaps).updateUidLockdownRule(APP1_UID, false /* add */); 10512 verify(mBpfNetMaps).updateUidLockdownRule(APP2_UID, false /* add */); 10513 verify(mBpfNetMaps).updateUidLockdownRule(VPN_UID, false /* add */);
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 728 public void updateUidLockdownRule(final int uid, final boolean add) { in updateUidLockdownRule() method in BpfNetMaps
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 1123 mBpfNetMaps.updateUidLockdownRule(uid, add); in updateLockdownUidRule()
|