android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 2857ac4dd0 Add bandwidth limiting to CS
Adds ingress rate limiting functionality to ConnectivityService. The tc
rate limit is installed before we tell netd about the interface, and
removed after the network is removed from netd. When the setting
changes, the old rate limit needs to be removed before a new one can be
added (unfortunately, we cannot use NLM_F_REPLACE when configuring the
tc-police filter).

Currently, this functionality is always enabled, but may or may not work
based on kernel support.

Bug: 157552970
Test: atest FrameworksNetTests:ConnectivityServiceTest
Change-Id: I4e64b2c40490f061e42b40a1b1b3a6618c3d1a87
2022-02-09 14:46:26 +01:00
..
connectivity Use RECEIVER_NOT_EXPORTED in CarrierPrivilegeAuthenticator. 2022-02-04 15:31:06 +09:00
net Merge "Fix kernelToTag import in NetworkStatsFactoryTest." 2022-01-31 13:35:30 +00:00
BpfNetMapsTest.java [NETD-TC#15] Make ConnectivityService and PermissionMonitor 2022-01-31 09:19:08 +01:00
ConnectivityServiceTest.java Add bandwidth limiting to CS 2022-02-09 14:46:26 +01:00
IpSecServiceParameterizedTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
IpSecServiceRefcountedResourceTest.java Change to use Dependencies in IpSecService Tests 2021-11-27 00:27:33 +08:00
IpSecServiceTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
LegacyTypeTrackerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Replace some netd calls in NetworkManagementService 2022-01-21 17:49:29 +08:00
NsdServiceTest.java Add APIs for discover/resolve on specific networks 2022-02-03 16:05:02 +09:00