Searched refs:TetherLimitValue (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetherLimitValue.java | 24 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()
|
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 | 43 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/ |
D | bpf_tethering.h | 95 typedef uint64_t TetherLimitValue; // in bytes 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/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() { 522 new TetherLimitValue(quotaBytes)); in verifyTetherOffloadSetInterfaceQuota()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 114 import com.android.networkstack.tethering.TetherLimitValue; 190 @Mock private BpfMap<TetherLimitKey, TetherLimitValue> mBpfLimitMap; 342 public BpfMap<TetherLimitKey, TetherLimitValue> getBpfLimitMap() { in setUp()
|