Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java304 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()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java123 setAdministratorUids(nc.getAdministratorUids()); in set()
700 setAdministratorUids(new int[] {creatorUid}); in restrictCapabilitesForTestNetwork()
1004 public NetworkCapabilities setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities
1743 netCap.setAdministratorUids(in.createIntArray());
2263 public Builder setAdministratorUids(@NonNull final int[] administratorUids) { in setAdministratorUids() method in NetworkCapabilities.Builder
2265 mCaps.setAdministratorUids(administratorUids); in setAdministratorUids()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java253 nc.setAdministratorUids(administratorUids);
DConnectivityService.java1684 newNc.setAdministratorUids(new int[0]); in networkCapabilitiesRestrictedForCallerPermissions()
1751 nc.setAdministratorUids(new int[0]); in restrictRequestUidsForCallerAndSetRequestorInfo()
8089 sanitized.setAdministratorUids(new int[0]); in getNetworkCapabilitiesWithoutUids()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1110 mNetworkCapabilities.setAdministratorUids(new int[] {mOwnerUID});
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1459 result.setAdministratorUids(mAdministratorUids); in getNetworkCapabilities()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java7225 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsNetworkAdministrator()
7247 nc.setAdministratorUids(new int[] {Process.myUid()}); in testCheckConnectivityDiagnosticsPermissionsFails()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java4682 result.setAdministratorUids(new int[] {currentWifiConfiguration.creatorUid}); in getCapabilities()
/frameworks/base/api/
Dtest-current.txt1538 ….NETWORK_FACTORY") public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…
Dsystem-current.txt4591 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…
/frameworks/base/non-updatable-api/
Dsystem-current.txt4591 …n.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setAdministratorUids(@NonNull in…