Home
last modified time | relevance | path

Searched refs:getAdministratorUids (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java399 setAdministratorUids(nc.getAdministratorUids()); in set()
1252 final int[] originalAdministratorUids = getAdministratorUids(); in restrictCapabilitiesForTestNetwork()
1697 public int[] getAdministratorUids() { in getAdministratorUids() method in NetworkCapabilities
2422 dest.writeIntArray(getAdministratorUids()); in writeToParcel()
3391 if (!CollectionUtils.contains(mCaps.getAdministratorUids(), mCaps.getOwnerUid())) { in build()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java650 assertArrayEquals(new int[] {1, 2, 3}, nc.getAdministratorUids()); in testSetAdministratorUids()
1033 assertTrue(Arrays.equals(administratorUids, nc2.getAdministratorUids())); in testAdministratorUidsAndOwnerUid()
1275 assertTrue(Arrays.equals(administratorUids, nc.getAdministratorUids())); in testBuilder()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt307 method @NonNull public int[] getAdministratorUids();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java8132 callback.expectCaps(mCellAgent, c -> Arrays.equals(adminUids, c.getAdministratorUids()));
8142 callback.expectCaps(mCellAgent, c -> c.getAdministratorUids().length == 0);
13210 && nc.getAdministratorUids().length == 0
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java12464 final int[] administratorUids = nai.networkCapabilities.getAdministratorUids();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java5852 networkCapabilities.getAdministratorUids()); in verifyNetworkCapabilities()