Searched refs:TetherLimitKey (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetherLimitKey.java | 24 public class TetherLimitKey extends Struct { class 28 public TetherLimitKey(final long ifindex) { in TetherLimitKey() method in TetherLimitKey 37 if (!(obj instanceof TetherLimitKey)) return false; in equals() 39 final TetherLimitKey that = (TetherLimitKey) obj; in equals()
|
D | BpfCoordinator.java | 365 @Nullable public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { in getBpfLimitMap() 369 BpfMap.BPF_F_RDWR, TetherLimitKey.class, TetherLimitValue.class); in getBpfLimitMap()
|
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
D | BpfCoordinatorShimImpl.java | 42 import com.android.networkstack.tethering.TetherLimitKey; 89 private final BpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap; 296 mBpfLimitMap.updateEntry(new TetherLimitKey(ifIndex), new TetherLimitValue(newLimit)); in tetherOffloadSetInterfaceQuota() 343 mBpfLimitMap.deleteEntry(new TetherLimitKey(ifIndex)); in tetherOffloadGetAndClearStats()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 236 private final TestBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap = 237 spy(new TestBpfMap<>(TetherLimitKey.class, TetherLimitValue.class)); 300 public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { 521 verifyWithOrder(inOrder, mBpfLimitMap).updateEntry(new TetherLimitKey(ifIndex), in verifyTetherOffloadSetInterfaceQuota() 544 inOrder.verify(mBpfLimitMap).deleteEntry(new TetherLimitKey(ifIndex)); in verifyTetherOffloadGetAndClearStats()
|
/packages/modules/Connectivity/Tethering/bpf_progs/ |
D | bpf_tethering.h | 94 typedef uint32_t TetherLimitKey; // upstream ifindex typedef
|
D | offload.c | 95 DEFINE_BPF_MAP_GRW(tether_limit_map, HASH, TetherLimitKey, TetherLimitValue, 16, AID_NETWORK_STACK)
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 113 import com.android.networkstack.tethering.TetherLimitKey; 190 @Mock private BpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap; 342 public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { in setUp()
|