Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java109 private final SparseArray<Integer> mRule4CountOnUpstream = new SparseArray<>(); field in BpfCoordinatorShimImpl
351 int count = mRule4CountOnUpstream.get(upstreamIfindex, 0 /* default */); in tetherOffloadRuleAdd()
352 mRule4CountOnUpstream.put(upstreamIfindex, ++count); in tetherOffloadRuleAdd()
375 Integer count = mRule4CountOnUpstream.get(upstreamIfindex); in tetherOffloadRuleRemove()
383 mRule4CountOnUpstream.remove(upstreamIfindex); in tetherOffloadRuleRemove()
385 mRule4CountOnUpstream.put(upstreamIfindex, count); in tetherOffloadRuleRemove()
436 return mRule4CountOnUpstream.get(ifIndex) != null; in isAnyIpv4RuleOnUpstream()