android_packages_modules_Co.../framework
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-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Revert^2 "Add blocked reason for internet permission" 2024-05-27 02:12:43 +00:00
jni Check whether kernel is for X86 via JNI 2024-02-09 19:13:07 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
Android.bp Reland cronet 121_0_6167_71: remove http_client_logging lib 2024-04-15 11:29:55 +00:00
jarjar-excludes.txt Add LocalNetworkInfo and send callbacks when it changes 2023-11-07 17:29:38 +09:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00