Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java95 private final IBpfMap<TetherDevKey, TetherDevValue> mBpfDevMap; field in BpfCoordinatorShimImpl
120 mBpfDevMap = deps.getBpfDevMap(); in BpfCoordinatorShimImpl()
155 if (mBpfDevMap != null) mBpfDevMap.clear(); in BpfCoordinatorShimImpl()
165 && mBpfDevMap != null; in isInitialized()
442 mBpfDevMap.updateEntry(new TetherDevKey(ifIndex), new TetherDevValue(ifIndex)); in addDevMap()
453 mBpfDevMap.deleteEntry(new TetherDevKey(ifIndex)); in removeDevMap()
474 mapStatus(mBpfDevMap, "mBpfDevMap") in toString()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java488 private final IBpfMap<TetherDevKey, TetherDevValue> mBpfDevMap = field in BpfCoordinatorTest
564 return mBpfDevMap;
2022 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule6()
2024 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule6()
2026 clearInvocations(mBpfDevMap); in testAddDevMapRule6()
2032 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX2)), in testAddDevMapRule6()
2034 verify(mBpfDevMap, never()).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule6()
2048 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule4()
2050 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule4()
2052 clearInvocations(mBpfDevMap); in testAddDevMapRule4()
[all …]