Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java595 final int tunUid = 10030; in testMigrateTun() local
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()
626 .insertEntry(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
629 .insertEntry(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun()
632 delta.migrateTun(tunUid, tunIface, Arrays.asList(underlyingIface)); in testMigrateTun()
644 assertValues(delta, 4, tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
646 assertValues(delta, 5, tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
662 assertValues(delta, 11, underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun()
664 assertValues(delta, 12, underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun()
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java1578 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()
1600 deductTrafficFromVpnApp(tunUid, underlyingIfaces, moved); in migrateTun()
1623 private void tunAdjustmentInit(int tunUid, @NonNull String tunIface, in tunAdjustmentInit() argument
1642 if (tunUid == Process.SYSTEM_UID) { in tunAdjustmentInit()
1665 } else if (recycle.uid == tunUid) { in tunAdjustmentInit()
1693 private Entry[] addTrafficToApplications(int tunUid, @NonNull String tunIface, in addTrafficToApplications() argument
1711 if (uid[i] == tunUid && tunUid != Process.SYSTEM_UID) { in addTrafficToApplications()
1825 int tunUid, in deductTrafficFromVpnApp() argument
[all …]