/packages/modules/Connectivity/tests/common/java/android/net/ |
D | UnderlyingNetworkInfoTest.kt | 41 assertEquals(TEST_OWNER_UID, testInfo.getOwnerUid()) in testParcelUnparcel() 47 assertEquals(0, emptyInfo.getOwnerUid()) in testParcelUnparcel()
|
D | NetworkCapabilitiesTest.java | 1027 assertEquals(INVALID_UID, nc1.getOwnerUid()); in testAdministratorUidsAndOwnerUid() 1046 assertEquals(1001, nc4.getOwnerUid()); in testAdministratorUidsAndOwnerUid() 1276 assertEquals(ownerUid, nc.getOwnerUid()); in testBuilder()
|
/packages/modules/Connectivity/framework/api/ |
D | lint-baseline.txt | 10 RequiresPermission: android.net.NetworkCapabilities#getOwnerUid(): 11 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission
|
D | system-lint-baseline.txt | 16 RequiresPermission: android.net.NetworkCapabilities#getOwnerUid(): 17 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission
|
D | module-lib-lint-baseline.txt | 18 RequiresPermission: android.net.NetworkCapabilities#getOwnerUid(): 19 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission
|
D | current.txt | 316 method public int getOwnerUid();
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | UnderlyingNetworkInfo.java | 68 public int getOwnerUid() { in getOwnerUid() method in UnderlyingNetworkInfo 126 return mOwnerUid == that.getOwnerUid() in equals()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 488 if (networkCapabilities.getOwnerUid() != nc.getOwnerUid()) { in getDeclaredCapabilitiesSanitized() 490 + networkCapabilities.getOwnerUid() + " to " + nc.getOwnerUid()); in getDeclaredCapabilitiesSanitized() 491 nc.setOwnerUid(networkCapabilities.getOwnerUid()); in getDeclaredCapabilitiesSanitized()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | TwtManager.java | 373 private int getOwnerUid(int id) { in getOwnerUid() method in TwtManager 431 iTwtCallback.onCreate(wakeDurationUs, wakeIntervalUs, linkId, getOwnerUid(cmdId), in onTwtSessionCreate()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsFactory.java | 240 delta.migrateTun(info.getOwnerUid(), info.getInterface(), in adjustForTunAnd464Xlat()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 1251 final int originalOwnerUid = getOwnerUid(); in restrictCapabilitiesForTestNetwork() 1624 public int getOwnerUid() { in getOwnerUid() method in NetworkCapabilities 3390 if (mCaps.getOwnerUid() != Process.INVALID_UID) { in build() 3391 if (!CollectionUtils.contains(mCaps.getAdministratorUids(), mCaps.getOwnerUid())) { in build()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 2907 if (!canSeeAllowedUids(callerPid, callerUid, newNc.getOwnerUid())) { 3050 if (callingUid != nc.getOwnerUid()) { 6994 && uid != vpn.networkCapabilities.getOwnerUid()) { 7179 nai.networkCapabilities.getOwnerUid()); 7207 return new UnderlyingNetworkInfo(nai.networkCapabilities.getOwnerUid(), 7228 nai.networkCapabilities.getOwnerUid(), nai.declaredUnderlyingNetworks); 9328 final int vpnAppUid = nai.networkCapabilities.getOwnerUid(); 9458 agentCaps.getOwnerUid(), underlyingNetworks); 9880 && nc.getOwnerUid() != Process.SYSTEM_UID 9958 exemptUids[1] = nai.networkCapabilities.getOwnerUid(); [all …]
|
/packages/modules/Connectivity/framework-t/api/ |
D | module-lib-current.txt | 202 method public int getOwnerUid();
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | Ikev2VpnTest.java | 566 && Process.myUid() == c.getOwnerUid()); in checkStartStopVpnProfileBuildsNetworks()
|
D | ConnectivityManagerTest.java | 844 assertEquals(normalUid, redactNc(nc, normalUid, normalPkg).getOwnerUid()); in testGetRedactedNetworkCapabilitiesForPackage() 845 assertEquals(INVALID_UID, redactNc(nc, privilegedUid, privilegedPkg).getOwnerUid()); in testGetRedactedNetworkCapabilitiesForPackage() 851 assertEquals(INVALID_UID, redactNc(nc, normalUid, normalPkg).getOwnerUid()); in testGetRedactedNetworkCapabilitiesForPackage() 858 assertEquals(privilegedUid, redactNc(nc, privilegedUid, privilegedPkg).getOwnerUid()); in testGetRedactedNetworkCapabilitiesForPackage()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3576 assertEquals(originalOwnerUid, agentCapabilities.getOwnerUid()); 3589 assertEquals(originalOwnerUid, nc.getOwnerUid()); 7874 assertEquals("Unexpected VPN owner:", (int) vpnUid, info.getOwnerUid()); 12337 .getOwnerUid(); 12668 c -> Objects.equals(expectedOwnerUid, c.getOwnerUid()) 13211 && nc.getOwnerUid() == Process.INVALID_UID
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 5845 assertEquals(mConnectedNetwork.creatorUid, networkCapabilities.getOwnerUid()); in verifyNetworkCapabilities()
|