Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;
216 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils()
217 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
219 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils()
221 .minBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
225 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils()
226 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
228 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils()
230 .maxBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
768 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, nc.getLinkDownstreamBandwidthKbps()); in testLinkBandwidthKbps()
[all …]
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java97 mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; in clearAll()
1071 public static final int LINK_BANDWIDTH_UNSPECIFIED = 0; field in NetworkCapabilities
1078 private int mLinkUpBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED;
1079 private int mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED;
1145 if (a == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth()
1147 } else if (b == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java23 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;
623 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities()
624 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities()
639 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities()
650 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities()
662 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;
335 if (slowest == LINK_BANDWIDTH_UNSPECIFIED) { in isInsane()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java352 int downKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in applyUnderlyingCapabilities()
353 int upKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in applyUnderlyingCapabilities()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44313 Landroid/net/NetworkCapabilities;->LINK_BANDWIDTH_UNSPECIFIED:I