Home
last modified time | relevance | path

Searched refs:tunIface (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java583 final String tunIface = "tun0"; in testMigrateTun() local
587 .insertEntry(tunIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
589 .insertEntry(tunIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
591 .insertEntry(tunIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
593 .insertEntry(tunIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
596 .insertEntry(tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
598 .insertEntry(tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
601 .insertEntry(tunIface, 10120, SET_DEFAULT, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun()
603 .insertEntry(tunIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun()
619 delta.migrateTun(tunUid, tunIface, new String[]{underlyingIface}); in testMigrateTun()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java1424 public void migrateTun(int tunUid, @NonNull String tunIface, in migrateTun() argument
1437 tunAdjustmentInit(tunUid, tunIface, underlyingIfaces, tunIfaceTotal, perInterfaceTotal, in migrateTun()
1444 addTrafficToApplications(tunUid, tunIface, underlyingIfaces, tunIfaceTotal, in migrateTun()
1469 private void tunAdjustmentInit(int tunUid, @NonNull String tunIface, in tunAdjustmentInit() argument
1497 } else if (tunIface.equals(recycle.iface)) { in tunAdjustmentInit()
1516 private Entry[] addTrafficToApplications(int tunUid, @NonNull String tunIface, in addTrafficToApplications() argument
1529 if (!Objects.equals(iface[i], tunIface)) { in addTrafficToApplications()