android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
chiachangwang 75673ba502 DO not throw exception for ERROR_NO_SUCH_SLOT error
There are multiple independent reasons a keepalive can stop. Some
are software (e.g. the app stops the keepalive) and some are hardware
(e.g. the SIM card gets removed). Therefore, there is a very low
probability that both of these happen at the same time, which would
result in the first stop attempt returning SUCCESS and the second
stop attempt returning NO_SUCH_SLOT. Such a race condition can be
ignored with a log, not to crash the system. Change to wtf log so
that the issue could still be visible since this implies possible
bugs in the system.

Also update the javadoc for SocketKeepalive.ERROR_NO_SUCH_SLOT.

Bug: 281484381
Test: atest FrameworksNetTests
Change-Id: I316a2193fc7302b04e074ff0b03dc43946fe5ce6
2023-05-23 05:08:45 +00:00
..
aidl-export/android/net Merge history of ConnectivityT 2022-03-25 11:02:45 +00:00
api Move cronet to framework-connectivity 2023-04-19 11:32:12 +09:00
cronet_disabled/api Move cronet to framework-connectivity 2023-04-19 11:32:12 +09:00
jni switch to classic bpf macros 2023-04-19 00:06:15 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net DO not throw exception for ERROR_NO_SUCH_SLOT error 2023-05-23 05:08:45 +00:00
Android.bp Merge "switch to classic bpf macros" 2023-04-19 19:37:02 +00:00
jarjar-excludes.txt Move cronet to framework-connectivity 2023-04-19 11:32:12 +09:00