Searched refs:mBpfUpstream4Map (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
H A D | BpfCoordinatorShimImpl.java | 73 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()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
H A D | BpfCoordinatorTest.java | 217 @Mock private BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; field in BpfCoordinatorTest 281 return mBpfUpstream4Map; 1111 verify(mBpfUpstream4Map).clear(); in testBpfMapClear() 1418 doReturn(true).when(mBpfUpstream4Map).deleteEntry(any()); in initBpfCoordinatorForRule4() 1441 final InOrder inOrder = inOrder(mNetd, mBpfUpstream4Map, mBpfDownstream4Map, mBpfLimitMap, in testSetDataLimitOnRule4Change() 1464 inOrder.verify(mBpfUpstream4Map) in testSetDataLimitOnRule4Change() 1473 inOrder.verify(mBpfUpstream4Map) in testSetDataLimitOnRule4Change() 1482 inOrder.verify(mBpfUpstream4Map).deleteEntry(eq(expectedUpstream4KeyUdp)); in testSetDataLimitOnRule4Change() 1490 inOrder.verify(mBpfUpstream4Map).deleteEntry(eq(expectedUpstream4KeyTcp)); in testSetDataLimitOnRule4Change()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
H A D | IpServerTest.java | 186 @Mock private BpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; field in IpServerTest 323 return mBpfUpstream4Map; in setUp()
|