No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 3e90bc85b3 Simplify tethering active session counting
The previous implementation for tracking tethering active sessions
was overly complex. This commit simplifies the logic by:

- Moving the counting to the BpfCoordinatorShimImpl (31 impl)
  where rule addition and deletion are centralized.
- Eliminating the unnecessary Android version check (S+) as
  the 31 shim only runs on S+.
- Relocating the tracking counters from
  ConntrackEventConsumer to the shim class, improving code
  locality and encapsulation.

This change addresses the feedback from the networking mainline
release council and resolves a release blocker.

Test: atest TetheringTests:com.android.networkstack.tethering.BpfCoordinatorTest
Fix: 370652384
Change-Id: I70ca58fc45694c738745d7a872272641a62551fd
2024-10-03 16:04:56 +08:00
bpf Merge "KernelUtils.h: add 6.12 to isLtsKernel()." into main 2024-09-27 22:46:19 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common [Thread][API] add API for ephemeral key. 2024-09-29 02:35:44 +00:00
framework Merge "Fix comment" into main 2024-09-12 15:51:40 +00:00
framework-t [Thread][API] add API for ephemeral key. 2024-09-29 02:35:44 +00:00
nearby Add persist.bluetooth.finder.supported property 2024-09-23 09:41:36 +00:00
networksecurity Migrate CT namespace to "network_security" 2024-09-16 12:12:14 +00:00
remoteauth Merge "Use LazyLock rather than lazy_static macro." into main 2024-09-11 17:46:22 +00:00
service bpf: merge block.c into netd.c 2024-09-19 00:40:53 +00:00
service-t Fix deadlock from outside Perfetto mutex 2024-09-18 18:41:11 +00:00
staticlibs Support get multiple ipv4/ipv6 addresses in apf_utils 2024-09-27 06:55:54 +00:00
tests Merge "Fix the test flake in testRemoveServicesAfterSocketDestroyed" into main 2024-09-27 06:31:38 +00:00
Tethering Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
thread [Thread] Add unit test for ephemeral key API 2024-09-29 02:35:51 +00:00
tools Update aospify_device for T device 2024-05-22 13:10:19 +09:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Mark Martin as LAST_RESORT_SUGGESTION 2024-09-26 22:29:48 +00:00
OWNERS_core_networking_xts Add "no-op refactors" reviews for delegated reviewers 2024-06-20 06:29:09 +00:00
PREUPLOAD.cfg Enable builtin formatting hooks 2024-07-17 11:51:08 +09:00
TEST_MAPPING Add CtsHostsideNetworkTests to postsubmit. 2024-09-09 20:03:03 +09:00