/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | NetworkCapabilitiesUtilsTest.kt | 30 import android.net.NetworkCapabilities.TRANSPORT_VPN 60 assertEquals(TRANSPORT_VPN, getDisplayTransport( in testGetAccountingTransport() 61 intArrayOf(TRANSPORT_VPN, TRANSPORT_WIFI))) in testGetAccountingTransport() 62 assertEquals(TRANSPORT_VPN, getDisplayTransport( in testGetAccountingTransport() 63 intArrayOf(TRANSPORT_CELLULAR, TRANSPORT_VPN))) in testGetAccountingTransport()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSIngressDiscardRuleTests.kt | 26 import android.net.NetworkCapabilities.TRANSPORT_VPN 53 .addTransportType(TRANSPORT_VPN) in vpnNc() 75 if (transport != TRANSPORT_VPN) { in vpnNc() 113 val nr = nr(TRANSPORT_VPN) in testVpnIngressDiscardRule_UpdateVpnAddress() 146 val nr = nr(TRANSPORT_VPN) in testVpnIngressDiscardRule_UpdateInterfaceName() 186 val nr = nr(TRANSPORT_VPN) in testVpnIngressDiscardRule_DuplicatedIpAddress_UpdateVpnAddress() 301 val nr = nr(TRANSPORT_VPN) in testVpnIngressDiscardRule_FeatureDisabled()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetricsTest.java | 22 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 112 nc.addTransportType(TRANSPORT_VPN); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 120 nc.addTransportType(TRANSPORT_VPN); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 126 nc.addTransportType(TRANSPORT_VPN); in testNetworkValidationMetrics_VerifyTransportTypeToEnum() 132 nc.addTransportType(TRANSPORT_VPN); in testNetworkValidationMetrics_VerifyTransportTypeToEnum()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | FullScore.java | 22 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 174 everValidated, caps.hasTransport(TRANSPORT_VPN), in fromNetworkScore() 205 final boolean vpn = caps.hasTransport(TRANSPORT_VPN); in makeProspectiveScore() 248 everValidated, caps.hasTransport(TRANSPORT_VPN), in mixInScore()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | ConnectivityServiceTestUtils.kt | 32 import android.net.NetworkCapabilities.TRANSPORT_VPN 40 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 1880 IDnsResolver::TRANSPORT_VPN}; in TEST_F() 1895 {android::net::NT_VPN, {IDnsResolver::TRANSPORT_VPN}}, in TEST_F() 1900 {IDnsResolver::TRANSPORT_CELLULAR, IDnsResolver::TRANSPORT_VPN}}, in TEST_F() 1902 {IDnsResolver::TRANSPORT_VPN, IDnsResolver::TRANSPORT_CELLULAR}}, in TEST_F() 1904 {IDnsResolver::TRANSPORT_WIFI, IDnsResolver::TRANSPORT_VPN}}, in TEST_F() 1906 {IDnsResolver::TRANSPORT_VPN, IDnsResolver::TRANSPORT_WIFI}}, in TEST_F() 1908 {IDnsResolver::TRANSPORT_BLUETOOTH, IDnsResolver::TRANSPORT_VPN}}, in TEST_F() 1910 {IDnsResolver::TRANSPORT_VPN, IDnsResolver::TRANSPORT_BLUETOOTH}}, in TEST_F() 1912 {IDnsResolver::TRANSPORT_ETHERNET, IDnsResolver::TRANSPORT_VPN}}, in TEST_F() 1914 {IDnsResolver::TRANSPORT_VPN, IDnsResolver::TRANSPORT_ETHERNET}}, in TEST_F() [all …]
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | NetworkCapabilitiesUtils.java | 44 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 67 TRANSPORT_VPN,
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkScoreTest.kt | 137 if (optionalTransports.contains(NetworkCapabilities.TRANSPORT_VPN)) { in <lambda>() 138 addTransportType(NetworkCapabilities.TRANSPORT_VPN) in <lambda>() 184 val agent2 = createTestNetworkAgent(intArrayOf(NetworkCapabilities.TRANSPORT_VPN)) in <lambda>()
|
/packages/modules/Connectivity/tests/unit/java/android/net/util/ |
D | KeepaliveUtilsTest.kt | 25 import android.net.NetworkCapabilities.TRANSPORT_VPN 128 nc.transportTypes = intArrayOf(TRANSPORT_WIFI, TRANSPORT_VPN) in testGetSupportedKeepalivesForNetworkCapabilities()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | NetworkValidationMetrics.java | 23 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 98 boolean hasVpn = nc.hasTransport(TRANSPORT_VPN); in getTransportTypeFromNC()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 60 import static android.net.NetworkCapabilities.TRANSPORT_VPN; 900 nc.addTransportType(TRANSPORT_VPN); in testGetTransportTypes() 907 assertEquals(TRANSPORT_VPN, transportTypes[2]); in testGetTransportTypes() 1172 assertFalse(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes() 1173 nc.addTransportType(TRANSPORT_VPN); in testMultipleTransportTypes() 1175 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes() 1178 assertTrue(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes() 1179 nc.removeTransportType(TRANSPORT_VPN); in testMultipleTransportTypes() 1181 assertFalse(nc.hasTransport(TRANSPORT_VPN)); in testMultipleTransportTypes()
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/ |
D | IDnsResolver.aidl | 59 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | IDnsResolver.aidl | 60 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/7/android/net/ |
D | IDnsResolver.aidl | 62 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | IDnsResolver.aidl | 60 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/8/android/net/ |
D | IDnsResolver.aidl | 62 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/10/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/9/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/binder/android/net/ |
D | IDnsResolver.aidl | 196 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/12/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/15/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/14/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/11/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/13/android/net/ |
D | IDnsResolver.aidl | 63 const int TRANSPORT_VPN = 4; field
|