Home
last modified time | relevance | path

Searched refs:TYPE_VPN (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/integration/util/com/android/server/
DConnectivityServiceTestUtils.kt26 import android.net.ConnectivityManager.TYPE_VPN
40 TRANSPORT_VPN -> TYPE_VPN in transportToLegacyType()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DLegacyTypeTrackerTest.kt41 import android.net.ConnectivityManager.TYPE_VPN
77 TYPE_MOBILE_EMERGENCY, TYPE_VPN)
117 val nonMobileTypes = arrayOf(TYPE_WIFI, TYPE_WIFI_P2P, TYPE_ETHERNET, TYPE_VPN) in testSupportedTypes_NoTelephony()
DConnectivityServiceTest.java86 import static android.net.ConnectivityManager.TYPE_VPN;
8822 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED);
8837 assertNetworkInfo(TYPE_VPN, DetailedState.SUSPENDED);
8854 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED);
8873 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED);
8888 assertNetworkInfo(TYPE_VPN, DetailedState.SUSPENDED);
8903 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED);
10192 assertNetworkInfo(TYPE_VPN, DetailedState.CONNECTED);
10318 assertNetworkInfo(TYPE_VPN, DetailedState.BLOCKED);
10321 final ExpectedBroadcast b2 = expectConnectivityAction(TYPE_VPN, DetailedState.CONNECTED);
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTest.kt122 TRANSPORT_VPN -> ConnectivityManager.TYPE_VPN
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java755 public static final int TYPE_VPN = 17; field in ConnectivityManager
791 TYPE_VPN,
1312 case TYPE_VPN: in getNetworkTypeName()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java26 import static android.net.ConnectivityManager.TYPE_VPN;
1022 assertEquals(TYPE_VPN, mCM.getNetworkInfo(vpnNetwork).getType()); in testDefault()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java77 import static android.net.ConnectivityManager.TYPE_VPN;
435 mNetworkTypes.add(TYPE_VPN); in addSupportedNetworkTypes()
995 || (networkType == ConnectivityManager.TYPE_VPN) in shouldBeSupported()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java63 import static android.net.ConnectivityManager.TYPE_VPN;
1167 addSupportedType(TYPE_VPN); in loadSupportedTypes()
1275 if (type == TYPE_VPN && state == DetailedState.CONNECTED) { in add()
11136 mLegacyTypeTracker.add(TYPE_VPN, nai);
/packages/modules/Connectivity/framework/api/
Dcurrent.txt140 field @Deprecated public static final int TYPE_VPN = 17; // 0x11