android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chiachang Wang d8474bb1cf Check target sockets by UID range
This commit optimizes the mechanism to examine the TCP sockets
based on the VPN UID range.

The automaticOnOffKeepalives will be paused/resumed by checking
the TCP sockets status on the VPN network. The existing design
considers all UIDs, not the UID ranges for the specific VPN
network. This may lead to an inaccurate judgement to not to
stop the keepalive even when there is no socket on the VPN
network.

This commit is also a part of follow-up work from aosp/2354202
to use structized class to parse the TCP sockets.

Bug: 311119352
Bug: 265877161
Test: atest FrameworksNetTests
Change-Id: I4a6b751cb904b9c18ed1df420cc880ea38022d6a
2023-12-26 05:22:00 +00:00
..
connectivity Check target sockets by UID range 2023-12-26 05:22:00 +00:00
connectivityservice Stop CarrierPrivilegeAuthenticator thread in tests 2023-11-20 14:31:32 +09:00
ethernet Connectivity Tests: join handler thread after calling quitSafely 2023-03-17 01:01:09 -07:00
net Ensure no thread leak after NetworkStatsServiceTest 2023-11-15 14:03:45 +08:00
BpfNetMapsTest.java Merge changes Ie1a36c3c,Id727cf7b,Ifba198d9 into main 2023-11-07 19:32:51 +00:00
ConnectivityServiceTest.java Merge changes I30f8814c,Ifdf67318,If312b8f8 into main 2023-11-20 06:55:04 +00:00
HandlerUtilsTest.kt Move dumpsys to handler thread 2023-10-17 17:16:04 +08:00
IpSecServiceParameterizedTest.java Require IPSEC_TUNNEL_MIGRATION feature flag to migrate transforms 2022-12-21 23:12:48 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Experimental support for IPv6 UDP encap. 2023-02-08 15:05:07 +09:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Fix the memory leak in nsd tests 2023-11-21 14:04:07 +08:00
VpnManagerServiceTest.java Update VPN tests to mock out createAttributionContext 2023-06-12 18:06:47 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00