Home
last modified time | relevance | path

Searched refs:TRANSPORT_TEST (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt21 import android.net.NetworkCapabilities.TRANSPORT_TEST in <lambda>()
103 .addTransportType(TRANSPORT_TEST) in <lambda>()
110 callback.request.hasTransport(TRANSPORT_TEST) in <lambda>()
116 addTransportType(NetworkCapabilities.TRANSPORT_TEST) in <lambda>()
145 callback.request.hasTransport(TRANSPORT_TEST) in <lambda>()
177 .addTransportType(TRANSPORT_TEST) in <lambda>()
DNetworkCapabilitiesTest.java39 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
692 nc.addTransportType(TRANSPORT_TEST); in testGetTransportTypes()
699 assertEquals(TRANSPORT_TEST, transportTypes[3]); in testGetTransportTypes()
/frameworks/base/tests/net/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt29 import android.net.NetworkCapabilities.TRANSPORT_TEST
37 TRANSPORT_TEST -> TYPE_TEST in transportToLegacyType()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestNetworkTracker.kt67 .addTransportType(NetworkCapabilities.TRANSPORT_TEST)
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java689 | (1 << TRANSPORT_TEST); in restrictCapabilitesForTestNetwork()
722 TRANSPORT_TEST,
767 public static final int TRANSPORT_TEST = 7; field in NetworkCapabilities
772 public static final int MAX_TRANSPORT = TRANSPORT_TEST;
793 private static final int TEST_NETWORKS_ALLOWED_TRANSPORTS = 1 << TRANSPORT_TEST
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java249 nc.addTransportType(NetworkCapabilities.TRANSPORT_TEST);
DConnectivityService.java51 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
2737 if (networkCapabilities.hasTransport(TRANSPORT_TEST)) { in maybeHandleNetworkAgentMessage()
5785 if (request.hasTransport(TRANSPORT_TEST)) { in declareNetworkRequestUnfulfillable()
5883 if (networkCapabilities.hasTransport(TRANSPORT_TEST)) { in registerNetworkAgent()
8199 if (!nc.hasTransport(TRANSPORT_TEST)) { in simulateDataStall()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java472 nc.addTransportType(NetworkCapabilities.TRANSPORT_TEST); in createDefaultNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java2244 .addTransportType(NetworkCapabilities.TRANSPORT_TEST)
/frameworks/base/api/
Dtest-current.txt1527 field public static final int TRANSPORT_TEST = 7; // 0x7