Searched refs:setAdministratorUids (Results 1 – 8 of 8) sorted by relevance
321 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()
208 setAdministratorUids(nc.getAdministratorUids()); in set()856 setAdministratorUids(new int[] {creatorUid}); in restrictCapabilitesForTestNetwork()1186 public NetworkCapabilities setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities1960 netCap.setAdministratorUids(in.createIntArray());2589 public Builder setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities.Builder2591 mCaps.setAdministratorUids(administratorUids); in setAdministratorUids()
253 nc.setAdministratorUids(administratorUids); in registerTestNetworkAgent()
2061 newNc.setAdministratorUids(new int[0]); in networkCapabilitiesRestrictedForCallerPermissions()2268 nc.setAdministratorUids(new int[0]); in restrictRequestUidsForCallerAndSetRequestorInfo()9347 sanitized.setAdministratorUids(new int[0]); in getNetworkCapabilitiesWithoutUids()
301 .setAdministratorUids(new int [] {uid}).build(); in testInvariantInCanBeSatisfiedBy()
301 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…
1367 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()
3940 builder.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid});