Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkStats.java834 Entry underlyingIfaceTotal = new Entry(); in migrateTun() local
836 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
841 Entry pool = tunGetPool(tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
865 Entry tunIfaceTotal, Entry underlyingIfaceTotal) { in tunAdjustmentInit() argument
879 underlyingIfaceTotal.add(recycle); in tunAdjustmentInit()
889 private static Entry tunGetPool(Entry tunIfaceTotal, Entry underlyingIfaceTotal) { in tunGetPool() argument
891 pool.rxBytes = Math.min(tunIfaceTotal.rxBytes, underlyingIfaceTotal.rxBytes); in tunGetPool()
892 pool.rxPackets = Math.min(tunIfaceTotal.rxPackets, underlyingIfaceTotal.rxPackets); in tunGetPool()
893 pool.txBytes = Math.min(tunIfaceTotal.txBytes, underlyingIfaceTotal.txBytes); in tunGetPool()
894 pool.txPackets = Math.min(tunIfaceTotal.txPackets, underlyingIfaceTotal.txPackets); in tunGetPool()
[all …]