Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/util/
DKeepaliveUtilsTest.kt22 import android.net.NetworkCapabilities.MAX_TRANSPORT
117 val cust = IntArray(MAX_TRANSPORT + 1).apply { in testGetSupportedKeepalivesForNetworkCapabilities()
136 nc.transportTypes = intArrayOf(MAX_TRANSPORT + 1) in testGetSupportedKeepalivesForNetworkCapabilities()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveResourceUtil.java49 final int[] ret = new int[NetworkCapabilities.MAX_TRANSPORT + 1]; in getSupportedKeepalives()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java25 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
367 assertEquals(MAX_TRANSPORT + 1, ncTransTypes.size()); in testTransportTypesEqual()
371 for (int i = MIN_TRANSPORT; i < MAX_TRANSPORT; i++) { in testTransportTypesEqual()
DNetworkNotificationManagerTest.java204 String[] transportNames = new String[NetworkCapabilities.MAX_TRANSPORT + 1]; in setUp()
205 for (int transport = 0; transport <= NetworkCapabilities.MAX_TRANSPORT; transport++) { in setUp()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java20 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
1114 if (!isAtLeastS() && MAX_TRANSPORT == TRANSPORT_USB) return MAX_TRANSPORT - 1; in getMaxTransport()
1115 return MAX_TRANSPORT; in getMaxTransport()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1383 public static final int MAX_TRANSPORT = TRANSPORT_SATELLITE; field in NetworkCapabilities
1388 for (int i = MIN_TRANSPORT; i <= MAX_TRANSPORT; ++i) {
1396 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt616 Landroid/net/NetworkCapabilities;->MAX_TRANSPORT:I