Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java73 private final BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; field in BpfCoordinatorShimImpl
113 mBpfUpstream4Map = deps.getBpfUpstream4Map(); in BpfCoordinatorShimImpl()
128 if (mBpfUpstream4Map != null) mBpfUpstream4Map.clear(); in BpfCoordinatorShimImpl()
161 return mBpfDownstream4Map != null && mBpfUpstream4Map != null && mBpfDownstream6Map != null in isInitialized()
366 mBpfUpstream4Map.insertEntry(key, value); in tetherOffloadRuleAdd()
402 if (!mBpfUpstream4Map.deleteEntry(key)) return false; // Rule did not exist in tetherOffloadRuleRemove()
420 mBpfUpstream4Map.forEach(action); in tetherOffloadRuleForEach()
495 mapStatus(mBpfUpstream4Map, "mBpfUpstream4Map"), in toString()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java380 private final BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map = field in BpfCoordinatorTest
429 return mBpfUpstream4Map;
1261 verify(mBpfUpstream4Map).clear(); in testBpfMapClear()
1523 final InOrder inOrder = inOrder(mNetd, mBpfUpstream4Map, mBpfDownstream4Map, mBpfLimitMap, in testSetDataLimitOnRule4Change()
1553 inOrder.verify(mBpfUpstream4Map) in testSetDataLimitOnRule4Change()
1565 inOrder.verify(mBpfUpstream4Map) in testSetDataLimitOnRule4Change()
1577 inOrder.verify(mBpfUpstream4Map).deleteEntry(eq(expectedUpstream4KeyUdp)); in testSetDataLimitOnRule4Change()
1588 inOrder.verify(mBpfUpstream4Map).deleteEntry(eq(expectedUpstream4KeyTcp)); in testSetDataLimitOnRule4Change()
1751 verify(mBpfUpstream4Map).insertEntry(any(), any()); in testNotAllowOffloadByConntrackMessageDestinationPort()
1753 clearInvocations(mBpfUpstream4Map, mBpfDownstream4Map); in testNotAllowOffloadByConntrackMessageDestinationPort()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java190 @Mock private BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; field in IpServerTest
331 return mBpfUpstream4Map; in setUp()