Home
last modified time | relevance | path

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

123

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt23 import android.net.NetworkCapabilities.TRANSPORT_TEST in <lambda>()
144 .addTransportType(TRANSPORT_TEST) in <lambda>()
152 callback.request.hasTransport(TRANSPORT_TEST) in <lambda>()
158 addTransportType(NetworkCapabilities.TRANSPORT_TEST) in <lambda>()
189 callback.request.hasTransport(TRANSPORT_TEST) in <lambda>()
220 val ncFilter1 = NetworkCapabilities.Builder().addTransportType(TRANSPORT_TEST) in <lambda>()
222 val ncFilter2 = NetworkCapabilities.Builder().addTransportType(TRANSPORT_TEST) in <lambda>()
225 val ncFilter3 = NetworkCapabilities.Builder().addTransportType(TRANSPORT_TEST) in <lambda>()
227 val ncFilter4 = NetworkCapabilities.Builder().addTransportType(TRANSPORT_TEST) in <lambda>()
259 .addTransportType(TRANSPORT_TEST) in <lambda>()
[all …]
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt31 import android.net.NetworkCapabilities.TRANSPORT_TEST
39 TRANSPORT_TEST -> TYPE_TEST in transportToLegacyType()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DRandomnessFactory.java36 public static final int TRANSPORT_TEST = 7; field in RandomnessFactory
60 networkCapabilities != null && networkCapabilities.hasTransport(TRANSPORT_TEST); in RandomnessFactory()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java21 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
72 .addTransportType(TRANSPORT_TEST) in setupAndGetTestNetwork()
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/
DTapTestNetworkTracker.java21 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
140 .addTransportType(TRANSPORT_TEST) in newNetworkRequest()
148 .addTransportType(TRANSPORT_TEST) in newNetworkCapabilities()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java41 private static final int TRANSPORT_TEST = 7; field in NetworkMonitorUtils
89 if (nc.hasTransport(TRANSPORT_TEST) && nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED) && ( in isPrivateDnsValidationRequired()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java20 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
93 return nc.hasTransport(TRANSPORT_CELLULAR) || nc.hasTransport(TRANSPORT_TEST); in allowIpv6Tethering()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt86 .addTransportType(NetworkCapabilities.TRANSPORT_TEST).build(), cb, mHandler in <lambda>()
106 .addTransportType(NetworkCapabilities.TRANSPORT_TEST).build(), cb, mHandler) in <lambda>()
127 addTransportType(NetworkCapabilities.TRANSPORT_TEST) in <lambda>()
DConnectivityDiagnosticsManagerTest.java38 import static android.net.NetworkCapabilities.TRANSPORT_TEST;
128 .addTransportType(TRANSPORT_TEST)
478 cb.maybeVerifyConnectivityReportAvailable(mTestNetwork, interfaceName, TRANSPORT_TEST, in verifyOnNetworkConnectivityReported()
537 maybeVerifyConnectivityReportAvailable(network, interfaceName, TRANSPORT_TEST, in expectOnConnectivityReportAvailable()
592 assertTrue(nc.hasTransport(TRANSPORT_TEST)); in expectOnDataStallSuspected()
DNetworkAgentTest.kt54 import android.net.NetworkCapabilities.TRANSPORT_TEST in <lambda>()
293 addTransportType(TRANSPORT_TEST) in asEthSpecifier()
305 addTransportType(TRANSPORT_TEST) in makeTestNetworkRequest()
475 .addTransportType(TRANSPORT_TEST) in testSignalStrengthThresholds()
568 .addTransportType(TRANSPORT_TEST) in ncWithAllowedUids()
588 addTransportType(TRANSPORT_TEST) in doTestAllowedUids()
908 .addTransportType(TRANSPORT_TEST) in testSetUnderlyingNetworksAndVpnSpecifier()
917 addTransportType(TRANSPORT_TEST) in testSetUnderlyingNetworksAndVpnSpecifier()
943 val testAndVpn = intArrayOf(TRANSPORT_TEST, TRANSPORT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier()
957 val expectedTransports = (defaultNetworkTransports.toSet() + TRANSPORT_TEST + TRANSPORT_VPN) in testSetUnderlyingNetworksAndVpnSpecifier()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java1263 | (1 << TRANSPORT_TEST); in restrictCapabilitiesForTestNetwork()
1266 mTransportTypes = (originalTransportTypes | (1 << TRANSPORT_TEST)); in restrictCapabilitiesForTestNetwork()
1269 if (hasSingleTransport(TRANSPORT_TEST)) { in restrictCapabilitiesForTestNetwork()
1314 TRANSPORT_TEST,
1362 public static final int TRANSPORT_TEST = 7; field in NetworkCapabilities
1417 (1L << TRANSPORT_TEST) |
1533 return (mTransportTypes & ~(1 << TRANSPORT_TEST)) == (1 << transportType); in hasSingleTransportBesidesTest()
1821 && mTransportTypes != (1L << TRANSPORT_TEST) in setNetworkSpecifier()
1822 && Long.bitCount(mTransportTypes & ~(1L << TRANSPORT_TEST)) != 1 in setNetworkSpecifier()
1834 return (transportTypes & ~(1L << TRANSPORT_TEST)) in specifierAcceptableForMultipleTransports()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkCapabilitiesUtilsTest.kt29 import android.net.NetworkCapabilities.TRANSPORT_TEST
68 intArrayOf(TRANSPORT_ETHERNET, TRANSPORT_TEST))) in testGetAccountingTransport()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DConstantsShim.java36 public static final int TRANSPORT_TEST = 7; field in ConstantsShim
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConstantsShim.java48 public static final int TRANSPORT_TEST = 7; field in ConstantsShim
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/
DIDnsResolver.aidl62 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/
DIDnsResolver.aidl63 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/
DIDnsResolver.aidl65 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/
DIDnsResolver.aidl63 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/
DIDnsResolver.aidl65 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/
DIDnsResolver.aidl66 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/
DIDnsResolver.aidl66 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/binder/android/net/
DIDnsResolver.aidl199 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/
DIDnsResolver.aidl66 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/
DIDnsResolver.aidl66 const int TRANSPORT_TEST = 7; field
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/
DIDnsResolver.aidl66 const int TRANSPORT_TEST = 7; field

123