Searched refs:MAX_TRANSPORT (Results 1 – 7 of 7) sorted by relevance
22 import android.net.NetworkCapabilities.MAX_TRANSPORT117 val cust = IntArray(MAX_TRANSPORT + 1).apply { in testGetSupportedKeepalivesForNetworkCapabilities()136 nc.transportTypes = intArrayOf(MAX_TRANSPORT + 1) in testGetSupportedKeepalivesForNetworkCapabilities()
49 final int[] ret = new int[NetworkCapabilities.MAX_TRANSPORT + 1]; in getSupportedKeepalives()
25 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()
204 String[] transportNames = new String[NetworkCapabilities.MAX_TRANSPORT + 1]; in setUp()205 for (int transport = 0; transport <= NetworkCapabilities.MAX_TRANSPORT; transport++) { in setUp()
20 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()
1383 public static final int MAX_TRANSPORT = TRANSPORT_SATELLITE; field in NetworkCapabilities1388 for (int i = MIN_TRANSPORT; i <= MAX_TRANSPORT; ++i) {1396 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport()
616 Landroid/net/NetworkCapabilities;->MAX_TRANSPORT:I