/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 23 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/ |
D | ConnectivityServiceTestUtils.kt | 31 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/ |
D | RandomnessFactory.java | 36 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/ |
D | TestNetworkUtils.java | 21 import static android.net.NetworkCapabilities.TRANSPORT_TEST; 72 .addTransportType(TRANSPORT_TEST) in setupAndGetTestNetwork()
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | TapTestNetworkTracker.java | 21 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/ |
D | NetworkMonitorUtils.java | 41 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/ |
D | TetheringInterfaceUtils.java | 20 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/ |
D | NetworkScoreTest.kt | 86 .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>()
|
D | ConnectivityDiagnosticsManagerTest.java | 38 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()
|
D | NetworkAgentTest.kt | 54 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/ |
D | NetworkCapabilities.java | 1263 | (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/ |
D | NetworkCapabilitiesUtilsTest.kt | 29 import android.net.NetworkCapabilities.TRANSPORT_TEST 68 intArrayOf(TRANSPORT_ETHERNET, TRANSPORT_TEST))) in testGetAccountingTransport()
|
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/ |
D | ConstantsShim.java | 36 public static final int TRANSPORT_TEST = 7; field in ConstantsShim
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | ConstantsShim.java | 48 public static final int TRANSPORT_TEST = 7; field in ConstantsShim
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/ |
D | IDnsResolver.aidl | 62 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/ |
D | IDnsResolver.aidl | 65 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/ |
D | IDnsResolver.aidl | 65 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/ |
D | IDnsResolver.aidl | 66 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/ |
D | IDnsResolver.aidl | 66 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/binder/android/net/ |
D | IDnsResolver.aidl | 199 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/ |
D | IDnsResolver.aidl | 66 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | IDnsResolver.aidl | 66 const int TRANSPORT_TEST = 7; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/ |
D | IDnsResolver.aidl | 66 const int TRANSPORT_TEST = 7; field
|