Home
last modified time | relevance | path

Searched refs:TetherDevKey (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherDevKey.java24 public class TetherDevKey extends Struct { class
28 public TetherDevKey(final long ifIndex) { in TetherDevKey() method in TetherDevKey
DBpfCoordinator.java377 @Nullable public BpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() { in getBpfDevMap()
381 BpfMap.BPF_F_RDWR, TetherDevKey.class, TetherDevValue.class); in getBpfDevMap()
1156 try (BpfMap<TetherDevKey, TetherDevValue> map = mDeps.getBpfDevMap()) { in dumpDevmap() argument
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java39 import com.android.networkstack.tethering.TetherDevKey;
93 private final BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
464 mBpfDevMap.updateEntry(new TetherDevKey(ifIndex), new TetherDevValue(ifIndex)); in addDevMap()
477 mBpfDevMap.deleteEntry(new TetherDevKey(ifIndex)); in removeDevMap()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java220 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
305 public BpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() {
1506 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule6()
1508 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule6()
1523 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(UPSTREAM_IFINDEX)), in testAddDevMapRule4()
1525 verify(mBpfDevMap).updateEntry(eq(new TetherDevKey(DOWNSTREAM_IFINDEX)), in testAddDevMapRule4()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java110 import com.android.networkstack.tethering.TetherDevKey;
191 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
347 public BpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() { in setUp()