Searched refs:newNc (Results 1 – 2 of 2) sorted by relevance
297 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap() argument299 if (prev == null || newNc.equals(prev.networkCapabilities)) { in handleNetCap()308 network, newNc)); in handleNetCap()312 if (network.equals(mTetheringUpstreamNetwork) && newNc.hasSignalStrength()) { in handleNetCap()313 final int newSignal = newNc.getSignalStrength(); in handleNetCap()319 null, prev.linkProperties, newNc, network, null, null)); in handleNetCap()417 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged() argument420 final boolean newIsCellular = isCellular(newNc); in onCapabilitiesChanged()428 handleNetCap(network, newNc); in onCapabilitiesChanged()
1573 final NetworkCapabilities newNc = new NetworkCapabilities(nc); in networkCapabilitiesRestrictedForCallerPermissions() local1575 newNc.setUids(null); in networkCapabilitiesRestrictedForCallerPermissions()1576 newNc.setSSID(null); in networkCapabilitiesRestrictedForCallerPermissions()1578 if (newNc.getNetworkSpecifier() != null) { in networkCapabilitiesRestrictedForCallerPermissions()1579 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()1581 return newNc; in networkCapabilitiesRestrictedForCallerPermissions()5760 NetworkCapabilities newNc = new NetworkCapabilities(nc); in mixInCapabilities() local5762 newNc.addCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()5764 newNc.removeCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()5767 newNc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()[all …]