android_packages_modules_Co.../service
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 2fd3823cbc Only send callbacks when overridden
Most users of NetworkCallback do not override all methods, so callbacks
from ConnectivityService end up being unused by the app.

To save resources, check which callback methods are overridden in
ConnectivityManager, and inform ConnectivityService so it can skip
preparing and sending the corresponding binder calls when the callback
is not used by the app.

This is flagged off by default.

Test: flag enabled: atest CtsNetTestCases ConnectivityCoverageTests
Bug: 327038794
Bug: 279392981

Change-Id: Iaf490f416fb6e1437d40497fba1a40a899a9f523
2024-06-26 12:39:47 +09: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 NetBpfLoad: use exec path for api level 35+ (ie. V) 2024-04-15 02:13:56 -07:00
libconnectivity [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
native/libs/libclat [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
proto Add SystemMessages protos to Connectivity 2021-03-18 20:04:52 +09:00
ServiceConnectivityResources [Thread] add resourceoverlay config for vendor and model name 2024-03-18 20:13:37 +08:00
src/com/android Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
Android.bp Inform the DNS resolver of the interfaces in a network. 2024-04-17 23:05:14 +09:00
jarjar-excludes.txt Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00
lint-baseline.xml Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
proguard.flags Move the Thread proguard flags to ConnectivityService's proguard.flags 2024-01-26 09:14:53 +00:00