Home
last modified time | relevance | path

Searched refs:VpnInfo (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnInfo.java30 public class VpnInfo implements Parcelable { class
56 public static final Parcelable.Creator<VpnInfo> CREATOR = new Parcelable.Creator<VpnInfo>() {
58 public VpnInfo createFromParcel(Parcel source) {
59 VpnInfo info = new VpnInfo();
67 public VpnInfo[] newArray(int size) {
68 return new VpnInfo[size];
DVpnInfo.aidl19 parcelable VpnInfo;
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java45 import com.android.internal.net.VpnInfo;
82 mFactory.updateVpnInfos(new VpnInfo[0]); in setUp()
108 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnRewriteTrafficThroughItself()
137 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {CLAT_PREFIX + TEST_IFACE})}; in testVpnWithClat()
170 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnWithOneUnderlyingIface()
194 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnWithOneUnderlyingIfaceAndOwnTraffic()
222 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnWithOneUnderlyingIface_withCompression()
245 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE, TEST_IFACE2})}; in testVpnWithTwoUnderlyingIfaces_packetDuplication()
270 final VpnInfo[] vpnInfos = new VpnInfo[] { in testConcurrentVpns()
311 VpnInfo[] vpnInfos = new VpnInfo[] {createVpnInfo(new String[] {TEST_IFACE, TEST_IFACE2})}; in testVpnWithTwoUnderlyingIfaces_splitTraffic()
[all …]
DNetworkStatsBaseTest.java37 import com.android.internal.net.VpnInfo;
111 static VpnInfo createVpnInfo(String[] underlyingIfaces) { in createVpnInfo()
115 static VpnInfo createVpnInfo(String vpnIface, String[] underlyingIfaces) { in createVpnInfo()
116 VpnInfo info = new VpnInfo(); in createVpnInfo()
DNetworkStatsServiceTest.java103 import com.android.internal.net.VpnInfo;
269 mService.forceUpdateIfaces(NETWORKS_WIFI, states, getActiveIface(states), new VpnInfo[0]);
312 mService.forceUpdateIfaces(NETWORKS_WIFI, states, getActiveIface(states), new VpnInfo[0]);
385 mService.forceUpdateIfaces(NETWORKS_WIFI, states, getActiveIface(states), new VpnInfo[0]);
425 mService.forceUpdateIfaces(NETWORKS_MOBILE, states, getActiveIface(states), new VpnInfo[0]);
459 mService.forceUpdateIfaces(NETWORKS_MOBILE, states, getActiveIface(states), new VpnInfo[0]);
498 mService.forceUpdateIfaces(NETWORKS_WIFI, states, getActiveIface(states), new VpnInfo[0]);
557 mService.forceUpdateIfaces(NETWORKS_MOBILE, states, getActiveIface(states), new VpnInfo[0]);
583 mService.forceUpdateIfaces(NETWORKS_MOBILE, states, getActiveIface(states), new VpnInfo[0]);
620 new VpnInfo[0]);
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java37 import com.android.internal.net.VpnInfo;
84 private volatile VpnInfo[] mVpnInfos = new VpnInfo[0];
119 public void updateVpnInfos(VpnInfo[] vpnArray) { in updateVpnInfos()
322 final VpnInfo[] vpnArray = mVpnInfos; in readNetworkStatsDetail()
373 NetworkStats uidDetailStats, NetworkStats previousStats, VpnInfo[] vpnArray) { in adjustForTunAnd464Xlat()
384 for (VpnInfo info : vpnArray) { in adjustForTunAnd464Xlat()
DNetworkStatsService.java144 import com.android.internal.net.VpnInfo;
942 VpnInfo[] vpnInfos) { in forceUpdateIfaces()
/frameworks/base/core/java/android/net/
DINetworkStatsService.aidl30 import com.android.internal.net.VpnInfo;
73 in VpnInfo[] vpnInfos); in forceUpdateIfaces()
DIConnectivityManager.aidl42 import com.android.internal.net.VpnInfo;
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java227 import com.android.internal.net.VpnInfo;
1029 private VpnInfo mVpnInfo;
1114 public synchronized VpnInfo getVpnInfo() { in getVpnInfo()
1120 private synchronized void setVpnInfo(VpnInfo vpnInfo) { in setVpnInfo()
4785 eq(new VpnInfo[0])); in testStatsIfacesChanged()
4795 eq(new VpnInfo[0])); in testStatsIfacesChanged()
4803 eq(MOBILE_IFNAME), eq(new VpnInfo[0])); in testStatsIfacesChanged()
4811 eq(new VpnInfo[0])); in testStatsIfacesChanged()
4818 eq(new VpnInfo[0])); in testStatsIfacesChanged()
4826 eq(new VpnInfo[0])); in testStatsIfacesChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java107 import com.android.internal.net.VpnInfo;
1721 public synchronized VpnInfo getVpnInfo() {
1726 VpnInfo info = new VpnInfo();
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java188 import com.android.internal.net.VpnInfo;
4682 private VpnInfo[] getAllVpnInfo() { in getAllVpnInfo()
4686 return new VpnInfo[0]; in getAllVpnInfo()
4689 List<VpnInfo> infoList = new ArrayList<>(); in getAllVpnInfo()
4691 VpnInfo info = createVpnInfo(mVpns.valueAt(i)); in getAllVpnInfo()
4696 return infoList.toArray(new VpnInfo[infoList.size()]); in getAllVpnInfo()
4705 private VpnInfo createVpnInfo(Vpn vpn) { in createVpnInfo()
4706 VpnInfo info = vpn.getVpnInfo(); in createVpnInfo()
7445 final VpnInfo[] vpnInfos = getAllVpnInfo(); in notifyIfacesChangedForNetworkStats()
7702 final VpnInfo info = vpn.getVpnInfo(); in getVpnIfOwner()
/frameworks/base/config/
Dpreloaded-classes8218 com.android.internal.net.VpnInfo$1
8219 com.android.internal.net.VpnInfo
Dboot-image-profile.txt48647 Lcom/android/internal/net/VpnInfo$1;
48648 Lcom/android/internal/net/VpnInfo;
/frameworks/base/services/
Dart-profile1890 …ityService;->createVpnInfo(Lcom/android/server/connectivity/Vpn;)Lcom/android/internal/net/VpnInfo;
1938 HPLcom/android/server/ConnectivityService;->getAllVpnInfo()[Lcom/android/internal/net/VpnInfo;
12950 HPLcom/android/server/connectivity/Vpn;->getVpnInfo()Lcom/android/internal/net/VpnInfo;
20512 …id/net/NetworkStats;Landroid/net/NetworkStats;[Lcom/android/internal/net/VpnInfo;)Landroid/net/Net…
20521 HPLcom/android/server/net/NetworkStatsFactory;->updateVpnInfos([Lcom/android/internal/net/VpnInfo;)V
20674 …roid/net/Network;[Landroid/net/NetworkState;Ljava/lang/String;[Lcom/android/internal/net/VpnInfo;)V