Searched refs:LINK_BANDWIDTH_UNSPECIFIED (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkCapabilitiesTest.java | 19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; 180 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils() 181 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 183 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils() 185 .minBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 189 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils() 190 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils() 192 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils() 194 .maxBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 77 mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; in clearAll() 769 public static final int LINK_BANDWIDTH_UNSPECIFIED = 0; field in NetworkCapabilities 776 private int mLinkUpBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; 777 private int mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; 855 if (a == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth() 857 } 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; 464 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkDownstreamBandwidthKbps()); in testCapabilities() 465 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities() 475 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, caps.getLinkUpstreamBandwidthKbps()); in testCapabilities() 484 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; 125 if (slowest == LINK_BANDWIDTH_UNSPECIFIED) { in isInsane()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 317 int downKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in updateCapabilities() 318 int upKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED; in updateCapabilities()
|