android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 627b8c6d34 Add hidden API to register/unregister QUIC connection close payload
QUIC stack running on the app process will call this API and register
QUIC UDP socket and UDP payload that can close QUIC connection.

When the app loses network access (e.g. due to freezer or firewall
chain), ConnectivityService 1)destroys the registered UDP socket by
sending a SOCK_DESTROY netlink message and 2)sends the registered UDP
payload to the server. This prevents unnecessary modem wakeups caused
by packets from the server after the apps lose network access.

Additionally, to close QUIC connection for apps that crash or are
killed, ConnectivityService sends the registered UDP payload when it
receives a socket destroy diag message for the registered socket.

Bug: 311792075
Test: CSDestroySocketTest CtsNetTestCases
Change-Id: I6cd727bd8bb0fe1d17360edfa395f73d24da6920
2025-03-26 16:48:28 +09:00
..
aidl-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Use IntRange for setPsm 2025-01-08 15:48:16 -08:00
jni Add method to get socket cookie from socket FileDescriptor 2025-03-03 17:23:04 -08:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Add hidden API to register/unregister QUIC connection close payload 2025-03-26 16:48:28 +09:00
Android.bp Remove -stubs-including-flagged 2025-02-28 10:47:40 +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 Lint FlaggedApi violations 2024-06-20 09:05:51 +02:00