Searched refs:underlyingCaps (Results 1 – 1 of 1) sorted by relevance
322 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities() local323 if (underlyingCaps == null) continue; in applyUnderlyingCapabilities()325 for (int underlyingType : underlyingCaps.getTransportTypes()) { in applyUnderlyingCapabilities()332 underlyingCaps.getLinkDownstreamBandwidthKbps()); in applyUnderlyingCapabilities()334 underlyingCaps.getLinkUpstreamBandwidthKbps()); in applyUnderlyingCapabilities()335 metered |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_METERED); in applyUnderlyingCapabilities()336 roaming |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_ROAMING); in applyUnderlyingCapabilities()337 congested |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_CONGESTED); in applyUnderlyingCapabilities()