Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
H A DBpfCoordinatorShimImpl.java93 private final BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap; field in BpfCoordinatorShimImpl
118 mBpfDevMap = deps.getBpfDevMap(); in BpfCoordinatorShimImpl()
153 if (mBpfDevMap != null) mBpfDevMap.clear(); in BpfCoordinatorShimImpl()
163 && mBpfDevMap != null; in isInitialized()
464 mBpfDevMap.updateEntry(new TetherDevKey(ifIndex), new TetherDevValue(ifIndex)); in addDevMap()
477 mBpfDevMap.deleteEntry(new TetherDevKey(ifIndex)); in removeDevMap()
498 mapStatus(mBpfDevMap, "mBpfDevMap") in toString()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DBpfCoordinatorTest.java220 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap; field in BpfCoordinatorTest
306 return mBpfDevMap;
1506 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule6()
1508 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule6()
1510 clearInvocations(mBpfDevMap); in testAddDevMapRule6()
1513 verify(mBpfDevMap, never()).updateEntry(any(), any()); in testAddDevMapRule6()
1523 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule4()
1525 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule4()
1527 clearInvocations(mBpfDevMap); in testAddDevMapRule4()
1530 verify(mBpfDevMap, never()).updateEntry(any(), any()); in testAddDevMapRule4()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
H A DIpServerTest.java191 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap; field in IpServerTest
348 return mBpfDevMap; in setUp()