android_packages_modules_Co.../Tethering
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
..
apex bpf: merge block.c into netd.c 2024-09-19 00:40:53 +00:00
apishim Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
common/TetheringLib Merge "Make java_sdk_library dependencies explicit" into main 2024-09-10 19:12:45 +00:00
jni remove dead register_com_android_networkstack_tethering_BpfUtils 2023-11-07 17:23:11 -08:00
res Import translations. DO NOT MERGE ANYWHERE 2024-08-06 15:20:29 -07:00
src Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
tests Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
Android.bp Prefer framework-annotations-lib dependency 2024-09-27 18:41:54 +00:00
AndroidManifest.xml Update design to fix non-protected broadcast from system issue 2023-02-20 02:33:35 +00:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags SyncSM10: explicitly keep TetheringUtils jni methods 2023-09-14 14:39:25 +00:00