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.kt23 import android.net.NetworkCapabilities.MAX_TRANSPORT
122 val cust = IntArray(MAX_TRANSPORT + 1).apply { in testGetSupportedKeepalivesForNetworkCapabilities()
141 nc.transportTypes = intArrayOf(MAX_TRANSPORT + 1) in testGetSupportedKeepalivesForNetworkCapabilities()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java24 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
386 assertEquals(MAX_TRANSPORT + 1, ncTransTypes.size()); in testTransportTypesEqual()
390 for (int i = MIN_TRANSPORT; i < MAX_TRANSPORT; i++) { in testTransportTypesEqual()
DNetworkNotificationManagerTest.java179 String[] transportNames = new String[NetworkCapabilities.MAX_TRANSPORT + 1]; in setUp()
180 for (int transport = 0; transport <= NetworkCapabilities.MAX_TRANSPORT; transport++) { in setUp()
/packages/modules/Connectivity/framework/src/android/net/util/
DKeepaliveUtils.java63 final int[] ret = new int[NetworkCapabilities.MAX_TRANSPORT + 1]; in getSupportedKeepalives()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java20 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
978 if (!isAtLeastS() && MAX_TRANSPORT == TRANSPORT_USB) return MAX_TRANSPORT - 1; in getMaxTransport()
979 return MAX_TRANSPORT; in getMaxTransport()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java935 public static final int MAX_TRANSPORT = TRANSPORT_USB; field in NetworkCapabilities
939 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