Searched refs:TYPE_VPN (Results 1 – 9 of 9) 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 | 41 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()
|
D | ConnectivityServiceTest.java | 86 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/ |
D | CSTest.kt | 122 TRANSPORT_VPN -> ConnectivityManager.TYPE_VPN
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 755 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/ |
D | VpnTest.java | 26 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/ |
D | ConnectivityManagerTest.java | 77 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/ |
D | ConnectivityService.java | 63 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/ |
D | current.txt | 140 field @Deprecated public static final int TYPE_VPN = 17; // 0x11
|