Searched refs:MAX_TRANSPORT (Results 1 – 7 of 7) sorted by relevance
23 import android.net.NetworkCapabilities.MAX_TRANSPORT122 val cust = IntArray(MAX_TRANSPORT + 1).apply { in testGetSupportedKeepalivesForNetworkCapabilities()141 nc.transportTypes = intArrayOf(MAX_TRANSPORT + 1) in testGetSupportedKeepalivesForNetworkCapabilities()
24 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()
179 String[] transportNames = new String[NetworkCapabilities.MAX_TRANSPORT + 1]; in setUp()180 for (int transport = 0; transport <= NetworkCapabilities.MAX_TRANSPORT; transport++) { in setUp()
63 final int[] ret = new int[NetworkCapabilities.MAX_TRANSPORT + 1]; in getSupportedKeepalives()
20 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()
935 public static final int MAX_TRANSPORT = TRANSPORT_USB; field in NetworkCapabilities939 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport()
616 Landroid/net/NetworkCapabilities;->MAX_TRANSPORT:I