Searched refs:VpnTransportInfo (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | VpnTransportInfoTest.java | 52 final VpnTransportInfo v = new VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, "12345"); in testParceling() 55 final VpnTransportInfo v2 = in testParceling() 56 new VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, "12345", true, true); in testParceling() 64 final VpnTransportInfo v11 = new VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, session1); in testEqualsAndHashCode() 65 final VpnTransportInfo v12 = new VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, session1); in testEqualsAndHashCode() 66 final VpnTransportInfo v13 = new VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, session1); in testEqualsAndHashCode() 67 final VpnTransportInfo v14 = new VpnTransportInfo(VpnManager.TYPE_VPN_LEGACY, session1); in testEqualsAndHashCode() 68 final VpnTransportInfo v15 = new VpnTransportInfo(VpnManager.TYPE_VPN_OEM, session1); in testEqualsAndHashCode() 69 final VpnTransportInfo v16 = new VpnTransportInfo( in testEqualsAndHashCode() 71 final VpnTransportInfo v17 = new VpnTransportInfo( in testEqualsAndHashCode() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | VpnTransportInfo.java | 46 public final class VpnTransportInfo implements TransportInfo, Parcelable { class 73 public VpnTransportInfo makeCopy(@RedactionType long redactions) { in makeCopy() 74 return new VpnTransportInfo(mType, in makeCopy() 85 public VpnTransportInfo(int type, @Nullable String sessionId) { in VpnTransportInfo() method in VpnTransportInfo 99 public VpnTransportInfo(int type, @Nullable String sessionId, boolean bypassable, in VpnTransportInfo() method in VpnTransportInfo 172 if (!(o instanceof VpnTransportInfo)) return false; in equals() 174 VpnTransportInfo that = (VpnTransportInfo) o; in equals() 206 public static final @NonNull Creator<VpnTransportInfo> CREATOR = 207 new Creator<VpnTransportInfo>() { 208 public VpnTransportInfo createFromParcel(Parcel in) { [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkScoreTest.kt | 29 import android.net.VpnTransportInfo in <lambda>() 140 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, null)) in <lambda>()
|
D | NetworkAgentTest.kt | 77 import android.net.VpnTransportInfo in <lambda>() 920 setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_SERVICE, mySessionId)) in testSetUnderlyingNetworksAndVpnSpecifier() 940 (vpnNc.transportInfo as VpnTransportInfo).type) in testSetUnderlyingNetworksAndVpnSpecifier() 941 assertEquals(mySessionId, (vpnNc.transportInfo as VpnTransportInfo).sessionId) in testSetUnderlyingNetworksAndVpnSpecifier() 1703 it.setTransportInfo(VpnTransportInfo(VpnManager.TYPE_VPN_PLATFORM, sessionId, in doTestNativeNetworkCreation()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSIngressDiscardRuleTests.kt | 30 import android.net.VpnTransportInfo 57 VpnTransportInfo( in vpnNc()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 241 public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { 242 ctor @Deprecated public VpnTransportInfo(int, @Nullable String); 245 method @NonNull public android.net.VpnTransportInfo makeCopy(long);
|
D | system-current.txt | 516 public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { 517 ctor public VpnTransportInfo(int, @Nullable String, boolean, boolean); 523 …field @NonNull public static final android.os.Parcelable.Creator<android.net.VpnTransportInfo> CRE…
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 94 import android.net.VpnTransportInfo; 1714 assertTrue(ti instanceof VpnTransportInfo); in maybeExpectVpnTransportInfo() 1715 assertEquals(VpnManager.TYPE_VPN_SERVICE, ((VpnTransportInfo) ti).getType()); in maybeExpectVpnTransportInfo()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 240 import android.net.VpnTransportInfo; 11950 if (!(ti instanceof VpnTransportInfo)) return VpnManager.TYPE_VPN_NONE; 11951 return ((VpnTransportInfo) ti).getType();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 345 import android.net.VpnTransportInfo; 1533 .setTransportInfo(new VpnTransportInfo( 1579 mNetworkCapabilities.setTransportInfo(new VpnTransportInfo(getActiveVpnType(), in registerAgent() 1720 ti instanceof VpnTransportInfo); in assertVpnTransportInfo() 1721 assertEquals(type, ((VpnTransportInfo) ti).getType()); in assertVpnTransportInfo()
|