Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetherDevValue.java24 public class TetherDevValue extends Struct { class
28 public TetherDevValue(final long ifIndex) { in TetherDevValue() method in TetherDevValue
H A 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()
/aosp12/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
H A DBpfCoordinatorShimImpl.java40 import com.android.networkstack.tethering.TetherDevValue;
93 private final BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
464 mBpfDevMap.updateEntry(new TetherDevKey(ifIndex), new TetherDevValue(ifIndex)); in addDevMap()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DBpfCoordinatorTest.java220 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
305 public BpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() {
1507 eq(new TetherDevValue(UPSTREAM_IFINDEX))); in testAddDevMapRule6()
1509 eq(new TetherDevValue(DOWNSTREAM_IFINDEX))); in testAddDevMapRule6()
1524 eq(new TetherDevValue(UPSTREAM_IFINDEX))); in testAddDevMapRule4()
1526 eq(new TetherDevValue(DOWNSTREAM_IFINDEX))); in testAddDevMapRule4()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
H A DIpServerTest.java111 import com.android.networkstack.tethering.TetherDevValue;
191 @Mock private BpfMap<TetherDevKey, TetherDevValue> mBpfDevMap;
347 public BpfMap<TetherDevKey, TetherDevValue> getBpfDevMap() { in setUp()