Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java91 private final IBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap; field in BpfCoordinatorShimImpl
119 mBpfLimitMap = deps.getBpfLimitMap(); in BpfCoordinatorShimImpl()
150 if (mBpfLimitMap != null) mBpfLimitMap.clear(); in BpfCoordinatorShimImpl()
164 && mBpfUpstream6Map != null && mBpfStatsMap != null && mBpfLimitMap != null in isInitialized()
288 mBpfLimitMap.updateEntry(new TetherLimitKey(ifIndex), new TetherLimitValue(newLimit)); in tetherOffloadSetInterfaceQuota()
333 mBpfLimitMap.deleteEntry(new TetherLimitKey(ifIndex)); in tetherOffloadGetAndClearStats()
473 mapStatus(mBpfLimitMap, "mBpfLimitMap"), in toString()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java486 private final IBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap = field in BpfCoordinatorTest
559 return mBpfLimitMap;
965 verifyWithOrder(inOrder, mBpfLimitMap).updateEntry(new TetherLimitKey(ifIndex), in verifyTetherOffloadSetInterfaceQuota()
977 inOrder.verify(mBpfLimitMap, never()).updateEntry(any(), any()); in verifyNeverTetherOffloadSetInterfaceQuota()
988 inOrder.verify(mBpfLimitMap).deleteEntry(new TetherLimitKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
1017 final InOrder inOrder = inOrder(mNetd, mBpfUpstream6Map, mBpfDownstream6Map, mBpfLimitMap, in checkTetherOffloadRuleAddAndRemove()
1360 final InOrder inOrder = inOrder(mNetd, mBpfUpstream6Map, mBpfLimitMap, mBpfStatsMap); in testSetDataLimit()
1403 final InOrder inOrder = inOrder(mNetd, mBpfUpstream6Map, mBpfLimitMap, mBpfStatsMap); in testSetDataLimitOnRule6Change()
1454 final InOrder inOrder = inOrder(mNetd, mBpfDownstream6Map, mBpfUpstream6Map, mBpfLimitMap, in testTetherOffloadRuleUpdateAndClear()
1660 verify(mBpfLimitMap).clear(); in testBpfMapClear()
[all …]