Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkStats.java833 Entry tunIfaceTotal = new Entry(); in migrateTun() local
836 tunAdjustmentInit(tunUid, tunIface, underlyingIface, tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
841 Entry pool = tunGetPool(tunIfaceTotal, underlyingIfaceTotal); in migrateTun()
845 Entry moved = addTrafficToApplications(tunIface, underlyingIface, tunIfaceTotal, pool); in migrateTun()
865 Entry tunIfaceTotal, Entry underlyingIfaceTotal) { in tunAdjustmentInit() argument
884 tunIfaceTotal.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()
[all …]