Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java582 final int tunUid = 10030; in testMigrateTun() local
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()
613 .insertEntry(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
616 .insertEntry(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun()
619 delta.migrateTun(tunUid, tunIface, new String[]{underlyingIface}); in testMigrateTun()
631 assertValues(delta, 4, tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
633 assertValues(delta, 5, tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun()
649 assertValues(delta, 11, underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun()
651 assertValues(delta, 12, underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, 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()
1446 deductTrafficFromVpnApp(tunUid, underlyingIfaces, moved); in migrateTun()
1469 private void tunAdjustmentInit(int tunUid, @NonNull String tunIface, in tunAdjustmentInit() argument
1488 if (recycle.uid == tunUid) { in tunAdjustmentInit()
1516 private Entry[] addTrafficToApplications(int tunUid, @NonNull String tunIface, in addTrafficToApplications() argument
1533 if (uid[i] == tunUid) { in addTrafficToApplications()
1639 int tunUid, in deductTrafficFromVpnApp() argument
1643 moved[i].uid = tunUid; in deductTrafficFromVpnApp()
[all …]