Track tethering active sessions counts

This commit implements the necessary counters to bookkeep
max connection count, which will be used in follow-up changes
to monitor and upload active tethering session metrics.

The feature is disabled by default and will be gradually
rolled out.

Test: atest TetheringTests:com.android.networkstack.tethering.BpfCoordinatorTest
Bug: 354619988
Change-Id: Iaf251b0ec08bde95c1b12df022db2e03179309de
This commit is contained in:
Junyu Lai 2024-09-02 16:18:24 +08:00
commit 06b81b6af3

View file

@ -54,6 +54,7 @@ java_defaults {
"src/**/*.java",
":framework-connectivity-shared-srcs",
":services-tethering-shared-srcs",
":statslog-connectivity-java-gen",
":statslog-tethering-java-gen",
],
static_libs: [