android_packages_modules_Co.../tests/unit/java
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
..
android Add CTS test for ConnectivityManager#tether exception after V 2025-02-07 12:42:12 +09:00
com/android Add hidden API to register/unregister QUIC connection close payload 2025-03-26 16:48:28 +09:00