Home
last modified time | relevance | path

Searched refs:TetherLimitValue (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherLimitValue.java24 public class TetherLimitValue extends Struct { class
32 public TetherLimitValue(final long limit) { in TetherLimitValue() method in TetherLimitValue
41 if (!(obj instanceof TetherLimitValue)) return false; in equals()
43 final TetherLimitValue that = (TetherLimitValue) obj; in equals()
DBpfCoordinator.java365 @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/
DBpfCoordinatorShimImpl.java43 import com.android.networkstack.tethering.TetherLimitValue;
89 private final BpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap;
296 mBpfLimitMap.updateEntry(new TetherLimitKey(ifIndex), new TetherLimitValue(newLimit)); in tetherOffloadSetInterfaceQuota()
/packages/modules/Connectivity/Tethering/bpf_progs/
Dbpf_tethering.h95 typedef uint64_t TetherLimitValue; // in bytes typedef
Doffload.c95 DEFINE_BPF_MAP_GRW(tether_limit_map, HASH, TetherLimitKey, TetherLimitValue, 16, AID_NETWORK_STACK)
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java236 private final TestBpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap =
237 spy(new TestBpfMap<>(TetherLimitKey.class, TetherLimitValue.class));
300 public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() {
522 new TetherLimitValue(quotaBytes)); in verifyTetherOffloadSetInterfaceQuota()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java114 import com.android.networkstack.tethering.TetherLimitValue;
190 @Mock private BpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap;
342 public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { in setUp()