Searched refs:setAdministratorUids (Results 1 – 11 of 11) sorted by relevance
304 netCap.setAdministratorUids(new int[] {5, 11}); in testParcelNetworkCapabilities()467 new NetworkCapabilities().setAdministratorUids(new int[] {2, 1, 3}); in testSetAdministratorUids()475 new NetworkCapabilities().setAdministratorUids(new int[] {1, 1}); in testSetAdministratorUidsWithDuplicates()541 nc1.setAdministratorUids(adminUids); in testCombineCapabilities_AdministratorUids()547 nc1.setAdministratorUids(adminUidsOtherOrder); in testCombineCapabilities_AdministratorUids()551 nc1.setAdministratorUids(adminUids2); in testCombineCapabilities_AdministratorUids()740 .setAdministratorUids(administratorUids) in testAdministratorUidsAndOwnerUid()752 .setAdministratorUids(administratorUids) in testAdministratorUidsAndOwnerUid()758 .setAdministratorUids(null) in testAdministratorUidsAndOwnerUid()900 .setAdministratorUids(administratorUids) in testBuilder()
123 setAdministratorUids(nc.getAdministratorUids()); in set()700 setAdministratorUids(new int[] {creatorUid}); in restrictCapabilitesForTestNetwork()1004 public NetworkCapabilities setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities1743 netCap.setAdministratorUids(in.createIntArray());2263 public Builder setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities.Builder2265 mCaps.setAdministratorUids(administratorUids); in setAdministratorUids()
253 nc.setAdministratorUids(administratorUids);
1684 newNc.setAdministratorUids(new int[0]); in networkCapabilitiesRestrictedForCallerPermissions()1751 nc.setAdministratorUids(new int[0]); in restrictRequestUidsForCallerAndSetRequestorInfo()8089 sanitized.setAdministratorUids(new int[0]); in getNetworkCapabilitiesWithoutUids()
1110 mNetworkCapabilities.setAdministratorUids(new int[] {mOwnerUID});
1459 result.setAdministratorUids(mAdministratorUids); in getNetworkCapabilities()
7225 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsNetworkAdministrator()7247 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsFails()
4682 result.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid}); in getCapabilities()
1538 ….NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…
4591 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…