Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java19 import static android.net.NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;
235 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils()
236 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
238 .minBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils()
240 .minBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
244 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, NetworkCapabilities in testLinkBandwidthUtils()
245 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
247 .maxBandwidth(LINK_BANDWIDTH_UNSPECIFIED, 10)); in testLinkBandwidthUtils()
249 .maxBandwidth(10, LINK_BANDWIDTH_UNSPECIFIED)); in testLinkBandwidthUtils()
1103 assertEquals(LINK_BANDWIDTH_UNSPECIFIED, nc.getLinkDownstreamBandwidthKbps()); in testLinkBandwidthKbps()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java362 mLinkUpBandwidthKbps = mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED; in clearAll()
1719 public static final int LINK_BANDWIDTH_UNSPECIFIED = 0; field in NetworkCapabilities
1726 private int mLinkUpBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED;
1727 private int mLinkDownBandwidthKbps = LINK_BANDWIDTH_UNSPECIFIED;
1787 if (a == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth()
1789 } else if (b == LINK_BANDWIDTH_UNSPECIFIED) { in minBandwidth()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt613 Landroid/net/NetworkCapabilities;->LINK_BANDWIDTH_UNSPECIFIED:I
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9460 int downKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;
9461 int upKbps = NetworkCapabilities.LINK_BANDWIDTH_UNSPECIFIED;