Searched refs:LINK_BANDWIDTH_UNSPECIFIED (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; 184 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils() 185 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 187 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils() 189 .minBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 193 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils() 194 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 196 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils() 198 .maxBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 82 mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; in clearAll() 834 public static final int LINK_BANDWIDTH_UNSPECIFIED = 0; field in NetworkCapabilities 841 private int mLinkUpBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; 842 private int mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; 920 if (a == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth() 922 } else if (b == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 23 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; 577 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities() 578 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities() 592 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities() 602 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities() 613 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 19 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/ |
D | Vpn.java | 310 int downKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in applyUnderlyingCapabilities() 311 int upKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in applyUnderlyingCapabilities()
|