Searched refs:underlyingIface (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 537 final String underlyingIface = "wlan0"; in testMigrateTun() local 562 .addValues(underlyingIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 564 .addValues(underlyingIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 566 .addValues(underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 569 .addValues(underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun() 572 assertTrue(delta.toString(), delta.migrateTun(tunUid, tunIface, underlyingIface)); in testMigrateTun() 596 assertValues(delta, 9, underlyingIface, 10100, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun() 598 assertValues(delta, 10, underlyingIface, 10100, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun() 602 assertValues(delta, 11, underlyingIface, tunUid, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun() 604 assertValues(delta, 12, underlyingIface, tunUid, SET_FOREGROUND, TAG_NONE, METERED_NO, in testMigrateTun() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 1192 public boolean migrateTun(int tunUid, String tunIface, String underlyingIface) { in migrateTun() argument 1196 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun() 1206 addTrafficToApplications(tunUid, tunIface, underlyingIface, tunIfaceTotal, pool); in migrateTun() 1207 deductTrafficFromVpnApp(tunUid, underlyingIface, moved); in migrateTun() 1225 private void tunAdjustmentInit(int tunUid, String tunIface, String underlyingIface, in tunAdjustmentInit() argument 1239 && Objects.equals(underlyingIface, recycle.iface)) { in tunAdjustmentInit() 1261 private Entry addTrafficToApplications(int tunUid, String tunIface, String underlyingIface, in addTrafficToApplications() argument 1265 tmpEntry.iface = underlyingIface; in addTrafficToApplications() 1314 private void deductTrafficFromVpnApp(int tunUid, String underlyingIface, Entry moved) { in deductTrafficFromVpnApp() argument 1319 moved.iface = underlyingIface; in deductTrafficFromVpnApp() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1385 private static VpnInfo createVpnInfo(String underlyingIface) { in createVpnInfo() argument 1389 info.primaryUnderlyingIface = underlyingIface; in createVpnInfo()
|