android_packages_modules_Co.../service
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_api/connectivity_native_aidl_interface Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
binder/android/net/connectivity/aidl Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
jni Merge "drop support for V gsi on pixel 5 R base kernel" 2023-05-03 19:25:39 +00:00
libconnectivity libconnectivity_native add null check 2023-03-14 17:45:03 -07:00
native Merge "clat: use AF_PACKET/SOCK_RAW not SOCK_DGRAM sockets" 2023-03-14 03:01:08 +00:00
proto Add SystemMessages protos to Connectivity 2021-03-18 20:04:52 +09:00
ServiceConnectivityResources Import translations. DO NOT MERGE ANYWHERE 2023-02-26 21:28:57 -08:00
src/com/android DO not throw exception for ERROR_NO_SUCH_SLOT error 2023-05-23 05:08:45 +00:00
Android.bp Use current shims in service-connectivity 2023-03-27 15:56:23 +09:00
jarjar-excludes.txt Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00
proguard.flags Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00