android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu 3ad5d4c348 Fix extra callbacks sent when the timer expires
Several extra callbacks are sent after the first timer expiration
notification. This occurs because data from the FileDescriptor
must be read after the timer expires. Otherwise, expiration
callbacks will continue to be sent, notifying of unread data.

This change also adds TFD_NONBLOCK to timerfd creation to ensure
reading safety.

Test: Manually verify that the callback is sent only once
Change-Id: I30559ed93d0a742b98a58d33d83723f7a155fbd9
2025-01-17 06:39:48 +00:00
..
client-libs Fix missing network id arguments 2024-12-16 11:27:32 +08:00
device Fix extra callbacks sent when the timer expires 2025-01-17 06:39:48 +00:00
framework/com/android/net/module/util Log and report terrible errors for improved debugging and tracking 2025-01-07 16:18:55 +09:00
native Fix extra callbacks sent when the timer expires 2025-01-17 06:39:48 +00:00
netd libnetdutils: avoid deque<const T> 2024-06-28 00:52:39 -07:00
tests/unit Rename net_utils_device_common_timerfdjni to serviceconnectivityjni 2025-01-16 14:28:13 -08:00
testutils Add 'automotive-general-tests' to the CtsNetTestCases dependencies 2025-01-16 15:25:33 -08:00
Android.bp Modify apex_available to Bluetooth apex 2025-01-09 12:25:16 -08:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-07-08 10:20:58 +00:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00