Searched refs:tunIface (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 327 final String tunIface = "tun0"; in testMigrateTun() local 331 .addValues(tunIface, 10100, SET_DEFAULT, TAG_NONE, 39605L, 46L, 12259L, 55L, 0L) in testMigrateTun() 332 .addValues(tunIface, 10100, SET_FOREGROUND, TAG_NONE, 0L, 0L, 0L, 0L, 0L) in testMigrateTun() 333 .addValues(tunIface, 10120, SET_DEFAULT, TAG_NONE, 72667L, 197L, 43909L, 241L, 0L) in testMigrateTun() 334 .addValues(tunIface, 10120, SET_FOREGROUND, TAG_NONE, 9297L, 17L, 4128L, 21L, 0L) in testMigrateTun() 336 .addValues(tunIface, tunUid, SET_DEFAULT, TAG_NONE, 4983L, 10L, 1801L, 12L, 0L) in testMigrateTun() 337 .addValues(tunIface, tunUid, SET_FOREGROUND, TAG_NONE, 0L, 0L, 0L, 0L, 0L) in testMigrateTun() 339 .addValues(tunIface, 10120, SET_DEFAULT, testTag1, 21691L, 41L, 13820L, 51L, 0L) in testMigrateTun() 340 .addValues(tunIface, 10120, SET_FOREGROUND, testTag1, 1281L, 2L, 665L, 2L, 0L) in testMigrateTun() 350 assertTrue(delta.migrateTun(tunUid, tunIface, underlyingIface)); in testMigrateTun() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 832 public boolean migrateTun(int tunUid, String tunIface, String underlyingIface) { in migrateTun() argument 836 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun() 845 Entry moved = addTrafficToApplications(tunIface, underlyingIface, tunIfaceTotal, pool); in migrateTun() 864 private void tunAdjustmentInit(int tunUid, String tunIface, String underlyingIface, in tunAdjustmentInit() argument 882 if (recycle.tag == TAG_NONE && Objects.equals(tunIface, recycle.iface)) { in tunAdjustmentInit() 899 private Entry addTrafficToApplications(String tunIface, String underlyingIface, in addTrafficToApplications() argument 905 if (Objects.equals(iface[i], tunIface)) { in addTrafficToApplications()
|