Home
last modified time | relevance | path

Searched refs:setNetPermForUids (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java199 mBpfNetMaps.setNetPermForUids(PERMISSION_INTERNET, TEST_UIDS); in testBpfNetMapsBeforeT()
742 mBpfNetMaps.setNetPermForUids(PERMISSION_INTERNET, TEST_UIDS); in testSetNetPermForUidsGrantInternetPermission()
750 mBpfNetMaps.setNetPermForUids(PERMISSION_UPDATE_DEVICE_STATS, TEST_UIDS); in testSetNetPermForUidsGrantUpdateStatsPermission()
762 mBpfNetMaps.setNetPermForUids(permission, TEST_UIDS); in testSetNetPermForUidsGrantMultiplePermissions()
775 mBpfNetMaps.setNetPermForUids(PERMISSION_INTERNET, TEST_UIDS); in testSetNetPermForUidsRevokeInternetPermission()
776 mBpfNetMaps.setNetPermForUids(PERMISSION_NONE, new int[]{uid0}); in testSetNetPermForUidsRevokeInternetPermission()
787 mBpfNetMaps.setNetPermForUids(PERMISSION_UPDATE_DEVICE_STATS, TEST_UIDS); in testSetNetPermForUidsRevokeUpdateDeviceStatsPermission()
788 mBpfNetMaps.setNetPermForUids(PERMISSION_NONE, new int[]{uid0}); in testSetNetPermForUidsRevokeUpdateDeviceStatsPermission()
800 mBpfNetMaps.setNetPermForUids(permission, TEST_UIDS); in testSetNetPermForUidsRevokeMultiplePermissions()
801 mBpfNetMaps.setNetPermForUids(PERMISSION_NONE, new int[]{uid0}); in testSetNetPermForUidsRevokeMultiplePermissions()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java1190 mBpfNetMaps.setNetPermForUids( in sendAppIdsTrafficPermission()
1195 mBpfNetMaps.setNetPermForUids(PERMISSION_INTERNET, in sendAppIdsTrafficPermission()
1199 mBpfNetMaps.setNetPermForUids(PERMISSION_UPDATE_DEVICE_STATS, in sendAppIdsTrafficPermission()
1203 mBpfNetMaps.setNetPermForUids(PERMISSION_NONE, in sendAppIdsTrafficPermission()
1207 mBpfNetMaps.setNetPermForUids(PERMISSION_UNINSTALLED, in sendAppIdsTrafficPermission()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java783 public void setNetPermForUids(final int permissions, final int[] uids) throws RemoteException { in setNetPermForUids() method in BpfNetMaps
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java618 }).when(mockBpfmap).setNetPermForUids(anyInt(), any(int[].class)); in BpfMapMonitor()