Searched refs:tunIface (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 596 final String tunIface = "tun0"; in testMigrateTun() local 600 .insertEntry(tunIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 602 .insertEntry(tunIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 604 .insertEntry(tunIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 606 .insertEntry(tunIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 609 .insertEntry(tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 611 .insertEntry(tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 614 .insertEntry(tunIface, 10120, SET_DEFAULT, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun() 616 .insertEntry(tunIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun() 632 delta.migrateTun(tunUid, tunIface, Arrays.asList(underlyingIface)); in testMigrateTun() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ClatCoordinator.java | 638 final String tunIface = CLAT_PREFIX + iface; in clatStart() local 639 tunFd = mDeps.adoptFd(mDeps.createTunInterface(tunIface)); in clatStart() 640 final int tunIfIndex = mDeps.getInterfaceIndex(tunIface); in clatStart() 642 throw new IOException("Fail to get interface index for interface " + tunIface); in clatStart() 645 mNetd.interfaceSetEnableIPv6(tunIface, false /* enabled */); in clatStart() 652 mNetd.interfaceSetMtu(tunIface, mtu); in clatStart() 654 ifConfig.ifName = tunIface; in clatStart() 669 mClatdTracker = new ClatdTracker(iface, ifIndex, tunIface, tunIfIndex, v4, v6, pfx96, in clatStart()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStats.java | 1578 public void migrateTun(int tunUid, @NonNull String tunIface, in migrateTun() argument 1591 tunAdjustmentInit(tunUid, tunIface, underlyingIfaces, tunIfaceTotal, perInterfaceTotal, in migrateTun() 1598 addTrafficToApplications(tunUid, tunIface, underlyingIfaces, tunIfaceTotal, in migrateTun() 1623 private void tunAdjustmentInit(int tunUid, @NonNull String tunIface, in tunAdjustmentInit() argument 1649 if (tunIface.equals(recycle.iface)) { in tunAdjustmentInit() 1674 } else if (tunIface.equals(recycle.iface)) { in tunAdjustmentInit() 1693 private Entry[] addTrafficToApplications(int tunUid, @NonNull String tunIface, in addTrafficToApplications() argument 1706 if (!Objects.equals(iface[i], tunIface)) { in addTrafficToApplications()
|