Searched refs:TYPE_VPN (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | ConnectivityServiceTestUtils.kt | 26 import android.net.ConnectivityManager.TYPE_VPN 40 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 39 import android.net.ConnectivityManager.TYPE_VPN 76 TYPE_MOBILE_EMERGENCY, TYPE_VPN) 116 val nonMobileTypes = arrayOf(TYPE_WIFI, TYPE_WIFI_P2P, TYPE_ETHERNET, TYPE_VPN) in testSupportedTypes_NoTelephony()
|
D | ConnectivityServiceTest.java | 61 import static android.net.ConnectivityManager.TYPE_VPN; 7058 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED); in testVpnUnderlyingNetworkSuspended() 7074 assertNetworkInfo(TYPE_VPN, DetailedState.SUSPENDED); in testVpnUnderlyingNetworkSuspended() 7092 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED); in testVpnUnderlyingNetworkSuspended() 7113 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED); in testVpnUnderlyingNetworkSuspended() 7129 assertNetworkInfo(TYPE_VPN, DetailedState.SUSPENDED); in testVpnUnderlyingNetworkSuspended() 7145 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED); in testVpnUnderlyingNetworkSuspended() 8405 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED); in testNetworkBlockedStatusAlwaysOnVpn() 8534 assertNetworkInfo(TYPE_VPN, DetailedState.BLOCKED); in testLegacyLockdownVpn() 8551 b1 = expectConnectivityAction(TYPE_VPN, DetailedState.CONNECTED); in testLegacyLockdownVpn() [all …]
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 20 import static android.net.ConnectivityManager.TYPE_VPN; 763 assertEquals(TYPE_VPN, mCM.getNetworkInfo(vpnNetwork).getType()); in testDefault()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 728 public static final int TYPE_VPN = 17; field in ConnectivityManager 764 TYPE_VPN, 1012 case TYPE_VPN: in getNetworkTypeName()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 47 import static android.net.ConnectivityManager.TYPE_VPN; 361 mNetworkTypes.add(TYPE_VPN); in addSupportedNetworkTypes() 658 || (networkType == ConnectivityManager.TYPE_VPN) in shouldBeSupported()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 140 field @Deprecated public static final int TYPE_VPN = 17; // 0x11
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 51 import static android.net.ConnectivityManager.TYPE_VPN; 878 addSupportedType(TYPE_VPN); in loadSupportedTypes() 986 if (type == TYPE_VPN && state == DetailedState.CONNECTED) { in add() 8414 mLegacyTypeTracker.add(TYPE_VPN, nai); in addNetworkToLegacyTypeTracker()
|