Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/util/
DKeepaliveUtilsTest.kt22 import android.net.NetworkCapabilities.MAX_TRANSPORT
103 val cust = IntArray(MAX_TRANSPORT + 1).apply { in testGetSupportedKeepalivesForNetworkCapabilities()
122 nc.transportTypes = intArrayOf(MAX_TRANSPORT + 1) in testGetSupportedKeepalivesForNetworkCapabilities()
/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java61 final int[] ret = new int[NetworkCapabilities.MAX_TRANSPORT + 1]; in getSupportedKeepalives()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java20 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
809 for (int i = MIN_TRANSPORT; i <= MAX_TRANSPORT; i++) { in assertNoTransport()
826 for (int i = MAX_TRANSPORT; i > maxTransportType; i--) { in checkCurrentTransportTypes()
840 for (int i = MIN_TRANSPORT; i <= MAX_TRANSPORT; i++) { in testMultipleTransportTypes()
845 for (int i = MIN_TRANSPORT; i <= MAX_TRANSPORT; i++) { in testMultipleTransportTypes()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java21 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
374 assertEquals(MAX_TRANSPORT + 1, ncTransTypes.size()); in testTransportTypesEqual()
378 for (int i = MIN_TRANSPORT; i < MAX_TRANSPORT; i++) { in testTransportTypesEqual()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java19 import static android.net.NetworkCapabilities.MAX_TRANSPORT;
377 private static final int[] TRANSPORT_LINKLAYER_MAP = new int[MAX_TRANSPORT + 1];
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java772 public static final int MAX_TRANSPORT = TRANSPORT_TEST; field in NetworkCapabilities
776 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44316 Landroid/net/NetworkCapabilities;->MAX_TRANSPORT:I