Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java469 assertArrayEquals(new int[] {1, 2, 3}, nc.getAdministratorUids()); in testSetAdministratorUids()
544 assertArrayEquals(nc2.getAdministratorUids(), adminUids); in testCombineCapabilities_AdministratorUids()
553 assertFalse(Arrays.equals(nc2.getAdministratorUids(), adminUids2)); in testCombineCapabilities_AdministratorUids()
742 assertTrue(Arrays.equals(administratorUids, nc2.getAdministratorUids())); in testAdministratorUidsAndOwnerUid()
915 assertTrue(Arrays.equals(administratorUids, nc.getAdministratorUids())); in testBuilder()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java123 setAdministratorUids(nc.getAdministratorUids()); in set()
686 final int[] originalAdministratorUids = getAdministratorUids(); in restrictCapabilitesForTestNetwork()
1029 public int[] getAdministratorUids() { in getAdministratorUids() method in NetworkCapabilities
1719 dest.writeIntArray(getAdministratorUids()); in writeToParcel()
2425 if (!ArrayUtils.contains(mCaps.getAdministratorUids(), mCaps.getOwnerUid())) { in build()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3434 networkCapabilities.getAdministratorUids()); in verifyNetworkCapabilities()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java7332 && nc.getAdministratorUids().length == 0 in testConnectivityDiagnosticsCallbackOnConnectivityReportAvailable()
7353 && nc.getAdministratorUids().length == 0 in testConnectivityDiagnosticsCallbackOnDataStallSuspected()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java8140 final int[] administratorUids = nai.networkCapabilities.getAdministratorUids(); in checkConnectivityDiagnosticsPermissions()
/frameworks/base/api/
Dtest-current.txt1522 method @NonNull public int[] getAdministratorUids();
Dsystem-current.txt4575 method @NonNull public int[] getAdministratorUids();
/frameworks/base/non-updatable-api/
Dsystem-current.txt4575 method @NonNull public int[] getAdministratorUids();