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
Junyu Lai eb80e8ad9f Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK
MdnsSocketProvider expects no overlap between NetworkCallbacks,
Tethering, and Wifi P2P. However, local NetworkAgents can cause
overlap, leading to duplicate sockets. This commit fixes the issue by
skipping networks with NET_CAPABILITY_LOCAL_NETWORK.

Alternatively, the NetworkRequest should addForbiddenCapability
for local networks. However, since this is a module API, it is
not visible to standalone applications.

Flag: EXEMPT bug fix
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.mdns.MdnsSocketProviderTest \
      --update-device
Test: m service-connectivity-mdns-standalone-build-test
Test: atest CtsNetTestCases:android.net.cts.NsdManagerTest \
      CtsNetTestCases:android.net.cts.NsdManagerDownstreamTetheringTest
Bug: 437038495
Change-Id: I78dd7d98ad80147ca26ec6130b6081ef4efb2ecc
2025-08-14 20:44:36 +08:00
bpf BpfNetworkStats: introduce poor man's ifindex2name() cache 2025-08-12 20:39:20 -07:00
clatd clatd: remove DEVICEPREFIX single use define 2025-08-05 12:15:16 -07:00
common Merge "Use mainline beta flag for NetworkAgent event queueing" into main 2025-08-14 01:19:15 -07:00
framework Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent 2025-08-06 11:24:33 +08:00
framework-t Merge changes I12e4d492,I4c787e9c,I52a36ebb into main 2025-07-23 14:16:42 -07:00
nearby Revert "Introduce BLE advertiser wrapper for unit tests." 2025-07-31 14:49:58 -07:00
networksecurity Propagate system broadcast after log list install 2025-07-24 11:14:28 +00:00
remoteauth [owners] Remove derekjedral@google.com from remoteauth/OWNERS 2025-05-25 09:49:50 -07:00
service Merge "Use mainline beta flag for NetworkAgent event queueing" into main 2025-08-14 01:19:15 -07:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK 2025-08-14 20:44:36 +08:00
staticlibs Add ethertype constant for Wake-on-LAN 2025-08-13 14:48:18 -04:00
tests Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK 2025-08-14 20:44:36 +08:00
Tethering Merge "Tethering: pass the mtu we announce via RA into updateIpv6UpstreamInterface()" into main 2025-08-14 03:56:49 -07:00
thread Move #nativeWaitForService into CommonConnectivityJni 2025-08-06 10:44:39 -07:00
tools Add a tool to generate hidden module API lists 2025-04-24 09:05:08 +09:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -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 OWNERS: satk -> larsberg 2025-08-04 11:26:01 -07:00
OWNERS_core_networking_xts OWNERS: satk -> larsberg 2025-08-04 11:26:02 -07:00
PREUPLOAD.cfg Add alint hook to Connectivity repo 2025-05-30 11:36:49 +00:00
preupload_hook_script.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Add Wear TEST_MAPPING for Connectivity module 2025-07-15 23:05:13 -07:00