Searched refs:underlyingCaps (Results 1 – 1 of 1) sorted by relevance
363 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities() local364 if (underlyingCaps == null) continue; in applyUnderlyingCapabilities()366 for (int underlyingType : underlyingCaps.getTransportTypes()) { in applyUnderlyingCapabilities()373 underlyingCaps.getLinkDownstreamBandwidthKbps()); in applyUnderlyingCapabilities()375 underlyingCaps.getLinkUpstreamBandwidthKbps()); in applyUnderlyingCapabilities()378 metered |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_METERED); in applyUnderlyingCapabilities()381 roaming |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_ROAMING); in applyUnderlyingCapabilities()384 congested |= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_CONGESTED); in applyUnderlyingCapabilities()387 suspended &= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in applyUnderlyingCapabilities()