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 fef111ce47 Add SkipNativeNetworkCreation flag in NetworkAgentConfig
This flag allows ConnectivityService to skip native network creation,
deferring this responsibility to Tethering. This is necessary because:

- ConnectivityService requires the NetworkAgent to be in the CONNECTED
  state to configure routing and invokes NetworkCallback#onAvailable
  once ready.
- Tethering requires lower-layer interactions to be completed before
  notifying applications.

This approach ensures proper synchronization between ConnectivityService
and Tethering during network setup.

Long-term, all netd operations should be handled by ConnectivityService
when it supports early native network creation in the CONNECTING state.

As a mid-term solution, this flag enables Tethering to manage native
network creation within the IpServer.

Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkAgentConfigTest
Bug: 349487600
Change-Id: I84da9c74dc4d40c7cd36c6657f17a158affed689
2024-12-11 15:22:36 +08:00
bpf Merge "Use unique_fd for usableProgram" into main 2024-11-22 20:28:36 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Add daily CertificateTransparencyJob 2024-11-21 14:54:50 +00:00
framework Add SkipNativeNetworkCreation flag in NetworkAgentConfig 2024-12-11 15:22:36 +08:00
framework-t Remove synchronized block for test only variable 2024-12-02 07:04:20 +00:00
nearby Add WRITE_ALLOWLISTED_DEVICE_CONFIG perm when modifying DeviceConfig 2024-11-18 23:28:24 -06:00
networksecurity Simplify the Android CT properties 2024-11-28 14:42:09 +00:00
remoteauth Merge "Use LazyLock rather than lazy_static macro." into main 2024-09-11 17:46:22 +00:00
service Import translations. DO NOT MERGE ANYWHERE 2024-11-26 06:00:10 -08:00
service-t Merge "Change ethernet enabled state from int to using boolean" into main 2024-11-28 04:26:46 +00:00
staticlibs Refactor netd utility methods to support custom netIds 2024-12-11 10:47:13 +08:00
tests Add SkipNativeNetworkCreation flag in NetworkAgentConfig 2024-12-11 15:22:36 +08:00
Tethering Refactor netd utility methods to support custom netIds 2024-12-11 10:47:13 +08:00
thread Merge "Add WRITE_ALLOWLISTED_DEVICE_CONFIG when modifying DeviceConfig" into main 2024-11-25 05:40:31 +00:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -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 Mark Martin as LAST_RESORT_SUGGESTION 2024-09-26 22:29:48 +00:00
OWNERS_core_networking_xts Add "no-op refactors" reviews for delegated reviewers 2024-06-20 06:29:09 +00:00
PREUPLOAD.cfg Enable builtin formatting hooks 2024-07-17 11:51:08 +09:00
TEST_MAPPING Add CtsNetTestCase as presubmit for automotive multi-user multi-display 2024-10-24 22:18:00 +00:00