Searched refs:tunIface (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 499 final String tunIface = "tun0"; in testMigrateTun() local 503 .addValues(tunIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 505 .addValues(tunIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 507 .addValues(tunIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 509 .addValues(tunIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 512 .addValues(tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 514 .addValues(tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 517 .addValues(tunIface, 10120, SET_DEFAULT, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun() 519 .addValues(tunIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, ROAMING_NO, in testMigrateTun() 535 assertTrue(delta.toString(), delta.migrateTun(tunUid, tunIface, underlyingIface)); in testMigrateTun() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 1124 public boolean migrateTun(int tunUid, String tunIface, String underlyingIface) { in migrateTun() argument 1128 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun() 1138 addTrafficToApplications(tunUid, tunIface, underlyingIface, tunIfaceTotal, pool); in migrateTun() 1157 private void tunAdjustmentInit(int tunUid, String tunIface, String underlyingIface, in tunAdjustmentInit() argument 1176 && Objects.equals(tunIface, recycle.iface)) { in tunAdjustmentInit() 1193 private Entry addTrafficToApplications(int tunUid, String tunIface, String underlyingIface, in addTrafficToApplications() argument 1201 if (Objects.equals(iface[i], tunIface) && uid[i] != tunUid) { in addTrafficToApplications()
|