No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ken Chen 375d780c8e Add SkDestroyListener log in dumpsys netstats
When sockets are destroyed, the SkDestroyListener receives a
NETLINK_INET_DIAG message informing it to delete the socket cookie from
the BPF CookieTagMap. However, under unknown conditions, all 10,000
spaces on the map were still observed to be filled. SkDestroyListener
and its parent classes, NetlinkMonitor, and FdEventsReader will log
errors. But due to the time required to fill the 10,000 fields is long,
traces in the device log are likely to have been overwritten and cannot
be observed.
This commit enables dumpsys netstats to print the last 20 traces of the
SkDestroyListener. If the issue is caused by the SkDestroyListener,
this will help in obtaining further clues when the issue is reported
again.

Bug: 306919485
Bug: 319348954
Test: atest FrameworksNetTests:android.net.connectivity.com.android.serv
      er.net.NetworkStatsServiceTest#testDumpSkDestroyListenerLogs
Test: manually add mLog.e(...) in
      SkDestroyListener#processNetlinkMessage and check dumpsys netstats
Change-Id: I5bbfe07e05cf959f809f28a7633ee5f99e29f641
2024-01-22 13:48:34 +08:00
bpf_progs New firewall chain for default background restrictions 2023-11-08 10:17:30 +00:00
clatd remove clatd OWNERS 2023-09-12 11:48:34 -07:00
common Remove TrunkStable.bp 2023-12-11 15:12:01 +09:00
Cronet Merge changes from topic "import_v121_0_6103_2" into main 2024-01-11 13:30:35 +00:00
DnsResolver Document more errno(s) on ADnsHelper_ API 2024-01-05 11:58:47 +00:00
framework Merge "Introduce NsdManager API for in-place service updates without re-announcement." into main 2023-12-27 08:26:54 +00:00
framework-t Stop registering native mdns service 2023-12-27 13:54:50 +00:00
nearby Uptesting is moving folks to /external/robolectric from /external/robolectric-shadows 2024-01-02 17:31:37 +00:00
netbpfload netbpfload: prep work to support <U 2023-10-25 18:40:53 +00:00
netd netdupdatable: add back abort() on init() fail 2023-12-22 09:39:46 +00:00
remoteauth Merge "Clean up obsolete aliases for Truth." into main am: 22d08770af am: 0cf04025c8 2023-10-10 00:16:25 +00:00
service Merge "Revert "Implement NetworkRequestsState atom"" into main 2024-01-12 05:18:49 +00:00
service-t Add SkDestroyListener log in dumpsys netstats 2024-01-22 13:48:34 +08:00
staticlibs Merge "Add missing libc++ includes" into main 2024-01-12 03:25:35 +00:00
tests Add SkDestroyListener log in dumpsys netstats 2024-01-22 13:48:34 +08:00
Tethering Merge "Migrate Tethering#dump to use runWithScissorsForDump" into main 2024-01-10 09:46:12 +00:00
thread Merge "[Thread] define flag thread_user_restriction_enabled" into main 2024-01-09 10:15:51 +00:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Adjust owners for incremental NsdManager changes 2023-08-18 14:49:34 +09:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Remove TrafficController 2023-11-07 20:25:24 +09:00