android_packages_modules_Co.../service
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
..
aidl_api/connectivity_native_aidl_interface Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
binder/android/net/connectivity/aidl Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
jni Add startSkDestroyListener flag to native_init 2022-09-06 11:23:13 +09:00
mdns/com/android/server/connectivity/mdns Merge "Update nullness suppression bug number" 2022-08-23 09:53:53 +00:00
native Move Interface index name map dump to NetworkStatsService 2022-09-12 16:53:51 +09:00
proto Add SystemMessages protos to Connectivity 2021-03-18 20:04:52 +09:00
ServiceConnectivityResources Import translations. DO NOT MERGE ANYWHERE 2022-09-02 20:51:59 -07:00
src/com/android/server Notify NetworkStats only when interfaces changed in updateLinkProperties 2022-10-25 15:27:53 +08:00
Android.bp Merge "Use conventional args style for gen_jarjar" 2022-09-15 08:20:57 +00:00
jarjar-excludes.txt Add jarjar rules generator 2022-06-14 09:11:27 +00:00
proguard.flags Use jarjar rule generator for connectivity rules 2022-07-20 19:57:11 +09:00