Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java387 netCap.setOwnerUid(123); in testParcelNetworkCapabilities()
1038 .setOwnerUid(1001) in testAdministratorUidsAndOwnerUid()
1044 .setOwnerUid(1001) in testAdministratorUidsAndOwnerUid()
1255 .setOwnerUid(ownerUid) in testBuilder()
1339 .setOwnerUid(ownerUid) in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()
1362 expectedNcBuilder.setAdministratorUids(new int[]{ownerUid}).setOwnerUid(ownerUid); in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()
1407 .setOwnerUid(ownerUid) in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
1450 expectedNcBuilder.setAdministratorUids(new int[]{ownerUid}).setOwnerUid(ownerUid); in testRestrictCapabilitiesForTestNetworkWithRestrictedNc()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java343 public void setOwnerUid(int uid) { in setOwnerUid() method in NetworkAgentWrapper
344 mNetworkCapabilities.setOwnerUid(uid); in setOwnerUid()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1288 setOwnerUid(creatorUid); in restrictCapabilitiesForTestNetwork()
1584 public @NonNull NetworkCapabilities setOwnerUid(final int uid) { in setOwnerUid() method in NetworkCapabilities
3102 public Builder setOwnerUid(final int ownerUid) { in setOwnerUid() method in NetworkCapabilities.Builder
3103 mCaps.setOwnerUid(ownerUid); in setOwnerUid()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java340 .setOwnerUid(uid) in testInvariantInCanBeSatisfiedBy()
DConnectivityManagerTest.java802 .setOwnerUid(normalUid) in testGetRedactedNetworkCapabilitiesForPackage()
857 nc.setOwnerUid(privilegedUid); in testGetRedactedNetworkCapabilitiesForPackage()
DNetworkAgentTest.kt596 setOwnerUid(Process.myUid()) in doTestAllowedUids()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java491 nc.setOwnerUid(networkCapabilities.getOwnerUid()); in getDeclaredCapabilitiesSanitized()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt337 …nifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setOwnerUid(int);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1615 mNetworkCapabilities.setOwnerUid(uid); in setOwnerAndAdminUid()
3567 ncTemplate.setOwnerUid(originalOwnerUid);
3577 agentCapabilities.setOwnerUid(42);
8170 .setOwnerUid(ownerUid)
12332 final NetworkCapabilities netCap = new NetworkCapabilities().setOwnerUid(ownerUid);
12651 .setOwnerUid(actualOwnerUid);
13101 nc.setOwnerUid(Process.myUid());
17580 .setOwnerUid(Process.myUid())
17847 .setOwnerUid(12345)
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3051 newNc.setOwnerUid(INVALID_UID);
3065 newNc.setOwnerUid(INVALID_UID);
3070 newNc.setOwnerUid(INVALID_UID);
3127 nc.setOwnerUid(INVALID_UID);
12377 sanitized.setOwnerUid(Process.INVALID_UID);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5223 builder.setOwnerUid(currentWifiConfiguration.creatorUid); in getCapabilities()