No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
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
bpf_progs Merge "Revert "bpf: offload.c - comment out CRITICAL mark"" into main 2024-04-25 00:34:04 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Revert^2 "Add blocked reason for internet permission" 2024-05-27 02:12:43 +00:00
Cronet Move Cronet's MTS/CTS to external/cronet 2024-05-02 11:54:56 +00:00
DnsResolver Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
framework Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
framework-t [mdns] simplify the validation check 2024-05-28 10:58:23 +00:00
nearby Bluetooth: Use enableRule instead of BTAdapterUtils 2024-05-14 00:43:15 +00:00
netbpfload move V+ kernel/arch/bitness checks from BpfHandler to NetBpfLoad 2024-06-02 22:28:35 +00:00
netd move V+ kernel/arch/bitness checks from BpfHandler to NetBpfLoad 2024-06-02 22:28:35 +00:00
remoteauth Switch to libjni_legacy 2024-05-15 23:47:49 +00:00
service Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
service-t Merge changes If3dbe234,Ia1299759 into main 2024-06-04 07:07:21 +00:00
staticlibs BpfSyscallWrappers: remove mapRetrieve() 2024-06-04 13:49:06 +00:00
tests Only send callbacks when overridden 2024-06-26 12:39:47 +09:00
Tethering Merge "Clatd: add dump raw BPF map support" into main 2024-05-31 08:11:44 +00:00
thread [Thread] enforce a timeout for waiting FTDs' output in integration tests 2024-06-03 03:04:56 +00:00
tools Update aospify_device for T device 2024-05-22 13:10:19 +09:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Update OWNERS to reflect reorg. 2024-04-10 23:24:14 +00:00
OWNERS_core_networking_xts xTS OWNERS: allow maze to +2 APF fw CTS tests 2024-03-12 02:42:59 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Move NetHttpCoverageTest to external/cronet TEST_MAPPING 2024-05-21 12:45:56 +00:00