Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java71 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map; field in BpfCoordinatorShimImpl
114 mBpfDownstream4Map = deps.getBpfDownstream4Map(); in BpfCoordinatorShimImpl()
125 if (mBpfDownstream4Map != null) mBpfDownstream4Map.clear(); in BpfCoordinatorShimImpl()
163 return mBpfDownstream4Map != null && mBpfUpstream4Map != null && mBpfDownstream6Map != null in isInitialized()
347 mBpfDownstream4Map.insertEntry(key, value); in tetherOffloadRuleAdd()
370 if (!mBpfDownstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
402 mBpfDownstream4Map.forEach(action); in tetherOffloadRuleForEach()
470 mapStatus(mBpfDownstream4Map, "mBpfDownstream4Map"), in toString()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java476 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map = field in BpfCoordinatorTest
534 return mBpfDownstream4Map;
1655 verify(mBpfDownstream4Map).clear(); in testBpfMapClear()
1943 final InOrder inOrder = inOrder(mNetd, mBpfUpstream4Map, mBpfDownstream4Map, mBpfLimitMap, in testSetDataLimitOnRule4Change()
1975 inOrder.verify(mBpfDownstream4Map) in testSetDataLimitOnRule4Change()
1987 inOrder.verify(mBpfDownstream4Map) in testSetDataLimitOnRule4Change()
1998 inOrder.verify(mBpfDownstream4Map).deleteEntry(eq(expectedDownstream4KeyUdp)); in testSetDataLimitOnRule4Change()
2009 inOrder.verify(mBpfDownstream4Map).deleteEntry(eq(expectedDownstream4KeyTcp)); in testSetDataLimitOnRule4Change()
2176 verify(mBpfDownstream4Map).insertEntry(any(), any()); in testNotAllowOffloadByConntrackMessageDestinationPort()
2177 clearInvocations(mBpfUpstream4Map, mBpfDownstream4Map); in testNotAllowOffloadByConntrackMessageDestinationPort()
[all …]