Searched refs:setOwnerUid (Results 1 – 11 of 11) sorted by relevance
387 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()
343 public void setOwnerUid(int uid) { in setOwnerUid() method in NetworkAgentWrapper344 mNetworkCapabilities.setOwnerUid(uid); in setOwnerUid()
1288 setOwnerUid(creatorUid); in restrictCapabilitiesForTestNetwork()1584 public @NonNull NetworkCapabilities setOwnerUid(final int uid) { in setOwnerUid() method in NetworkCapabilities3102 public Builder setOwnerUid(final int ownerUid) { in setOwnerUid() method in NetworkCapabilities.Builder3103 mCaps.setOwnerUid(ownerUid); in setOwnerUid()
340 .setOwnerUid(uid) in testInvariantInCanBeSatisfiedBy()
802 .setOwnerUid(normalUid) in testGetRedactedNetworkCapabilitiesForPackage()857 nc.setOwnerUid(privilegedUid); in testGetRedactedNetworkCapabilitiesForPackage()
596 setOwnerUid(Process.myUid()) in doTestAllowedUids()
491 nc.setOwnerUid(networkCapabilities.getOwnerUid()); in getDeclaredCapabilitiesSanitized()
337 …nifest.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setOwnerUid(int);
1615 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)
3051 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);
5223 builder.setOwnerUid(currentWifiConfiguration.creatorUid); in getCapabilities()