Home
last modified time | relevance | path

Searched refs:setAdministratorUids (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java321 netCap.setAdministratorUids(new int[] {5, 11}); in testParcelNetworkCapabilities()
565 new NetworkCapabilities().setAdministratorUids(new int[] {2, 1, 3}); in testSetAdministratorUids()
573 new NetworkCapabilities().setAdministratorUids(new int[] {1, 1}); in testSetAdministratorUidsWithDuplicates()
657 nc1.setAdministratorUids(adminUids); in testCombineCapabilities_AdministratorUids()
663 nc1.setAdministratorUids(adminUidsOtherOrder); in testCombineCapabilities_AdministratorUids()
667 nc1.setAdministratorUids(adminUids2); in testCombineCapabilities_AdministratorUids()
895 .setAdministratorUids(administratorUids) in testAdministratorUidsAndOwnerUid()
907 .setAdministratorUids(administratorUids) in testAdministratorUidsAndOwnerUid()
913 .setAdministratorUids(null) in testAdministratorUidsAndOwnerUid()
1118 .setAdministratorUids(administratorUids) in testBuilder()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java208 setAdministratorUids(nc.getAdministratorUids()); in set()
856 setAdministratorUids(new int[] {creatorUid}); in restrictCapabilitesForTestNetwork()
1186 public NetworkCapabilities setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities
1960 netCap.setAdministratorUids(in.createIntArray());
2589 public Builder setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities.Builder
2591 mCaps.setAdministratorUids(administratorUids); in setAdministratorUids()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java253 nc.setAdministratorUids(administratorUids); in registerTestNetworkAgent()
DConnectivityService.java2061 newNc.setAdministratorUids(new int[0]); in networkCapabilitiesRestrictedForCallerPermissions()
2268 nc.setAdministratorUids(new int[0]); in restrictRequestUidsForCallerAndSetRequestorInfo()
9347 sanitized.setAdministratorUids(new int[0]); in getNetworkCapabilitiesWithoutUids()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java301 .setAdministratorUids(new int [] {uid}).build(); in testInvariantInCanBeSatisfiedBy()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt301 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1367 mNetworkCapabilities.setAdministratorUids(new int[]{uid}); in setOwnerAndAdminUid()
6463 .setAdministratorUids(new int[]{ownerUid}) in testNonVpnUnderlyingNetworks()
10301 nc.setAdministratorUids(new int[] {wrongUid}); in testCheckConnectivityDiagnosticsPermissionsWrongUidPackageName()
10327 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsCellularNoLocationPermission()
10338 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsWifiNoLocationPermission()
10377 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsNetworkAdministrator()
10394 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsFails()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3940 builder.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid});