android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 2ed7d4182a Notify NetworkStats only when interfaces changed in updateLinkProperties
In ConnectivityService, updateLinkProperties calls NetworkStats
even though the ip address or interface name has not changed and
only the tcp buffer size has changed. This is noisy and could
be problematic when RAT change occurs frequently, since when
RAT changes tcp buffer size configuration also changes.

This CL also fixes a wrong nullability annotation where the oldLp
of updateLinkProperties could be null when updateNetworkInfo
is called.

Test: atest ConnectivityServiceTest#testStatsIfacesChanged
Fix: 232048480
Change-Id: Ic226eb4a8aa1f38cba293510813f1cb55f0ea658
2022-10-25 15:27:53 +08:00
..
connectivity Merge "Update VpnTest to handle teardown-on-network-lost" 2022-09-21 14:22:33 +00:00
ethernet Merge changes I0b88bc8b,I60d884db,I436858e7,Iaaace0e6,Ie7ee84c3, ... 2022-09-21 19:08:02 +00:00
net mUidCounterSetMap - key, which is uid, U32 -> S32 2022-09-17 01:54:19 +00:00
BpfNetMapsTest.java BpfNetMaps.java - array index U32 -> S32 2022-09-17 06:16:34 +00:00
ConnectivityServiceTest.java Notify NetworkStats only when interfaces changed in updateLinkProperties 2022-10-25 15:27:53 +08:00
IpSecServiceParameterizedTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00: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
NetworkManagementServiceTest.java Split updateMeteredNetwork{Allow, Deny}List into add and remove 2022-03-09 11:17:27 +08:00
NsdServiceTest.java Add null check for clientInfo 2022-08-16 07:21:55 +00:00
VpnManagerServiceTest.java Verify lock down related flows 2022-08-05 02:00:16 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00