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.java464 final String tunIface = "tun0"; in testMigrateTun() local
468 .addValues(tunIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 39605L, 46L, in testMigrateTun()
470 .addValues(tunIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, 0L, 0L, in testMigrateTun()
472 .addValues(tunIface, 10120, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 72667L, 197L, in testMigrateTun()
474 .addValues(tunIface, 10120, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, 9297L, in testMigrateTun()
477 .addValues(tunIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 4983L, 10L, in testMigrateTun()
479 .addValues(tunIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, 0L, 0L, in testMigrateTun()
482 .addValues(tunIface, 10120, SET_DEFAULT, testTag1, METERED_NO, ROAMING_NO, 21691L, 41L, in testMigrateTun()
484 .addValues(tunIface, 10120, SET_FOREGROUND, testTag1, METERED_NO, ROAMING_NO, 1281L, 2L, in testMigrateTun()
500 assertTrue(delta.migrateTun(tunUid, tunIface, underlyingIface)); in testMigrateTun()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java947 public boolean migrateTun(int tunUid, String tunIface, String underlyingIface) { in migrateTun() argument
951 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
961 addTrafficToApplications(tunUid, tunIface, underlyingIface, tunIfaceTotal, pool); in migrateTun()
980 private void tunAdjustmentInit(int tunUid, String tunIface, String underlyingIface, in tunAdjustmentInit() argument
999 && Objects.equals(tunIface, recycle.iface)) { in tunAdjustmentInit()
1016 private Entry addTrafficToApplications(int tunUid, String tunIface, String underlyingIface, in addTrafficToApplications() argument
1024 if (Objects.equals(iface[i], tunIface) && uid[i] != tunUid) { in addTrafficToApplications()