Searched refs:newNc (Results 1 – 2 of 2) sorted by relevance
345 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap() argument347 if (prev == null || newNc.equals(prev.networkCapabilities)) { in handleNetCap()356 network, newNc)); in handleNetCap()360 prev.linkProperties, newNc, network)); in handleNetCap()448 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged() argument451 final boolean newIsCellular = isCellular(newNc); in onCapabilitiesChanged()459 handleNetCap(network, newNc); in onCapabilitiesChanged()
1676 final NetworkCapabilities newNc = new NetworkCapabilities(nc); in networkCapabilitiesRestrictedForCallerPermissions() local1678 newNc.setUids(null); in networkCapabilitiesRestrictedForCallerPermissions()1679 newNc.setSSID(null); in networkCapabilitiesRestrictedForCallerPermissions()1681 if (newNc.getNetworkSpecifier() != null) { in networkCapabilitiesRestrictedForCallerPermissions()1682 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()1684 newNc.setAdministratorUids(new int[0]); in networkCapabilitiesRestrictedForCallerPermissions()1686 return newNc; in networkCapabilitiesRestrictedForCallerPermissions()1696 final NetworkCapabilities newNc = new NetworkCapabilities(nc); in maybeSanitizeLocationInfoForCaller() local1697 if (callerUid != newNc.getOwnerUid()) { in maybeSanitizeLocationInfoForCaller()1698 newNc.setOwnerUid(INVALID_UID); in maybeSanitizeLocationInfoForCaller()[all …]