Home
last modified time | relevance | path

Searched refs:underlyingCaps (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java363 final NetworkCapabilities underlyingCaps = cm.getNetworkCapabilities(underlying); in applyUnderlyingCapabilities() local
364 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()