Home
last modified time | relevance | path

Searched refs:underlyingIfaceTotal (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkStats.java949 Entry underlyingIfaceTotal = new Entry(); in migrateTun() local
951 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
956 Entry pool = tunGetPool(tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
981 Entry tunIfaceTotal, Entry underlyingIfaceTotal) { in tunAdjustmentInit() argument
995 underlyingIfaceTotal.add(recycle); in tunAdjustmentInit()
1006 private static Entry tunGetPool(Entry tunIfaceTotal, Entry underlyingIfaceTotal) { in tunGetPool() argument
1008 pool.rxBytes = Math.min(tunIfaceTotal.rxBytes, underlyingIfaceTotal.rxBytes); in tunGetPool()
1009 pool.rxPackets = Math.min(tunIfaceTotal.rxPackets, underlyingIfaceTotal.rxPackets); in tunGetPool()
1010 pool.txBytes = Math.min(tunIfaceTotal.txBytes, underlyingIfaceTotal.txBytes); in tunGetPool()
1011 pool.txPackets = Math.min(tunIfaceTotal.txPackets, underlyingIfaceTotal.txPackets); in tunGetPool()
[all …]