Searched refs:newNc (Results 1 – 2 of 2) sorted by relevance
301 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap() argument303 if (prev == null || newNc.equals(prev.networkCapabilities)) { in handleNetCap()312 network, newNc)); in handleNetCap()316 if (network.equals(mTetheringUpstreamNetwork) && newNc.hasSignalStrength()) { in handleNetCap()317 final int newSignal = newNc.getSignalStrength(); in handleNetCap()323 null, prev.linkProperties, newNc, network, null, null)); in handleNetCap()423 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged() argument424 handleNetCap(network, newNc); in onCapabilitiesChanged()
1422 final NetworkCapabilities newNc = new NetworkCapabilities(nc); in networkCapabilitiesRestrictedForCallerPermissions() local1424 newNc.setUids(null); in networkCapabilitiesRestrictedForCallerPermissions()1425 newNc.setSSID(null); in networkCapabilitiesRestrictedForCallerPermissions()1427 return newNc; in networkCapabilitiesRestrictedForCallerPermissions()4888 NetworkCapabilities newNc = new NetworkCapabilities(nc); in mixInCapabilities() local4890 newNc.addCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()4892 newNc.removeCapability(NET_CAPABILITY_VALIDATED); in mixInCapabilities()4895 newNc.addCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()4897 newNc.removeCapability(NET_CAPABILITY_CAPTIVE_PORTAL); in mixInCapabilities()4900 newNc.removeCapability(NET_CAPABILITY_FOREGROUND); in mixInCapabilities()[all …]