Searched refs:underlyingIface (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 500 final String underlyingIface = "wlan0"; in testMigrateTun() local 525 .addValues(underlyingIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 527 .addValues(underlyingIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 529 .addValues(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 532 .addValues(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 535 assertTrue(delta.toString(), delta.migrateTun(tunUid, tunIface, underlyingIface)); in testMigrateTun() 559 assertValues(delta, 9, underlyingIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun() 561 assertValues(delta, 10, underlyingIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun() 565 assertValues(delta, 11, underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun() 567 assertValues(delta, 12, underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, 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() 1139 deductTrafficFromVpnApp(tunUid, underlyingIface, moved); in migrateTun() 1157 private void tunAdjustmentInit(int tunUid, String tunIface, String underlyingIface, in tunAdjustmentInit() argument 1171 && Objects.equals(underlyingIface, recycle.iface)) { in tunAdjustmentInit() 1193 private Entry addTrafficToApplications(int tunUid, String tunIface, String underlyingIface, in addTrafficToApplications() argument 1197 tmpEntry.iface = underlyingIface; in addTrafficToApplications() 1246 private void deductTrafficFromVpnApp(int tunUid, String underlyingIface, Entry moved) { in deductTrafficFromVpnApp() argument 1251 moved.iface = underlyingIface; in deductTrafficFromVpnApp() [all …]
|